]> git.pld-linux.org Git - packages/aMule.git/blame - aMule.spec
- aMule build requires automake in particular version
[packages/aMule.git] / aMule.spec
CommitLineData
fce15251 1Summary: Unix port of eMule client
2271ee3f 2Summary(pl.UTF-8): Uniksowy port klienta eMule
fce15251 3Name: aMule
4b1746a4 4Version: 2.2.5
9d744a7e 5Release: 3
fce15251 6License: GPL
7Group: X11/Applications
62a925d0 8Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.bz2
4b1746a4 9# Source0-md5: d26048f8e00a1ca801b3b41156b4268d
803b9a93 10Patch0: %{name}-desktop.patch
11Patch1: %{name}-cas-datadir.patch
fad345eb 12URL: http://www.amule.org/
803b9a93 13BuildRequires: GeoIP-devel
fce15251 14BuildRequires: autoconf
9d744a7e 15BuildRequires: automake < 1:1.11
16BuildRequires: automake > 1:1.9
7a479686 17BuildRequires: binutils-devel
fce15251 18BuildRequires: bison
803b9a93 19BuildRequires: cryptopp-devel >= 5.1
f46f2e7c 20BuildRequires: curl-devel >= 7.9.7
fce15251 21BuildRequires: expat-devel
5c4f96f7 22BuildRequires: gd-devel
251a1e8e 23BuildRequires: gettext-autopoint
4b1746a4 24BuildRequires: gettext-devel >= 0.11.5
04cb85df 25BuildRequires: gtk+2-devel >= 2:2.2.0
5c4f96f7 26BuildRequires: libpng-devel
fce15251 27BuildRequires: libstdc++-devel
b418bd65 28BuildRequires: wxGTK2-unicode-devel
8528c3bf 29BuildRequires: xorg-lib-libXpm-devel
fce15251 30Requires: wget
3be09a77 31Obsoletes: lmule
e3a76a47 32Obsoletes: xmule
fce15251 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
06a2ef63 36aMule is a Linux port of eMule client.
fce15251 37
85204cb1 38%description -l pl.UTF-8
06a2ef63 39aMule to linuksowy port klienta eMule.
fce15251 40
0e64ca48
RK
41%package plugin-xchat
42Summary: Xchat plugin
2271ee3f 43Summary(pl.UTF-8): Wtyczka dla xchat
0e64ca48 44Group: X11/Applications
dc60aead 45Requires: %{name} = %{version}-%{release}
0e64ca48
RK
46Provides: %{name}-plugin-xchat
47
48%description plugin-xchat
49Plugin for Xchat IRC client.
50
85204cb1 51%description plugin-xchat -l pl.UTF-8
0e64ca48
RK
52Wtczka dla klienta IRC xchat.
53
54%package alc
55Summary: Ed2k link creator for aMule
2271ee3f 56Summary(pl.UTF-8): Kreator linków ed2k dla aMule
0e64ca48 57Group: X11/Applications
dc60aead 58Requires: %{name} = %{version}-%{release}
0e64ca48
RK
59Provides: alc
60
61%description alc
62Tool for creating ed2k links.
63
85204cb1
JR
64%description alc -l pl.UTF-8
65Narzędzie do tworzenia linków ed2k.
0e64ca48
RK
66
67%package cas
68Summary: aMule online stats
2271ee3f 69Summary(pl.UTF-8): Statystyki online aMule
0e64ca48 70Group: X11/Applications
dc60aead 71Requires: %{name} = %{version}-%{release}
0e64ca48
RK
72Provides: cas
73
74%description cas
75Tool for generating aMule online stats.
76
85204cb1
JR
77%description cas -l pl.UTF-8
78Narzędzie do generownia statystyk aMule.
0e64ca48 79
fce15251 80%prep
ea408d75 81%setup -q
6180003f 82%patch0 -p1
e3a76a47 83%patch1 -p1
fce15251 84
85%build
df08d9a2 86%{__aclocal} -I m4
6180003f
AA
87%{__autoconf}
88%{__autoheader}
89%{__automake}
fce15251 90%configure \
b418bd65 91 --with-wx-config=wx-gtk2-unicode-config \
817b67c8 92 --%{?debug:en}%{!?debug:dis}able-debug \
b418bd65 93 --%{?debug:dis}%{!?debug:en}able-optimize \
817b67c8 94 --enable-amule-daemon \
b418bd65 95 --enable-amule-gui \
5c4f96f7 96 --enable-amulecmd \
5c4f96f7 97 --enable-webserver \
817b67c8 98 --enable-cas \
99 --enable-wxcas \
100 --enable-alc \
b418bd65 101 --enable-alcc \
803b9a93 102 --enable-geoip
fce15251 103%{__make}
104
105%install
106rm -rf $RPM_BUILD_ROOT
107
108%{__make} install \
109 DESTDIR=$RPM_BUILD_ROOT
488ce0ff 110
4b1746a4 111install src/utils/xas/xas.pl $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
112install {amule.desktop,amulegui.desktop,src/utils/aLinkCreator/alc.desktop,src/utils/wxCas/wxcas.desktop} $RPM_BUILD_ROOT%{_desktopdir}
113install {amule.xpm,amulegui.xpm,src/utils/aLinkCreator/alc.xpm,src/utils/wxCas/wxcas.xpm} $RPM_BUILD_ROOT%{_pixmapsdir}
114
adaa75cf 115mv -f $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,}
116mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,}
117mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
7cad848b 118rm -fr $RPM_BUILD_ROOT%{_docdir}/amule
119rm -fr $RPM_BUILD_ROOT%{_mandir}/eu
6180003f 120%find_lang amule
2ef37d7f 121
fce15251 122%clean
123rm -rf $RPM_BUILD_ROOT
124
6180003f 125%files -f amule.lang
fce15251 126%defattr(644,root,root,755)
7cad848b 127%doc docs/AUTHORS docs/EC_Protocol.txt docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt
128%attr(755,root,root) %{_bindir}/autostart-xas
0e64ca48 129%attr(755,root,root) %{_bindir}/amule*
b05c9f73 130%attr(755,root,root) %{_bindir}/ed2k
cf8e3572 131%dir %{_datadir}/amule
cf8e3572 132%{_datadir}/amule/webserver
803b9a93 133%{_datadir}/amule/skins
0e64ca48 134%{_desktopdir}/amule.desktop
803b9a93 135%{_desktopdir}/amulegui.desktop
0e64ca48 136%{_pixmapsdir}/amule.xpm
803b9a93 137%{_pixmapsdir}/amulegui.xpm
0e64ca48
RK
138%{_mandir}/man1/amule*
139%{_mandir}/man1/ed2k*
140%{_mandir}/man1/xas*
141%lang(de) %{_mandir}/de/man1/amule*
142%lang(de) %{_mandir}/de/man1/ed2k*
143%lang(de) %{_mandir}/de/man1/xas*
144%lang(es) %{_mandir}/es/man1/amule*
145%lang(es) %{_mandir}/es/man1/ed2k*
146%lang(es) %{_mandir}/es/man1/xas*
147%lang(fr) %{_mandir}/fr/man1/amule*
148%lang(fr) %{_mandir}/fr/man1/ed2k*
149%lang(hu) %{_mandir}/hu/man1/amule*
150%lang(hu) %{_mandir}/hu/man1/ed2k*
151%lang(hu) %{_mandir}/hu/man1/xas*
152
153%files plugin-xchat
357aceee 154%defattr(644,root,root,755)
0e64ca48
RK
155%{_libdir}/xchat/plugins/xas.pl
156
157%files alc
357aceee
JB
158%defattr(644,root,root,755)
159%attr(755,root,root) %{_bindir}/alc*
0e64ca48
RK
160%{_desktopdir}/alc.desktop
161%{_pixmapsdir}/alc.xpm
162%{_mandir}/man1/alc*
163%lang(de) %{_mandir}/de/man1/alc*
164%lang(es) %{_mandir}/es/man1/alc*
165%lang(fr) %{_mandir}/fr/man1/alc*
166%lang(hu) %{_mandir}/hu/man1/alc*
167
0e64ca48 168%files cas
357aceee
JB
169%defattr(644,root,root,755)
170%attr(755,root,root) %{_bindir}/*cas
0e64ca48
RK
171%{_datadir}/amule/cas
172%{_desktopdir}/*cas.desktop
173%{_pixmapsdir}/wxcas.xpm
174%{_mandir}/man1/*cas*
175%lang(de) %{_mandir}/de/man1/*cas*
176%lang(es) %{_mandir}/es/man1/*cas*
177%lang(hu) %{_mandir}/hu/man1/*cas*
This page took 0.092208 seconds and 4 git commands to generate.