1 Summary: Unix port of eMule client
2 Summary(pl.UTF-8): Uniksowy port klienta eMule
7 Group: X11/Applications
8 Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.bz2
9 # Source0-md5: 530d9b48187e36f78fc21bb19e94326d
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-cas-datadir.patch
12 Patch2: %{name}-ac.patch
13 URL: http://www.amule.org/
14 BuildRequires: GeoIP-devel
15 BuildRequires: autoconf
16 BuildRequires: automake >= 1:1.7.3
17 BuildRequires: binutils-devel
19 BuildRequires: cryptopp-devel >= 5.1
20 BuildRequires: curl-devel >= 7.9.7
21 BuildRequires: expat-devel
22 BuildRequires: gd-devel
23 BuildRequires: gettext-autopoint
24 BuildRequires: gettext-devel >= 0.11.5
25 BuildRequires: gtk+2-devel >= 2:2.2.0
26 BuildRequires: libpng-devel
27 BuildRequires: libstdc++-devel
28 BuildRequires: pkgconfig
29 BuildRequires: wxGTK2-unicode-devel
30 BuildRequires: xorg-lib-libXpm-devel
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 aMule is a Linux port of eMule client.
39 %description -l pl.UTF-8
40 aMule to linuksowy port klienta eMule.
44 Summary(pl.UTF-8): Wtyczka dla xchat
45 Group: X11/Applications
46 Requires: %{name} = %{version}-%{release}
47 Provides: %{name}-plugin-xchat
49 %description plugin-xchat
50 Plugin for Xchat IRC client.
52 %description plugin-xchat -l pl.UTF-8
53 Wtczka dla klienta IRC xchat.
56 Summary: Ed2k link creator for aMule
57 Summary(pl.UTF-8): Kreator linków ed2k dla aMule
58 Group: X11/Applications
59 Requires: %{name} = %{version}-%{release}
63 Tool for creating ed2k links.
65 %description alc -l pl.UTF-8
66 Narzędzie do tworzenia linków ed2k.
69 Summary: aMule online stats
70 Summary(pl.UTF-8): Statystyki online aMule
71 Group: X11/Applications
72 Requires: %{name} = %{version}-%{release}
76 Tool for generating aMule online stats.
78 %description cas -l pl.UTF-8
79 Narzędzie do generownia statystyk aMule.
93 --with-wx-config=wx-gtk2-unicode-config \
94 --%{?debug:en}%{!?debug:dis}able-debug \
95 --%{?debug:dis}%{!?debug:en}able-optimize \
96 --enable-amule-daemon \
106 ######################################################################################
107 # UGLY UGLY BAD BAD BAD !!!!!
108 # This should be fixable in another way
109 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/skins/Makefile
110 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/litoral/Makefile
111 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/chicane/Makefile
112 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/default/Makefile
113 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/php-default/Makefile
114 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/cas/Makefile
115 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/aLinkCreator/Makefile
116 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/xas/Makefile
117 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/wxCas/Makefile
118 ######################################################################################
122 rm -rf $RPM_BUILD_ROOT
125 DESTDIR=$RPM_BUILD_ROOT
127 install src/utils/xas/xas.pl $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
128 install {amule.desktop,amulegui.desktop,src/utils/aLinkCreator/alc.desktop,src/utils/wxCas/wxcas.desktop} $RPM_BUILD_ROOT%{_desktopdir}
129 install {amule.xpm,amulegui.xpm,src/utils/aLinkCreator/alc.xpm,src/utils/wxCas/wxcas.xpm} $RPM_BUILD_ROOT%{_pixmapsdir}
131 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,}
132 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,}
133 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
134 rm -fr $RPM_BUILD_ROOT%{_docdir}/amule
135 rm -fr $RPM_BUILD_ROOT%{_mandir}/eu
139 rm -rf $RPM_BUILD_ROOT
142 %defattr(644,root,root,755)
143 %doc docs/AUTHORS docs/EC_Protocol.txt docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt
144 %attr(755,root,root) %{_bindir}/autostart-xas
145 %attr(755,root,root) %{_bindir}/amule*
146 %attr(755,root,root) %{_bindir}/ed2k
147 %dir %{_datadir}/amule
148 %{_datadir}/amule/webserver
149 %{_datadir}/amule/skins
150 %{_desktopdir}/amule.desktop
151 %{_desktopdir}/amulegui.desktop
152 %{_pixmapsdir}/amule.xpm
153 %{_pixmapsdir}/amulegui.xpm
154 %{_mandir}/man1/amule*
155 %{_mandir}/man1/ed2k*
157 %lang(de) %{_mandir}/de/man1/amule*
158 %lang(de) %{_mandir}/de/man1/ed2k*
159 %lang(de) %{_mandir}/de/man1/xas*
160 %lang(es) %{_mandir}/es/man1/amule*
161 %lang(es) %{_mandir}/es/man1/ed2k*
162 %lang(es) %{_mandir}/es/man1/xas*
163 %lang(fr) %{_mandir}/fr/man1/amule*
164 %lang(fr) %{_mandir}/fr/man1/ed2k*
165 %lang(hu) %{_mandir}/hu/man1/amule*
166 %lang(hu) %{_mandir}/hu/man1/ed2k*
167 %lang(hu) %{_mandir}/hu/man1/xas*
168 %lang(it) %{_mandir}/it/man1/amule*
169 %lang(it) %{_mandir}/it/man1/ed2k*
172 %defattr(644,root,root,755)
173 %{_libdir}/xchat/plugins/xas.pl
176 %defattr(644,root,root,755)
177 %attr(755,root,root) %{_bindir}/alc*
178 %{_desktopdir}/alc.desktop
179 %{_pixmapsdir}/alc.xpm
181 %lang(de) %{_mandir}/de/man1/alc*
182 %lang(es) %{_mandir}/es/man1/alc*
183 %lang(fr) %{_mandir}/fr/man1/alc*
184 %lang(hu) %{_mandir}/hu/man1/alc*
187 %defattr(644,root,root,755)
188 %attr(755,root,root) %{_bindir}/*cas
189 %{_datadir}/amule/cas
190 %{_desktopdir}/*cas.desktop
191 %{_pixmapsdir}/wxcas.xpm
192 %{_mandir}/man1/*cas*
193 %lang(de) %{_mandir}/de/man1/*cas*
194 %lang(es) %{_mandir}/es/man1/*cas*
195 %lang(hu) %{_mandir}/hu/man1/*cas*