2 Summary: A client for the mldonkey P2P network
3 Summary(pl): Klient dla sieci P2P mldonkey
8 Group: X11/Applications/Networking
9 Source0: http://savannah.nongnu.org/download/kmldonkey/%{name}-%{version}%{_pre}.tar.bz2
10 # Source0-md5: 580b2d2c9f9c48cf83da5c93bf1c950f
11 Patch0: %{name}-desktop.patch
12 URL: http://www.kmldonkey.org/
13 BuildRequires: fam-devel
14 BuildRequires: kdebase-devel >= 3.0
15 BuildRequires: pcre-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _htmldir /usr/share/doc/kde/HTML
21 KMLDonkey is a client for the mldonkey P2P network.
24 KMLDonkey to klient dla sieci P2P mldonkey.
27 Summary: KMLDonkey header files
28 Summary(pl): Pliki nag³ówkowe KMLDonkey
29 Group: Development/Libraries
30 Requires: %{name} = %{version}
33 KMLDonkey header files.
35 %description devel -l pl
36 Pliki nag³ówkowe KMLDonkey.
39 %setup -q -n %{name}-%{version}%{_pre}
43 kde_appsdir="%{_desktopdir}"; export kde_appsdir
44 kde_htmldir="%{_htmldir}"; export kde_htmldir
45 cp /usr/share/automake/config.sub admin
47 --with-qt-libraries=%{_prefix}/%{_lib}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_desktopdir}
57 install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
59 mv $RPM_BUILD_ROOT%{_desktopdir}/Internet/* $RPM_BUILD_ROOT%{_desktopdir}/
60 mv $RPM_BUILD_ROOT%{_desktopdir}/Settings/Network/* $RPM_BUILD_ROOT%{_desktopdir}/kde/
62 %find_lang %{name} --with-kde
65 rm -rf $RPM_BUILD_ROOT
67 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/*
76 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
77 %attr(755,root,root) %{_libdir}/kde3/*.so.*.*.*
78 %attr(755,root,root) %{_libdir}/kde3/*.so
80 %{_datadir}/services/*.protocol
81 %{_datadir}/services/kded/mobilemule.desktop
82 %{_datadir}/services/kmldonkey_debugpage.desktop
83 %{_datadir}/servicetypes/kmldonkey_plugin.desktop
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
91 %dir %{_includedir}/kmldonkey
92 %{_includedir}/kmldonkey/*