Hi Bill,
I am very unsatisfied with rpm packaging of gaim-encryption plugin. It
really prevent spreading the plugin.
There is my proposed rpm spec template at the end of the message. You
can place it in the source or the contrib directory.
The spec file is designed for the latest Fedora distribution but it
should fit also the latest Redhat and several other rpm distributions.
Please, consider making necessary changes to update the template via the
configure script (version, changelog).
Lubos
--- gaim-encryption.spec --------------------
# fedora/redhat rpm spec file template
# by Lubos Stanek <lu...@us...>
%define gaimver %(rpm -q gaim --qf "%%{version}")
%define gaimreqver %(rpm -q gaim --qf "%%{name} = %%{epoch}:%%{version}")
%define mozreqver %(rpm -q mozilla --qf "%%{name} = %%{epoch}:%%{version}")
%define moznssreqver %(rpm -q mozilla-nss --qf "%%{name} =
%%{epoch}:%%{version}")
Summary: An encryption plugin for Gaim
Name: gaim-encryption
Version: 2.35
Release: %{gaimver}.1
License: GPL
Group: Applications/Internet
URL: http://gaim-encryption.sourceforge.net/
Source0:
ftp://ftp.sourceforge.net/pub/sourceforge/gaim-encryption/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel, mozilla-nss-devel, mozilla-nspr-devel
Requires: %{gaimreqver}
Requires: %{mozreqver}
Requires: %{moznssreqver}
Prefix: %{_prefix}
%description
Encryption support for Gaim. Gaim-Encryption uses NSS to provide
transparent RSA encryption as a Gaim plugin.
%prep
%setup -q
%build
%configure
%{__make} %{?_smp_mflags}
%install
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
%doc ABOUT-NLS COPYING CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
%{_libdir}/gaim/encrypt.a
%exclude %{_libdir}/gaim/encrypt.la
%{_libdir}/gaim/encrypt.so
%changelog
* Sun Feb 27 2005 Bill Tompkins <ob...@us...> - 2.35
- Workaround for Jabber bug in Gaim
- RPM changelog stripped
* Mon Jan 24 2005 - 2.34
- Bugfix for crash with old key files
* Sat Jan 15 2005 Bill Tompkins <ob...@us...> - 2.33
- Added better key dialogs
- Bugfix for mangled incoming keys (Miah Gregory)
- Bugfix in name escaping code that affected Meanwhile users
- Hungarian translation added (Peter Tutervai)
- Czech translation added (Lubos Stanek)
- Chinese (trad) translation added (Tim Hsu)
- Russian translation added (Roman Sosenko)
- Ukranian translation added (Roman Sosenko)
* Sat Oct 16 2004 Bill Tompkins <ob...@us...> - 2.32
- Slovenian translation added (Martin Srebotnjak)
- Portugese translation added (Aury Fink Filho)
- Workaround for Debian not supporting NSS
- No debug output in unload to avoid Win32 crash on exit.
* Sat Sep 18 2004 Bill Tompkins <ob...@us...> - 2.31
- Dutch translation added (Menno Jonkers)
- Japanese translation added (Takeshi AIHANA)
- Italian translation added (Giacomo Succi)
- Danish translation added (Morten Brix Pedersen)
- Spanish translation added (Javier Fernndez-Sanguino Pea)
- Changes to track the Gaim API (thanks Giacomo Succi, JP LaFleur,
and Daniel Caujolle-Bert)
* Thu Aug 26 2004 Bill Tompkins <ob...@us...> - 2.30
- Gaim API tracking in button code (Stu Tomlinson)
- Bugfix for plugin unloading (Stu Tomlinson)
- Fix for translation in prefs strings (pre-plugin load)
* Fri Aug 13 2004 Bill Tompkins <ob...@us...> - 2.29
- Polish translation added (Marek Habersack)
- German translation added (Karim Malhas)
* Thu Jul 8 2004 Bill Tompkins <ob...@us...> - 2.28
- French translation added (Davy Defaud)
- Fixes for Gaim 0.80 API (Daniel Atallah)
- Bugfix for improper HTML-izing of unencrypted messages
* Fri Jun 25 2004 Bill Tompkins <ob...@us...> - 2.27
- Changes for Gaim 0.79 API.
- Minor bugfixes
* Mon May 31 2004 Bill Tompkins <ob...@us...> - 2.26
- New lock icons
- Auto-enlarge the default IM window size if plugin has never
been loaded before
- Don't put icons on chat windows
- Fixes to make compatible with Gaim 0.78 BList API changes
(Courtesy of Stu Tomlinson)
- Fix to make more compatible with other plugins
(Courtesy of Casey Ho)
- Added MSN message length limit.
|