]> git.pld-linux.org Git - packages/ed2k-gtk-gui.git/blobdiff - ed2k-gtk-gui.spec
- pl %doc added
[packages/ed2k-gtk-gui.git] / ed2k-gtk-gui.spec
index 017589dc47b527145cbe7d931eabc1efea54260b..7829e03778bb95dfa34de0f2f08edb7881bcd40a 100644 (file)
@@ -1,17 +1,18 @@
 #
 # Conditional build:
-# _without_core - use it if you will have own edonkey2000 core
+%bcond_without core    # use it if you will have own edonkey2000 core
 #
 Summary:       eDonkey2000 P2P Network Client
 Summary(pl):   Klient sieci eDonkey2000
 Name:          ed2k-gtk-gui
-Version:       0.6.1
-Release:       2
+Version:       0.6.2
+Release:       1
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 4e4644a77d97e88a9e474efef52fbd8b
+# Source0-md5: 79555c734f0e3eb3b5818da786132d80
 Patch0:                %{name}-home_etc.patch
+Patch1:                %{name}-enable-deprecated.patch
 URL:           http://ed2k-gtk-gui.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -19,7 +20,7 @@ BuildRequires:        gnet-devel >= 2.0.0
 BuildRequires: gtk+2-devel
 BuildRequires: libxml2-devel
 BuildRequires: zlib-devel
-%{!?_without_core:Requires: eDonkey-core}
+%{?with_core:Requires: eDonkey-core}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,6 +32,7 @@ Nak
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 rm -f missing
@@ -47,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f docs/{de,en,es}/Makefile*
+rm -f docs/{de,en,es,pl}/Makefile*
 
 %find_lang ed2k_gui
 
@@ -68,6 +70,7 @@ echo ""
 %doc README ChangeLog TODO AUTHORS docs/en
 %lang(de) %doc docs/de
 %lang(es) %doc docs/es
+%lang(pl) %doc docs/pl
 %{_mandir}/man1/*
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/ed2k_gui
This page took 0.040233 seconds and 4 git commands to generate.