X-Git-Url: http://git.pld-linux.org/?p=packages%2FcDonkey.git;a=blobdiff_plain;f=cDonkey.spec;h=474f5d2e54ff0d42cca8b24d631fe11bdaa7c590;hp=6f50b0462f3c8424bb30da933760b306b165ee8e;hb=67765196db362ecb480a5550d7108d9b6436c3a4;hpb=23743832edeaa72ac0d18cef9d531d263947aaa4 diff --git a/cDonkey.spec b/cDonkey.spec index 6f50b04..474f5d2 100644 --- a/cDonkey.spec +++ b/cDonkey.spec @@ -1,18 +1,22 @@ Summary: Open source core client for eDonkey Summary(pl): Otwarty rdzeñ klienta sieci eDonkey Name: cDonkey -Version: 0.5.3 -Release: 1 +Version: 0.9.0 +Release: 2 License: GPL Group: Applications/Communications Source0: http://suche.org/%{name}-%{version}.tar.bz2 +# Source0-md5: 04c7b16e2aeb18a246e9892ba6fe7b7a +Patch0: %{name}-in_addr.patch +Patch1: %{name}-types.patch +Patch2: %{name}-nolibs.patch URL: http://cdonkey.suche.org/ BuildRequires: autoconf BuildRequires: automake BuildRequires: db-devel >= 4.1 +BuildRequires: libstdc++-devel BuildRequires: libtool -BuildRequires: openssl-devel -BuildRequires: zlib-devel +BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Provides: eDonkey-core @@ -28,18 +32,23 @@ graficznego. Wsp wersji 4.1 do szybkiego zarz±dzania listami. Dzia³a tylko na Linuksie. %prep -%setup -q -n %{name} +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build %{__libtoolize} %{__aclocal} %{__autoconf} +%{__autoheader} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT + install -D cDonkey $RPM_BUILD_ROOT%{_bindir}/cDonkey %clean @@ -47,5 +56,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc TODO FAQ-EN README %attr(755,root,root) %{_bindir}/* -%doc TODO