]> git.pld-linux.org Git - packages/aMule.git/blob - aMule.spec
- rel 6; wxWidgets 2.8 fixes
[packages/aMule.git] / aMule.spec
1 #
2 # TODO:
3 # - depends on binutils, why? 
4 #
5 Summary:        Unix port of eMule client
6 Summary(pl):    Uniksowy port klienta eMule
7 Name:           aMule
8 Version:        2.1.3
9 Release:        6
10 License:        GPL
11 Group:          X11/Applications
12 Source0:        http://download.berlios.de/amule/%{name}-%{version}.tar.bz2
13 # Source0-md5:  0aafdd159edb8ad5f0064da87998b47d
14 Patch0:         %{name}-configure_in.patch
15 Patch1:         %{name}-desktop.patch
16 Patch2:         %{name}-cas-datadir.patch
17 Patch3:         %{name}-wx.patch
18 URL:            http://www.amule.org/
19 BuildRequires:  autoconf
20 BuildRequires:  automake >= 1:1.7.3
21 BuildRequires:  bison
22 #BuildRequires: cryptopp-devel >= 5.1
23 BuildRequires:  curl-devel >= 7.9.7
24 BuildRequires:  expat-devel
25 BuildRequires:  gd-devel
26 BuildRequires:  gettext-devel >= 0.11.5
27 BuildRequires:  gettext-autopoint
28 BuildRequires:  gtk+2-devel >= 2:2.2.0
29 BuildRequires:  libpng-devel
30 BuildRequires:  libstdc++-devel
31 BuildRequires:  wxGTK2-unicode-devel
32 BuildRequires:  xorg-lib-libXpm-devel
33 Requires:       wget
34 Obsoletes:      lmule
35 Obsoletes:      xmule
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 aMule is a Linux port of eMule client.
40
41 %description -l pl
42 aMule to linuksowy port klienta eMule.
43
44 %package plugin-xchat
45 Summary:        Xchat plugin
46 Summary(pl):    Wtyczka dla xchat
47 Group:          X11/Applications
48 Requires:       %{name} = %{version}-%{release}
49 Provides:       %{name}-plugin-xchat
50
51 %description plugin-xchat
52 Plugin for Xchat IRC client.
53
54 %description plugin-xchat -l pl
55 Wtczka dla klienta IRC xchat.
56
57 %package alc
58 Summary:        Ed2k link creator for aMule
59 Summary(pl):    Kreator linków ed2k dla aMule
60 Group:          X11/Applications
61 Requires:       %{name} = %{version}-%{release}
62 Provides:       alc
63
64 %description alc
65 Tool for creating ed2k links.
66
67 %description alc -l pl
68 Narzêdzie do tworzenia linków ed2k.
69
70 %package cas
71 Summary:        aMule online stats
72 Summary(pl):    Statystyki online aMule
73 Group:          X11/Applications
74 Requires:       %{name} = %{version}-%{release}
75 Provides:       cas
76
77 %description cas
78 Tool for generating aMule online stats.
79
80 %description cas -l pl
81 Narzêdzie do generownia statystyk aMule.
82
83 %prep
84 %setup -q
85 %patch0 -p1
86 %patch1 -p1
87 %patch2 -p1
88 %patch3 -p1
89
90 %build
91 %{__gettextize}
92 %{__aclocal} -I m4
93 %{__autoconf}
94 %{__autoheader}
95 %{__automake}
96 %configure \
97         --with-wx-config=wx-gtk2-unicode-config         \
98         --%{?debug:en}%{!?debug:dis}able-debug          \
99         --%{?debug:dis}%{!?debug:en}able-optimize       \
100         --enable-amule-daemon                           \
101         --enable-amule-gui                              \
102         --enable-amulecmd                               \
103         --enable-amulecmdgui                            \
104         --enable-webserver                              \
105         --enable-webservergui                           \
106         --enable-cas                                    \
107         --enable-wxcas                                  \
108         --enable-alc                                    \
109         --enable-alcc                                   \
110         --enable-kad-compile
111
112 %{__make}
113
114 %install
115 rm -rf $RPM_BUILD_ROOT
116
117 %{__make} install \
118         DESTDIR=$RPM_BUILD_ROOT
119
120 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,}
121 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,}
122 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
123
124 %find_lang amule
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
129 %files -f amule.lang
130 %defattr(644,root,root,755)
131 %doc docs/AUTHORS docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt
132 %attr(755,root,root) %{_bindir}/amule*
133 %attr(755,root,root) %{_bindir}/ed2k
134 %dir %{_datadir}/amule
135 %{_datadir}/amule/webserver
136 %{_desktopdir}/amule.desktop
137 %{_pixmapsdir}/amule.xpm
138 %{_mandir}/man1/amule*
139 %{_mandir}/man1/ed2k*
140 %{_mandir}/man1/xas*
141 %lang(de) %{_mandir}/de/man1/amule*
142 %lang(de) %{_mandir}/de/man1/ed2k*
143 %lang(de) %{_mandir}/de/man1/xas*
144 %lang(es) %{_mandir}/es/man1/amule*
145 %lang(es) %{_mandir}/es/man1/ed2k*
146 %lang(es) %{_mandir}/es/man1/xas*
147 %lang(fr) %{_mandir}/fr/man1/amule*
148 %lang(fr) %{_mandir}/fr/man1/ed2k*
149 %lang(hu) %{_mandir}/hu/man1/amule*
150 %lang(hu) %{_mandir}/hu/man1/ed2k*
151 %lang(hu) %{_mandir}/hu/man1/xas*
152
153 %files plugin-xchat
154 %defattr(644,root,root,755)
155 %{_libdir}/xchat/plugins/xas.pl
156
157 %files alc
158 %defattr(644,root,root,755)
159 %attr(755,root,root) %{_bindir}/alc*
160 %{_desktopdir}/alc.desktop
161 %{_pixmapsdir}/alc.xpm
162 %{_mandir}/man1/alc*
163 %lang(de) %{_mandir}/de/man1/alc*
164 %lang(es) %{_mandir}/es/man1/alc*
165 %lang(fr) %{_mandir}/fr/man1/alc*
166 %lang(hu) %{_mandir}/hu/man1/alc*
167
168 %files cas
169 %defattr(644,root,root,755)
170 %attr(755,root,root) %{_bindir}/*cas
171 %{_datadir}/amule/cas
172 %{_desktopdir}/*cas.desktop
173 %{_pixmapsdir}/wxcas.xpm
174 %{_mandir}/man1/*cas*
175 %lang(de) %{_mandir}/de/man1/*cas*
176 %lang(es) %{_mandir}/es/man1/*cas*
177 %lang(hu) %{_mandir}/hu/man1/*cas*
This page took 0.0999949999999999 seconds and 4 git commands to generate.