]>
Commit | Line | Data |
---|---|---|
0b0404d0 | 1 | # |
eda33d09 | 2 | # TODO: ./configure --enable-plasmamule (BR: qt4-build, QtCore 4, KDE 4) |
0b0404d0 | 3 | # |
fce15251 | 4 | Summary: Unix port of eMule client |
2271ee3f | 5 | Summary(pl.UTF-8): Uniksowy port klienta eMule |
fce15251 | 6 | Name: aMule |
37bca6c8 | 7 | Version: 2.3.3 |
edb6eeb7 | 8 | Release: 3 |
eda33d09 | 9 | License: GPL v2+ |
fce15251 | 10 | Group: X11/Applications |
d8cfca4b | 11 | Source0: http://downloads.sourceforge.net/amule/%{name}-%{version}.tar.bz2 |
37bca6c8 | 12 | # Source0-md5: d74947f4c35bbea71369f6c112b9f0b8 |
803b9a93 | 13 | Patch0: %{name}-desktop.patch |
14 | Patch1: %{name}-cas-datadir.patch | |
62caab2a | 15 | Patch2: %{name}-ac.patch |
fad345eb | 16 | URL: http://www.amule.org/ |
803b9a93 | 17 | BuildRequires: GeoIP-devel |
eda33d09 | 18 | BuildRequires: autoconf >= 2.59 |
9667e5a4 | 19 | BuildRequires: automake >= 1:1.7.3 |
7a479686 | 20 | BuildRequires: binutils-devel |
fce15251 | 21 | BuildRequires: bison |
eda33d09 | 22 | BuildRequires: boost-devel >= 1.47 |
803b9a93 | 23 | BuildRequires: cryptopp-devel >= 5.1 |
f46f2e7c | 24 | BuildRequires: curl-devel >= 7.9.7 |
fce15251 | 25 | BuildRequires: expat-devel |
eda33d09 JB |
26 | BuildRequires: flex |
27 | BuildRequires: gd-devel >= 2.0.0 | |
caf71ed3 | 28 | BuildRequires: gettext-tools >= 0.11.5 |
37bca6c8 | 29 | BuildRequires: gtk+3-devel |
d8cfca4b | 30 | BuildRequires: libpng-devel >= 1.2.0 |
fce15251 | 31 | BuildRequires: libstdc++-devel |
f8a0733d | 32 | BuildRequires: libupnp-devel >= 1.6.6 |
eda33d09 JB |
33 | BuildRequires: pkgconfig >= 1:0.9.0 |
34 | BuildRequires: readline-devel | |
37bca6c8 | 35 | BuildRequires: wxGTK3-unicode-devel >= 2.8.12 |
8528c3bf | 36 | BuildRequires: xorg-lib-libXpm-devel |
eda33d09 JB |
37 | BuildRequires: zlib-devel >= 1.1.4 |
38 | Requires: cryptopp >= 5.1 | |
39 | Requires: gd >= 2.0.0 | |
f8a0733d | 40 | Requires: libupnp >= 1.6.6 |
fce15251 | 41 | Requires: wget |
eda33d09 | 42 | Requires: zlib >= 1.1.4 |
3be09a77 | 43 | Obsoletes: lmule |
e3a76a47 | 44 | Obsoletes: xmule |
f5ed4594 | 45 | Obsoletes: aMule-plugin-xchat < 2.3.3 |
fce15251 | 46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
47 | ||
48 | %description | |
06a2ef63 | 49 | aMule is a Linux port of eMule client. |
fce15251 | 50 | |
85204cb1 | 51 | %description -l pl.UTF-8 |
06a2ef63 | 52 | aMule to linuksowy port klienta eMule. |
fce15251 | 53 | |
0e64ca48 RK |
54 | %package alc |
55 | Summary: Ed2k link creator for aMule | |
2271ee3f | 56 | Summary(pl.UTF-8): Kreator linków ed2k dla aMule |
0e64ca48 | 57 | Group: X11/Applications |
dc60aead | 58 | Requires: %{name} = %{version}-%{release} |
0e64ca48 RK |
59 | Provides: alc |
60 | ||
61 | %description alc | |
62 | Tool for creating ed2k links. | |
63 | ||
85204cb1 JR |
64 | %description alc -l pl.UTF-8 |
65 | Narzędzie do tworzenia linków ed2k. | |
0e64ca48 RK |
66 | |
67 | %package cas | |
68 | Summary: aMule online stats | |
2271ee3f | 69 | Summary(pl.UTF-8): Statystyki online aMule |
0e64ca48 | 70 | Group: X11/Applications |
dc60aead | 71 | Requires: %{name} = %{version}-%{release} |
0e64ca48 RK |
72 | Provides: cas |
73 | ||
74 | %description cas | |
75 | Tool for generating aMule online stats. | |
76 | ||
85204cb1 JR |
77 | %description cas -l pl.UTF-8 |
78 | Narzę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} | |
3139fc16 | 91 | export CXXFLAGS="%{rpmcxxflags} -std=gnu++14" |
fce15251 | 92 | %configure \ |
eda33d09 | 93 | --with-denoise-level=1 \ |
d8cfca4b | 94 | --with-libpng-config=/usr/bin/libpng-config \ |
37bca6c8 | 95 | --with-wx-config=wx-gtk3-unicode-config \ |
eda33d09 JB |
96 | --enable-alc \ |
97 | --enable-alcc \ | |
98 | --enable-amulecmd \ | |
817b67c8 | 99 | --enable-amule-daemon \ |
b418bd65 | 100 | --enable-amule-gui \ |
817b67c8 | 101 | --enable-cas \ |
eda33d09 | 102 | --enable-debug%{!?debug:=no} \ |
d8cfca4b | 103 | --enable-geoip \ |
eda33d09 JB |
104 | --enable-optimize%{!?debug:=no} \ |
105 | --enable-webserver \ | |
106 | --enable-wxcas \ | |
f5ed4594 | 107 | --disable-xas |
d8cfca4b | 108 | |
fce15251 | 109 | %{__make} |
110 | ||
111 | %install | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %{__make} install \ | |
115 | DESTDIR=$RPM_BUILD_ROOT | |
488ce0ff | 116 | |
0dce3bf5 JB |
117 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,} |
118 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,} | |
119 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,} | |
120 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/amule | |
6180003f | 121 | %find_lang amule |
2ef37d7f | 122 | |
fce15251 | 123 | %clean |
124 | rm -rf $RPM_BUILD_ROOT | |
125 | ||
6180003f | 126 | %files -f amule.lang |
fce15251 | 127 | %defattr(644,root,root,755) |
d8cfca4b | 128 | %doc docs/ABOUT-NLS docs/AUTHORS docs/Changelog docs/EC_Protocol.txt docs/README 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 |
803b9a93 | 133 | %{_datadir}/amule/skins |
0e64ca48 | 134 | %{_desktopdir}/amule.desktop |
803b9a93 | 135 | %{_desktopdir}/amulegui.desktop |
0e64ca48 | 136 | %{_pixmapsdir}/amule.xpm |
803b9a93 | 137 | %{_pixmapsdir}/amulegui.xpm |
eda33d09 JB |
138 | %{_mandir}/man1/amule*.1* |
139 | %{_mandir}/man1/ed2k.1* | |
140 | %lang(de) %{_mandir}/de/man1/amule*.1* | |
141 | %lang(de) %{_mandir}/de/man1/ed2k.1* | |
142 | %lang(es) %{_mandir}/es/man1/amule*.1* | |
143 | %lang(es) %{_mandir}/es/man1/ed2k.1* | |
144 | %lang(fr) %{_mandir}/fr/man1/amule*.1* | |
145 | %lang(fr) %{_mandir}/fr/man1/ed2k.1* | |
146 | %lang(hu) %{_mandir}/hu/man1/amule*.1* | |
147 | %lang(hu) %{_mandir}/hu/man1/ed2k.1* | |
148 | %lang(it) %{_mandir}/it/man1/amule*.1* | |
149 | %lang(it) %{_mandir}/it/man1/ed2k.1* | |
150 | %lang(ro) %{_mandir}/ro/man1/amule*.1* | |
151 | %lang(ro) %{_mandir}/ro/man1/ed2k.1* | |
152 | %lang(ru) %{_mandir}/ru/man1/amule*.1* | |
153 | %lang(ru) %{_mandir}/ru/man1/ed2k.1* | |
154 | %lang(tr) %{_mandir}/tr/man1/amule*.1* | |
155 | %lang(tr) %{_mandir}/tr/man1/ed2k.1* | |
156 | %lang(zh_TW) %{_mandir}/zh_TW/man1/amule*.1* | |
157 | %lang(zh_TW) %{_mandir}/zh_TW/man1/ed2k.1* | |
0e64ca48 | 158 | |
0e64ca48 | 159 | %files alc |
357aceee | 160 | %defattr(644,root,root,755) |
eda33d09 JB |
161 | %attr(755,root,root) %{_bindir}/alc |
162 | %attr(755,root,root) %{_bindir}/alcc | |
0e64ca48 RK |
163 | %{_desktopdir}/alc.desktop |
164 | %{_pixmapsdir}/alc.xpm | |
eda33d09 JB |
165 | %{_mandir}/man1/alc.1* |
166 | %{_mandir}/man1/alcc.1* | |
167 | %lang(de) %{_mandir}/de/man1/alc.1* | |
168 | %lang(de) %{_mandir}/de/man1/alcc.1* | |
169 | %lang(es) %{_mandir}/es/man1/alc.1* | |
170 | %lang(es) %{_mandir}/es/man1/alcc.1* | |
171 | %lang(fr) %{_mandir}/fr/man1/alc.1* | |
172 | %lang(fr) %{_mandir}/fr/man1/alcc.1* | |
173 | %lang(hu) %{_mandir}/hu/man1/alc.1* | |
174 | %lang(hu) %{_mandir}/hu/man1/alcc.1* | |
175 | %lang(it) %{_mandir}/it/man1/alc.1* | |
176 | %lang(it) %{_mandir}/it/man1/alcc.1* | |
177 | %lang(ro) %{_mandir}/ro/man1/alc.1* | |
178 | %lang(ro) %{_mandir}/ro/man1/alcc.1* | |
179 | %lang(ru) %{_mandir}/ru/man1/alc.1* | |
180 | %lang(ru) %{_mandir}/ru/man1/alcc.1* | |
181 | %lang(tr) %{_mandir}/tr/man1/alc.1* | |
182 | %lang(tr) %{_mandir}/tr/man1/alcc.1* | |
183 | %lang(zh_TW) %{_mandir}/zh_TW/man1/alc.1* | |
184 | %lang(zh_TW) %{_mandir}/zh_TW/man1/alcc.1* | |
0e64ca48 | 185 | |
0e64ca48 | 186 | %files cas |
357aceee | 187 | %defattr(644,root,root,755) |
eda33d09 JB |
188 | %attr(755,root,root) %{_bindir}/cas |
189 | %attr(755,root,root) %{_bindir}/wxcas | |
0e64ca48 | 190 | %{_datadir}/amule/cas |
eda33d09 | 191 | %{_desktopdir}/wxcas.desktop |
0e64ca48 | 192 | %{_pixmapsdir}/wxcas.xpm |
eda33d09 JB |
193 | %{_mandir}/man1/cas.1* |
194 | %{_mandir}/man1/wxcas.1* | |
195 | %lang(de) %{_mandir}/de/man1/cas.1* | |
196 | %lang(de) %{_mandir}/de/man1/wx*cas.1* | |
197 | %lang(es) %{_mandir}/es/man1/cas.1* | |
198 | %lang(es) %{_mandir}/es/man1/wxcas.1* | |
199 | %lang(fr) %{_mandir}/fr/man1/cas.1* | |
200 | %lang(fr) %{_mandir}/fr/man1/wxcas.1* | |
201 | %lang(hu) %{_mandir}/hu/man1/cas.1* | |
202 | %lang(hu) %{_mandir}/hu/man1/wxcas.1* | |
203 | %lang(it) %{_mandir}/it/man1/cas.1* | |
204 | %lang(it) %{_mandir}/it/man1/wxcas.1* | |
205 | %lang(ro) %{_mandir}/ro/man1/cas.1* | |
206 | %lang(ro) %{_mandir}/ro/man1/wxcas.1* | |
207 | %lang(ru) %{_mandir}/ru/man1/cas.1* | |
208 | %lang(ru) %{_mandir}/ru/man1/wxcas.1* | |
209 | %lang(tr) %{_mandir}/tr/man1/cas.1* | |
210 | %lang(tr) %{_mandir}/tr/man1/wxcas.1* | |
211 | %lang(zh_TW) %{_mandir}/zh_TW/man1/cas.1* | |
212 | %lang(zh_TW) %{_mandir}/zh_TW/man1/wxcas.1* |