SPECS: qfaktury.spec - icon add, desktop file changes - STBR

tiwek tiwek at pld-linux.org
Tue Jan 17 11:11:03 CET 2006


Author: tiwek                        Date: Tue Jan 17 10:11:03 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- icon add,  desktop file changes
- STBR

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

---- Diffs:

================================================================
Index: SPECS/qfaktury.spec
diff -u SPECS/qfaktury.spec:1.3 SPECS/qfaktury.spec:1.4
--- SPECS/qfaktury.spec:1.3	Mon Jan 16 20:31:56 2006
+++ SPECS/qfaktury.spec	Tue Jan 17 11:10:58 2006
@@ -6,12 +6,12 @@
 Summary(pl):	Darmowy i wszechstronny system fakturujący
 Name:		qfaktury
 Version:	0.0.2
-Release:	0.%{_pre}.1
+Release:	0.%{_pre}.2
 License:	GPL
 Group:		X11/Applications
 Source0:	http://www.e-linux.pl/modules/qfaktury/%{name}-%{version}%{_pre}.tar.gz
 # Source0-md5:	e4a8b18d4a926053c8fb8689ddfcbda5
-#Patch0:		%{name}-desktop.patch
+Patch0:		%{name}-desktop.patch
 URL:		http://www.e-linux.pl/modules/qfaktury/index.php
 BuildRequires:	qmake
 BuildRequires:	qt-devel >= 3.3
@@ -35,7 +35,7 @@
 
 %prep
 %setup -q -n %{name}
-#%patch -p1
+%patch -p1
 
 %build
 export QTDIR=/usr
@@ -46,10 +46,18 @@
 rm -rf $RPM_BUILD_ROOT
 # create directories if necessary
 
-%{__make} install INSTALL_ROOT=$RPM_BUILD_ROOT QTDIR=/usr
+rm -f install install.sh
+
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+install share/qfaktury/icons/qfaktury_48.png $RPM_BUILD_ROOT%{_pixmapsdir}/qfaktury.png
+
+%{__make} install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT \
+	QTDIR=/usr
+
 
 %clean
-#rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
@@ -57,6 +65,7 @@
 %attr(755,root,root) %{_bindir}/qfaktury
 %{_datadir}/qfaktury
 %{_desktopdir}/qfaktury.desktop
+%{_pixmapsdir}/qfaktury.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +73,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/01/17 10:10:58  tiwek
+- icon add,  desktop file changes
+- STBR
+
 Revision 1.3  2006/01/16 19:31:56  tiwek
 - up to 0.0.2_pre2 (0.0.1 is unusable)
 - build and works fine :)
================================================================

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



More information about the pld-cvs-commit mailing list