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 Patch3: %{name}-build.patch
14 URL: http://www.amule.org/
15 BuildRequires: GeoIP-devel
16 BuildRequires: autoconf
17 BuildRequires: automake >= 1:1.7.3
18 BuildRequires: binutils-devel
20 BuildRequires: cryptopp-devel >= 5.1
21 BuildRequires: curl-devel >= 7.9.7
22 BuildRequires: expat-devel
23 BuildRequires: gd-devel
24 BuildRequires: gettext-autopoint
25 BuildRequires: gettext-devel >= 0.11.5
26 BuildRequires: gtk+2-devel >= 2:2.2.0
27 BuildRequires: libpng-devel
28 BuildRequires: libstdc++-devel
29 BuildRequires: pkgconfig
30 BuildRequires: wxGTK2-unicode-devel
31 BuildRequires: xorg-lib-libXpm-devel
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 aMule is a Linux port of eMule client.
40 %description -l pl.UTF-8
41 aMule to linuksowy port klienta eMule.
45 Summary(pl.UTF-8): Wtyczka dla xchat
46 Group: X11/Applications
47 Requires: %{name} = %{version}-%{release}
48 Provides: %{name}-plugin-xchat
50 %description plugin-xchat
51 Plugin for Xchat IRC client.
53 %description plugin-xchat -l pl.UTF-8
54 Wtczka dla klienta IRC xchat.
57 Summary: Ed2k link creator for aMule
58 Summary(pl.UTF-8): Kreator linków ed2k dla aMule
59 Group: X11/Applications
60 Requires: %{name} = %{version}-%{release}
64 Tool for creating ed2k links.
66 %description alc -l pl.UTF-8
67 Narzędzie do tworzenia linków ed2k.
70 Summary: aMule online stats
71 Summary(pl.UTF-8): Statystyki online aMule
72 Group: X11/Applications
73 Requires: %{name} = %{version}-%{release}
77 Tool for generating aMule online stats.
79 %description cas -l pl.UTF-8
80 Narzędzie do generownia statystyk aMule.
95 --with-wx-config=wx-gtk2-unicode-config \
96 --%{?debug:en}%{!?debug:dis}able-debug \
97 --%{?debug:dis}%{!?debug:en}able-optimize \
98 --enable-amule-daemon \
108 ######################################################################################
109 # UGLY UGLY BAD BAD BAD !!!!!
110 # This should be fixable in another way
111 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/skins/Makefile
112 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/litoral/Makefile
113 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/chicane/Makefile
114 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/default/Makefile
115 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/webserver/php-default/Makefile
116 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/cas/Makefile
117 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/aLinkCreator/Makefile
118 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/xas/Makefile
119 sed -i -e 's#echo "$$d$$p">/dev/null;#echo "$$d$$p";#' src/utils/wxCas/Makefile
120 ######################################################################################
124 rm -rf $RPM_BUILD_ROOT
127 DESTDIR=$RPM_BUILD_ROOT
129 install src/utils/xas/xas.pl $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
130 install {amule.desktop,amulegui.desktop,src/utils/aLinkCreator/alc.desktop,src/utils/wxCas/wxcas.desktop} $RPM_BUILD_ROOT%{_desktopdir}
131 install {amule.xpm,amulegui.xpm,src/utils/aLinkCreator/alc.xpm,src/utils/wxCas/wxcas.xpm} $RPM_BUILD_ROOT%{_pixmapsdir}
133 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,}
134 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,}
135 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
136 rm -fr $RPM_BUILD_ROOT%{_docdir}/amule
137 rm -fr $RPM_BUILD_ROOT%{_mandir}/eu
141 rm -rf $RPM_BUILD_ROOT
144 %defattr(644,root,root,755)
145 %doc docs/AUTHORS docs/EC_Protocol.txt docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt
146 %attr(755,root,root) %{_bindir}/autostart-xas
147 %attr(755,root,root) %{_bindir}/amule*
148 %attr(755,root,root) %{_bindir}/ed2k
149 %dir %{_datadir}/amule
150 %{_datadir}/amule/webserver
151 %{_datadir}/amule/skins
152 %{_desktopdir}/amule.desktop
153 %{_desktopdir}/amulegui.desktop
154 %{_pixmapsdir}/amule.xpm
155 %{_pixmapsdir}/amulegui.xpm
156 %{_mandir}/man1/amule*
157 %{_mandir}/man1/ed2k*
159 %lang(de) %{_mandir}/de/man1/amule*
160 %lang(de) %{_mandir}/de/man1/ed2k*
161 %lang(de) %{_mandir}/de/man1/xas*
162 %lang(es) %{_mandir}/es/man1/amule*
163 %lang(es) %{_mandir}/es/man1/ed2k*
164 %lang(es) %{_mandir}/es/man1/xas*
165 %lang(fr) %{_mandir}/fr/man1/amule*
166 %lang(fr) %{_mandir}/fr/man1/ed2k*
167 %lang(hu) %{_mandir}/hu/man1/amule*
168 %lang(hu) %{_mandir}/hu/man1/ed2k*
169 %lang(hu) %{_mandir}/hu/man1/xas*
170 %lang(it) %{_mandir}/it/man1/amule*
171 %lang(it) %{_mandir}/it/man1/ed2k*
174 %defattr(644,root,root,755)
175 %{_libdir}/xchat/plugins/xas.pl
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_bindir}/alc*
180 %{_desktopdir}/alc.desktop
181 %{_pixmapsdir}/alc.xpm
183 %lang(de) %{_mandir}/de/man1/alc*
184 %lang(es) %{_mandir}/es/man1/alc*
185 %lang(fr) %{_mandir}/fr/man1/alc*
186 %lang(hu) %{_mandir}/hu/man1/alc*
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{_bindir}/*cas
191 %{_datadir}/amule/cas
192 %{_desktopdir}/*cas.desktop
193 %{_pixmapsdir}/wxcas.xpm
194 %{_mandir}/man1/*cas*
195 %lang(de) %{_mandir}/de/man1/*cas*
196 %lang(es) %{_mandir}/es/man1/*cas*
197 %lang(hu) %{_mandir}/hu/man1/*cas*