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