SPECS: gtk-gnutella.spec - add patch for gtk > 2.6 - add desktop f...

jasw jasw at pld-linux.org
Wed Jun 15 11:29:53 CEST 2005


Author: jasw                         Date: Wed Jun 15 09:29:53 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add patch for gtk > 2.6
- add desktop file
- works on x86
- rel 2
- STBR pls

---- Files affected:
SPECS:
   gtk-gnutella.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/gtk-gnutella.spec
diff -u SPECS/gtk-gnutella.spec:1.23 SPECS/gtk-gnutella.spec:1.24
--- SPECS/gtk-gnutella.spec:1.23	Thu Jan 20 17:44:40 2005
+++ SPECS/gtk-gnutella.spec	Wed Jun 15 11:29:47 2005
@@ -4,12 +4,14 @@
 Summary(pl):	Klient sieci Gnutella
 Name:		gtk-gnutella
 Version:	0.95
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/Communications
 Source0:	http://dl.sourceforge.net/gtk-gnutella/%{name}-%{version}.tar.bz2
 # Source0-md5:	de2ff4973c975ee16cdd69ca72c06bcd
 URL:		http://gtk-gnutella.sourceforge.net/
+Patch0:		%{name}-gtk2.6.patch
+Patch1:		%{name}-desktop.patch
 BuildRequires:	bison
 BuildRequires:	gettext-devel
 BuildRequires:	glib2-devel
@@ -29,6 +31,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 ./Configure \
@@ -53,6 +57,9 @@
 	INSTALL_PREFIX=$RPM_BUILD_ROOT
 %{__make} install.man \
 	INSTALL_PREFIX=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
+install %{name}*.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %find_lang %{name} --with-gnome
 
@@ -65,6 +72,8 @@
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{_mandir}/man1/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}*.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -72,6 +81,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2005/06/15 09:29:47  jasw
+- add patch for gtk > 2.6
+- add desktop file
+- works on x86
+- rel 2
+- STBR pls
+
 Revision 1.23  2005/01/20 16:44:40  roman
 - updated to 0.95 version (version 0.94 is outdated)
 - works OK on amd64
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gtk-gnutella.spec?r1=1.23&r2=1.24&f=u




More information about the pld-cvs-commit mailing list