]> git.pld-linux.org Git - packages/aMule.git/blame - aMule.spec
- release 2
[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
62caab2a 4Version: 2.2.6
df17c46b 5Release: 2
fce15251 6License: GPL
7Group: X11/Applications
62a925d0 8Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.bz2
62caab2a 9# Source0-md5: 530d9b48187e36f78fc21bb19e94326d
803b9a93 10Patch0: %{name}-desktop.patch
11Patch1: %{name}-cas-datadir.patch
62caab2a 12Patch2: %{name}-ac.patch
fad345eb 13URL: http://www.amule.org/
803b9a93 14BuildRequires: GeoIP-devel
fce15251 15BuildRequires: autoconf
9667e5a4 16BuildRequires: automake >= 1:1.7.3
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
62caab2a 84%patch2 -p1
fce15251 85
86%build
df08d9a2 87%{__aclocal} -I m4
6180003f
AA
88%{__autoconf}
89%{__autoheader}
90%{__automake}
fce15251 91%configure \
b418bd65 92 --with-wx-config=wx-gtk2-unicode-config \
817b67c8 93 --%{?debug:en}%{!?debug:dis}able-debug \
b418bd65 94 --%{?debug:dis}%{!?debug:en}able-optimize \
817b67c8 95 --enable-amule-daemon \
b418bd65 96 --enable-amule-gui \
5c4f96f7 97 --enable-amulecmd \
5c4f96f7 98 --enable-webserver \
817b67c8 99 --enable-cas \
100 --enable-wxcas \
101 --enable-alc \
b418bd65 102 --enable-alcc \
803b9a93 103 --enable-geoip
8df3342a 104
105######################################################################################
106# UGLY UGLY BAD BAD BAD !!!!!
107# This should be fixable in another way
108sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/skins/Makefile
109sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/litoral/Makefile
110sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/chicane/Makefile
111sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/default/Makefile
112sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/php-default/Makefile
113sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/cas/Makefile
114sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/aLinkCreator/Makefile
115sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/xas/Makefile
116sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/wxCas/Makefile
117######################################################################################
fce15251 118%{__make}
119
120%install
121rm -rf $RPM_BUILD_ROOT
122
123%{__make} install \
124 DESTDIR=$RPM_BUILD_ROOT
488ce0ff 125
4b1746a4 126install src/utils/xas/xas.pl $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
127install {amule.desktop,amulegui.desktop,src/utils/aLinkCreator/alc.desktop,src/utils/wxCas/wxcas.desktop} $RPM_BUILD_ROOT%{_desktopdir}
128install {amule.xpm,amulegui.xpm,src/utils/aLinkCreator/alc.xpm,src/utils/wxCas/wxcas.xpm} $RPM_BUILD_ROOT%{_pixmapsdir}
129
adaa75cf 130mv -f $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,}
131mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,}
132mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
7cad848b 133rm -fr $RPM_BUILD_ROOT%{_docdir}/amule
134rm -fr $RPM_BUILD_ROOT%{_mandir}/eu
6180003f 135%find_lang amule
2ef37d7f 136
fce15251 137%clean
138rm -rf $RPM_BUILD_ROOT
139
6180003f 140%files -f amule.lang
fce15251 141%defattr(644,root,root,755)
7cad848b 142%doc docs/AUTHORS docs/EC_Protocol.txt docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt
143%attr(755,root,root) %{_bindir}/autostart-xas
0e64ca48 144%attr(755,root,root) %{_bindir}/amule*
b05c9f73 145%attr(755,root,root) %{_bindir}/ed2k
cf8e3572 146%dir %{_datadir}/amule
cf8e3572 147%{_datadir}/amule/webserver
803b9a93 148%{_datadir}/amule/skins
0e64ca48 149%{_desktopdir}/amule.desktop
803b9a93 150%{_desktopdir}/amulegui.desktop
0e64ca48 151%{_pixmapsdir}/amule.xpm
803b9a93 152%{_pixmapsdir}/amulegui.xpm
0e64ca48
RK
153%{_mandir}/man1/amule*
154%{_mandir}/man1/ed2k*
155%{_mandir}/man1/xas*
156%lang(de) %{_mandir}/de/man1/amule*
157%lang(de) %{_mandir}/de/man1/ed2k*
158%lang(de) %{_mandir}/de/man1/xas*
159%lang(es) %{_mandir}/es/man1/amule*
160%lang(es) %{_mandir}/es/man1/ed2k*
161%lang(es) %{_mandir}/es/man1/xas*
162%lang(fr) %{_mandir}/fr/man1/amule*
163%lang(fr) %{_mandir}/fr/man1/ed2k*
164%lang(hu) %{_mandir}/hu/man1/amule*
165%lang(hu) %{_mandir}/hu/man1/ed2k*
166%lang(hu) %{_mandir}/hu/man1/xas*
8df3342a 167%lang(it) %{_mandir}/it/man1/amule*
168%lang(it) %{_mandir}/it/man1/ed2k*
0e64ca48
RK
169
170%files plugin-xchat
357aceee 171%defattr(644,root,root,755)
0e64ca48
RK
172%{_libdir}/xchat/plugins/xas.pl
173
174%files alc
357aceee
JB
175%defattr(644,root,root,755)
176%attr(755,root,root) %{_bindir}/alc*
0e64ca48
RK
177%{_desktopdir}/alc.desktop
178%{_pixmapsdir}/alc.xpm
179%{_mandir}/man1/alc*
180%lang(de) %{_mandir}/de/man1/alc*
181%lang(es) %{_mandir}/es/man1/alc*
182%lang(fr) %{_mandir}/fr/man1/alc*
183%lang(hu) %{_mandir}/hu/man1/alc*
184
0e64ca48 185%files cas
357aceee
JB
186%defattr(644,root,root,755)
187%attr(755,root,root) %{_bindir}/*cas
0e64ca48
RK
188%{_datadir}/amule/cas
189%{_desktopdir}/*cas.desktop
190%{_pixmapsdir}/wxcas.xpm
191%{_mandir}/man1/*cas*
192%lang(de) %{_mandir}/de/man1/*cas*
193%lang(es) %{_mandir}/es/man1/*cas*
194%lang(hu) %{_mandir}/hu/man1/*cas*
This page took 0.077826 seconds and 4 git commands to generate.