]> git.pld-linux.org Git - packages/ed2k-gtk-gui.git/blobdiff - ed2k-gtk-gui.spec
- ven -> ve (desktop patch), rel. 2
[packages/ed2k-gtk-gui.git] / ed2k-gtk-gui.spec
index 5f4b5902d6091e50f0b996d89d40d7b66d53bfc1..2f77fac0ae5b4bb593f86b0c19a7c69b2982ba97 100644 (file)
@@ -1,43 +1,54 @@
-#
-# Conditional build:
-# _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
 Summary:       eDonkey2000 P2P Network Client
 Summary(pl):   Klient sieci eDonkey2000
 Name:          ed2k-gtk-gui
-Version:       0.5.0
-Release:       3
+Version:       0.6.3
+Release:       2
 License:       GPL
 Group:         Applications/Communications
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://download.sourceforge.net/%{name}/%{name}_%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 191581cf44cd334a9d56aff2c68f4806
+Patch0:                %{name}-home_etc.patch
+Patch1:                %{name}-enable-deprecated.patch
+Patch2:                %{name}-desktop.patch
 URL:           http://ed2k-gtk-gui.sourceforge.net/
 URL:           http://ed2k-gtk-gui.sourceforge.net/
-BuildRequires: gnet-devel < 1.2.0
-BuildRequires: gtk+-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gnet-devel >= 2.0.0
+BuildRequires: gtk+2-devel
 BuildRequires: libxml2-devel
 BuildRequires: zlib-devel
 BuildRequires: libxml2-devel
 BuildRequires: zlib-devel
-%{!?_without_core:Requires: eDonkey-core}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _docdir         /usr/X11R6/share
-
 %description
 GTK+ GUI for eDonkey2000 or overnet core client.
 
 %description -l pl
 %description
 GTK+ GUI for eDonkey2000 or overnet core client.
 
 %description -l pl
-Nak³adka na rdzeñ klienta sieci eDonkey2000 lub sieci overnet.
+Nak³adka na rdzeñ klienta sieci eDonkey2000 lub sieci Overnet.
 
 %prep
 
 %prep
-%setup -q -n ed2k-gtk-gui_%{version}
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 
 %build
-%configure2_13
+rm -f missing
+cp -f /usr/share/automake/config.sub .
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-rm -f ed2k_gui/docs/en/Makefile*
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -f docs/{de,en,es,pl}/Makefile*
+
 %find_lang ed2k_gui
 
 %clean
 %find_lang ed2k_gui
 
 %clean
@@ -54,6 +65,11 @@ echo ""
 
 %files -f ed2k_gui.lang
 %defattr(644,root,root,755)
 
 %files -f ed2k_gui.lang
 %defattr(644,root,root,755)
-%doc README ChangeLog BUGS AUTHORS ed2k_gui/docs/en/
+%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}/*
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/ed2k_gui/*
+%{_datadir}/ed2k_gui
+%{_desktopdir}/*
This page took 0.037182 seconds and 4 git commands to generate.