template-specs: desktop.spec - most common build/install/files

gotar gotar at pld-linux.org
Fri Nov 11 17:00:08 CET 2011


Author: gotar                        Date: Fri Nov 11 16:00:08 2011 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- most common build/install/files

---- Files affected:
template-specs:
   desktop.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: template-specs/desktop.spec
diff -u template-specs/desktop.spec:1.4 template-specs/desktop.spec:1.5
--- template-specs/desktop.spec:1.4	Mon Feb  7 11:28:46 2011
+++ template-specs/desktop.spec	Fri Nov 11 17:00:03 2011
@@ -7,6 +7,7 @@
 Group:		X11/Applications
 Source0:	-
 # Source0-md5:	-
+#Patch0:	
 #URL:		http://
 BuildRequires:	rpmbuild(macros) >= 1.596
 Requires:	desktop-file-utils
@@ -19,12 +20,20 @@
 
 %prep
 %setup -q
+#%patch0 -p1
 
 %build
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}.lang
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -38,8 +47,14 @@
 %update_icon_cache hicolor
 %update_mime_database
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.*
+%{_mandir}/man1/%{name}.1*
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -47,6 +62,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2011/11/11 16:00:03  gotar
+- most common build/install/files
+
 Revision 1.4  2011/02/07 10:28:46  glen
 - update %update_icon_cache deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/desktop.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list