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: wxGTK2-unicode-devel
29 BuildRequires: xorg-lib-libXpm-devel
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 aMule is a Linux port of eMule client.
38 %description -l pl.UTF-8
39 aMule to linuksowy port klienta eMule.
43 Summary(pl.UTF-8): Wtyczka dla xchat
44 Group: X11/Applications
45 Requires: %{name} = %{version}-%{release}
46 Provides: %{name}-plugin-xchat
48 %description plugin-xchat
49 Plugin for Xchat IRC client.
51 %description plugin-xchat -l pl.UTF-8
52 Wtczka dla klienta IRC xchat.
55 Summary: Ed2k link creator for aMule
56 Summary(pl.UTF-8): Kreator linków ed2k dla aMule
57 Group: X11/Applications
58 Requires: %{name} = %{version}-%{release}
62 Tool for creating ed2k links.
64 %description alc -l pl.UTF-8
65 Narzędzie do tworzenia linków ed2k.
68 Summary: aMule online stats
69 Summary(pl.UTF-8): Statystyki online aMule
70 Group: X11/Applications
71 Requires: %{name} = %{version}-%{release}
75 Tool for generating aMule online stats.
77 %description cas -l pl.UTF-8
78 Narzędzie do generownia statystyk aMule.
92 --with-wx-config=wx-gtk2-unicode-config \
93 --%{?debug:en}%{!?debug:dis}able-debug \
94 --%{?debug:dis}%{!?debug:en}able-optimize \
95 --enable-amule-daemon \
105 ######################################################################################
106 # UGLY UGLY BAD BAD BAD !!!!!
107 # This should be fixable in another way
108 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/skins/Makefile
109 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/litoral/Makefile
110 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/chicane/Makefile
111 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/default/Makefile
112 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/php-default/Makefile
113 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/cas/Makefile
114 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/aLinkCreator/Makefile
115 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/xas/Makefile
116 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/wxCas/Makefile
117 ######################################################################################
121 rm -rf $RPM_BUILD_ROOT
124 DESTDIR=$RPM_BUILD_ROOT
126 install src/utils/xas/xas.pl $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
127 install {amule.desktop,amulegui.desktop,src/utils/aLinkCreator/alc.desktop,src/utils/wxCas/wxcas.desktop} $RPM_BUILD_ROOT%{_desktopdir}
128 install {amule.xpm,amulegui.xpm,src/utils/aLinkCreator/alc.xpm,src/utils/wxCas/wxcas.xpm} $RPM_BUILD_ROOT%{_pixmapsdir}
130 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,}
131 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,}
132 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
133 rm -fr $RPM_BUILD_ROOT%{_docdir}/amule
134 rm -fr $RPM_BUILD_ROOT%{_mandir}/eu
138 rm -rf $RPM_BUILD_ROOT
141 %defattr(644,root,root,755)
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
144 %attr(755,root,root) %{_bindir}/amule*
145 %attr(755,root,root) %{_bindir}/ed2k
146 %dir %{_datadir}/amule
147 %{_datadir}/amule/webserver
148 %{_datadir}/amule/skins
149 %{_desktopdir}/amule.desktop
150 %{_desktopdir}/amulegui.desktop
151 %{_pixmapsdir}/amule.xpm
152 %{_pixmapsdir}/amulegui.xpm
153 %{_mandir}/man1/amule*
154 %{_mandir}/man1/ed2k*
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*
167 %lang(it) %{_mandir}/it/man1/amule*
168 %lang(it) %{_mandir}/it/man1/ed2k*
171 %defattr(644,root,root,755)
172 %{_libdir}/xchat/plugins/xas.pl
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_bindir}/alc*
177 %{_desktopdir}/alc.desktop
178 %{_pixmapsdir}/alc.xpm
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*
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_bindir}/*cas
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*