- rel 18
[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
a269c63d 4Version: 2.1.3
6e471058 5Release: 18
fce15251 6License: GPL
7Group: X11/Applications
62a925d0 8Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.bz2
a269c63d 9# Source0-md5: 0aafdd159edb8ad5f0064da87998b47d
428d2bd5 10Patch0: %{name}-configure_in.patch
e3a76a47 11Patch1: %{name}-desktop.patch
817b67c8 12Patch2: %{name}-cas-datadir.patch
29afdc91 13Patch3: %{name}-wx.patch
fad345eb 14URL: http://www.amule.org/
fce15251 15BuildRequires: autoconf
02b702fb 16BuildRequires: automake >= 1:1.7.3
7a479686 17BuildRequires: binutils-devel
fce15251 18BuildRequires: bison
fad345eb 19#BuildRequires: cryptopp-devel >= 5.1
f46f2e7c 20BuildRequires: curl-devel >= 7.9.7
fce15251 21BuildRequires: expat-devel
5c4f96f7 22BuildRequires: gd-devel
2ef37d7f 23BuildRequires: gettext-devel >= 0.11.5
251a1e8e 24BuildRequires: gettext-autopoint
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
817b67c8 84%patch2 -p1
29afdc91 85%patch3 -p1
fce15251 86
87%build
df08d9a2 88%{__gettextize}
89%{__aclocal} -I m4
6180003f
AA
90%{__autoconf}
91%{__autoheader}
92%{__automake}
fce15251 93%configure \
b418bd65 94 --with-wx-config=wx-gtk2-unicode-config \
817b67c8 95 --%{?debug:en}%{!?debug:dis}able-debug \
b418bd65 96 --%{?debug:dis}%{!?debug:en}able-optimize \
817b67c8 97 --enable-amule-daemon \
b418bd65 98 --enable-amule-gui \
5c4f96f7 99 --enable-amulecmd \
100 --enable-amulecmdgui \
101 --enable-webserver \
817b67c8 102 --enable-webservergui \
103 --enable-cas \
104 --enable-wxcas \
105 --enable-alc \
b418bd65
KK
106 --enable-alcc \
107 --enable-kad-compile
fce15251 108
109%{__make}
110
111%install
112rm -rf $RPM_BUILD_ROOT
113
114%{__make} install \
115 DESTDIR=$RPM_BUILD_ROOT
488ce0ff 116
adaa75cf 117mv -f $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,}
118mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,}
119mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
a9fe4846 120
6180003f 121%find_lang amule
2ef37d7f 122
fce15251 123%clean
124rm -rf $RPM_BUILD_ROOT
125
6180003f 126%files -f amule.lang
fce15251 127%defattr(644,root,root,755)
428d2bd5 128%doc docs/AUTHORS docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt
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
0e64ca48
RK
133%{_desktopdir}/amule.desktop
134%{_pixmapsdir}/amule.xpm
135%{_mandir}/man1/amule*
136%{_mandir}/man1/ed2k*
137%{_mandir}/man1/xas*
138%lang(de) %{_mandir}/de/man1/amule*
139%lang(de) %{_mandir}/de/man1/ed2k*
140%lang(de) %{_mandir}/de/man1/xas*
141%lang(es) %{_mandir}/es/man1/amule*
142%lang(es) %{_mandir}/es/man1/ed2k*
143%lang(es) %{_mandir}/es/man1/xas*
144%lang(fr) %{_mandir}/fr/man1/amule*
145%lang(fr) %{_mandir}/fr/man1/ed2k*
146%lang(hu) %{_mandir}/hu/man1/amule*
147%lang(hu) %{_mandir}/hu/man1/ed2k*
148%lang(hu) %{_mandir}/hu/man1/xas*
149
150%files plugin-xchat
357aceee 151%defattr(644,root,root,755)
0e64ca48
RK
152%{_libdir}/xchat/plugins/xas.pl
153
154%files alc
357aceee
JB
155%defattr(644,root,root,755)
156%attr(755,root,root) %{_bindir}/alc*
0e64ca48
RK
157%{_desktopdir}/alc.desktop
158%{_pixmapsdir}/alc.xpm
159%{_mandir}/man1/alc*
160%lang(de) %{_mandir}/de/man1/alc*
161%lang(es) %{_mandir}/es/man1/alc*
162%lang(fr) %{_mandir}/fr/man1/alc*
163%lang(hu) %{_mandir}/hu/man1/alc*
164
0e64ca48 165%files cas
357aceee
JB
166%defattr(644,root,root,755)
167%attr(755,root,root) %{_bindir}/*cas
0e64ca48
RK
168%{_datadir}/amule/cas
169%{_desktopdir}/*cas.desktop
170%{_pixmapsdir}/wxcas.xpm
171%{_mandir}/man1/*cas*
172%lang(de) %{_mandir}/de/man1/*cas*
173%lang(es) %{_mandir}/es/man1/*cas*
174%lang(hu) %{_mandir}/hu/man1/*cas*
This page took 0.131237 seconds and 4 git commands to generate.