SPECS: gtk2_prefs.spec - added desktop file and icon

twittner twittner at pld-linux.org
Sun Jun 26 04:06:48 CEST 2005


Author: twittner                     Date: Sun Jun 26 02:06:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added desktop file and icon

---- Files affected:
SPECS:
   gtk2_prefs.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/gtk2_prefs.spec
diff -u SPECS/gtk2_prefs.spec:1.3 SPECS/gtk2_prefs.spec:1.4
--- SPECS/gtk2_prefs.spec:1.3	Wed Jun  1 22:51:59 2005
+++ SPECS/gtk2_prefs.spec	Sun Jun 26 04:06:43 2005
@@ -3,17 +3,17 @@
 Summary(pl):	Preferencje GTK+ - zmiana motywu i czcionki
 Name:		gtk2_prefs
 Version:	0.4.0
-Release:	0.1
+Release:	0.2
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://members.lycos.co.uk/alexv6/pub/gtk/%{name}-%{version}.tar.bz2
 # Source0-md5:	95291299651fe34f18017a11fc0ca933
-#Source1:	%{name}.desktop
+Source1:	%{name}.desktop
+Source2:	%{name}.png
 URL:		http://members.lycos.co.uk/alexv6/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gtk+2-devel >= 2.4.0
-BuildRequires:	libtool
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,7 +26,6 @@
 
 %prep
 %setup -q
-#%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -34,17 +33,18 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake} 
-%configure
+%configure 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-#install -d $RPM_BUILD_ROOT%{_desktopdir}
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
 #%post
 #%%update_desktop_database_post
 
@@ -58,8 +58,8 @@
 %defattr(644,root,root,755)
 %doc AUTHORS
 %attr(755,root,root) %{_bindir}/%{name}
-#%{_pixmapsdir}/%{name}.png
-#%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%{_desktopdir}/%{name}.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/06/26 02:06:43  twittner
+- added desktop file and icon
+
 Revision 1.3  2005/06/01 20:51:59  ankry
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gtk2_prefs.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list