SPECS: qtpfsgui.spec - use proper installation prefix - packaged more files...

sls sls at pld-linux.org
Mon Jul 21 15:12:21 CEST 2008


Author: sls                          Date: Mon Jul 21 13:12:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use proper installation prefix
- packaged more files (TODO done)
- rel. 0.3

---- Files affected:
SPECS:
   qtpfsgui.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/qtpfsgui.spec
diff -u SPECS/qtpfsgui.spec:1.14 SPECS/qtpfsgui.spec:1.15
--- SPECS/qtpfsgui.spec:1.14	Mon Jul 21 14:13:51 2008
+++ SPECS/qtpfsgui.spec	Mon Jul 21 15:12:16 2008
@@ -1,12 +1,10 @@
 # $Revision$, $Date$
 #
-# TODO: - package missing files
-#
 Summary:	QtPFSGui - HDR Image compositor
 Summary(pl.UTF-8):	QtPFSGui - narzędzie do składania obrazów HDR
 Name:		qtpfsgui
 Version:	1.8.12
-Release:	0.2
+Release:	0.3
 License:	GPL
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/qtpfsgui/%{name}-%{version}.tar.gz
@@ -33,7 +31,7 @@
 %patch0 -p1
 
 %build
-qmake-qt4 -after target.path=/usr/bin 
+qmake-qt4 PREFIX=%{_prefix}
 %{__make}
 
 %install
@@ -41,13 +39,18 @@
 
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/{AUTHORS,COPYING,Changelog,INSTALL,README}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc Changelog README TODO
 %attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/qtpfsgui.desktop
+%{_iconsdir}/hicolor/48x48/apps/qtpfsgui.png
+%{_datadir}/%{name}/html
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -55,6 +58,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2008/07/21 13:12:16  sls
+- use proper installation prefix
+- packaged more files (TODO done)
+- rel. 0.3
+
 Revision 1.14  2008/07/21 12:13:51  sls
 - added gcc43.patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qtpfsgui.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list