amule 2.2.2

Piergiorgio Sartor <[email protected]> Thu, 21 Aug 2008 21:12:10 +0200
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi all,

to whoever is interested, here is attached the
spec file for amule 2.2.2.

It is basically the same as 2.2.1, only new
version and one warning removal.

bye,

-- 

piergiorgio

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="amule.spec"

# $Id: amule.spec 5464 2007-05-31 13:20:07Z thias $
# Authority: matthias

#define prever rc8

Summary: Client for ED2K Peer-to-Peer Networks based on eMule
Name: amule
Version: 2.2.2
Release: 1%{?prever:.%{prever}}.f9
License: GPL
Group: Applications/Internet
URL: http://www.amule.org/
Source0: aMule-%{version}%{?prever}.tar.bz2
Source1: emule_logo.png
Source2: cryptopp552.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++, wxGTK-devel >= 2.6.0, zlib-devel, gettext-devel
BuildRequires: flex, bison, GeoIP-devel

%description
aMule is an easy to use multi-platform client for ED2K Peer-to-Peer Network.
It is originally based on eMule, the popular windows-only client for the
same network.

%prep
%setup -q -n aMule-%{version}%{?prever}
%{__mkdir} cryptopp
cd cryptopp
%{__unzip} %{SOURCE2}

%build
cd cryptopp
%{__make} libcryptopp.a CXXFLAGS="$CXXFLAGS"
# Dummy exe for install
> dummy.exe
%{__make} install PREFIX=.
cd ..
%configure \
    --disable-debug \
    --enable-optimize \
    --enable-alc \
    --enable-alcc \
    --enable-cas \
    --enable-wxcas \
    --enable-amuleweb \
    --enable-amuled \
    --enable-amulecmd \
    --enable-webserver \
    --enable-geoip \
    --with-crypto-prefix=%{_builddir}/aMule-%{version}%{?prever}/cryptopp

%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot} _docs
%{__make} install DESTDIR=%{buildroot}
%find_lang %{name}
# Move the docs back to be included with %%doc
%{__mv} %{buildroot}%{_defaultdocdir}/aMule-* _docs
# Fix encoding of the desktop entry
for file in %{buildroot}%{_datadir}/applications/*.desktop; do
    iconv -f ISO8859-1 -t UTF-8 -o tmp.desktop ${file}
    %{__mv} tmp.desktop ${file}
done
# Replace xpm icon with our png one
%{__rm} -f %{buildroot}%{_datadir}/pixmaps/amule.xpm
%{__install} -p -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/amule.png
%{__perl} -pi -e 's|amule.xpm|amule.png|g' \
    %{buildroot}%{_datadir}/applications/*.desktop
%{__chmod} 0755 %{buildroot}%{_libdir}/xchat/plugins/xas.pl

%post
update-desktop-database -q 2>/dev/null || :

%postun
update-desktop-database -q 2>/dev/null || :

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc _docs/*
%{_bindir}/*
%{_libdir}/xchat/plugins/xas.pl
%{_datadir}/applications/*.desktop
%{_datadir}/amule/webserver/*
%{_datadir}/cas/
%{_datadir}/pixmaps/wxcas.xpm
%{_datadir}/pixmaps/alc.xpm
%{_datadir}/pixmaps/amule.png
%{_datadir}/amule/skins/
%lang(de) %{_mandir}/de/man1/*.1*
%lang(es) %{_mandir}/es/man1/*.1*
%lang(fr) %{_mandir}/fr/man1/*.1*
%lang(hu) %{_mandir}/hu/man1/*.1*
%lang(eu) %{_mandir}/eu/man1/*.1*
%{_mandir}/man1/*.1*

%changelog
* Sat Aug  9 2008 Piergiorgio Sartor 2.2.2-1
- Update to 2.2.2 for Fedora 9

* Sat Jun 14 2008 Piergiorgio Sartor 2.2.1-2
- Update to 2.2.1 for Fedora 9
- Embedded cryptocpp-5.2.2

* Fri Apr 25 2008 Piergiorgio Sartor 2.1.3-5
- Added patch for open
- Added patch for GIF decoding

* Wed May 30 2007 Matthias Saou <http://freshrpms.net/> 2.1.3-3
- Include patch to rebuild against wxGTK 2.8 (F7).

* Wed Nov 15 2006 Matthias Saou <http://freshrpms.net/> 2.1.3-2
- Remove all of the alternatives stuff.
- Replace the default (ugly) icon with a much nicer transparent png one.
  Haven't found any nicer replacement for alc.xpm, though.

* Mon Jun 12 2006 Matthias Saou <http://freshrpms.net/> 2.1.3-1
- Update to 2.1.3.

* Mon May 29 2006 Matthias Saou <http://freshrpms.net/> 2.1.2-1
- Update to 2.1.2.

* Sat Mar 18 2006 Matthias Saou <http://freshrpms.net/> 2.1.1-1
- Update to 2.1.1.

* Mon Jan  9 2006 Matthias Saou <http://freshrpms.net/> 2.1.0-1
- Update to 2.1.0.
- Add flex build requirement (optional, and FC4's version it too old anyway).
- Clean up no longer needed build requirements (many!).

* Mon Nov 28 2005 Matthias Saou <http://freshrpms.net/> 2.0.3-2
- Change build requirement s/wxGTK2/wxGTK/.

* Tue Aug  2 2005 Matthias Saou <http://freshrpms.net/> 2.0.3-1
- Update to 2.0.3.

* Wed May 18 2005 Matthias Saou <http://freshrpms.net/> 2.0.1-1
- Update to 2.0.1.
- Change gettext to gettext-devel, since autopoint is required.

* Wed May  4 2005 Matthias Saou <http://freshrpms.net/> 2.0.0-1
- Update to 2.0.0 final.
- Add new man pages.
- Explicitly enable alc, as it no longer gets built otherwise.

* Wed Feb  2 2005 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc8.3
- Really fix the UTF-8 alc.desktop problem... it was converted to stdout.

* Thu Jan 13 2005 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc8.2
- Add update-desktop-database calls and convert desktop entry to UTF-8.

* Mon Jan  3 2005 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc8.1
- Update to 2.0.0rc8.

* Fri Nov 19 2004 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc7.3
- Disable external cryptopp usage, it's a mess :-(

* Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc7.2
- Disable embedded crypto to use external cryptopp.
- Add gd-progs and gd-devel build dep for gdlib-config to be found.
- Enable UTF8 systray text.
- Enable alcc (aMule link creator for console).

* Tue Nov  2 2004 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc7.1
- Update to 2.0.0rc7.

* Fri Jul 30 2004 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc5.1
- Add "|| :" to alternatives calls to ignore error return codes.

* Wed Jul 21 2004 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc5.1
- Update to 2.0.0rc5.

* Thu Jul 15 2004 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc4a.1
- Update to 2.0.0rc4a.

* Tue Jul 13 2004 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc4.1
- Update to 2.0.0rc4.
- Add workaround for installed docs.

* Mon May  3 2004 Matthias Saou <http://freshrpms.net/> 2.0.0-0.rc3.1
- Update to 2.0.0rc3.

* Tue Feb 17 2004 Matthias Saou <http://freshrpms.net/> 1.2.6-1.fr
- Update to 1.2.6.

* Tue Feb 10 2004 Matthias Saou <http://freshrpms.net/> 1.2.5-1.fr
- Update to 1.2.5.

* Mon Jan 12 2004 Matthias Saou <http://freshrpms.net/> 1.2.4-2.fr
- Added alternatives support for the ed2k binary between amule and xmule.

* Sun Jan 11 2004 Matthias Saou <http://freshrpms.net/> 1.2.4-1.fr
- Initial RPM package.


--T4sUOijqQbZv57TR--