Author: zbyniu                       Date: Tue Sep  8 09:46:52 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.6.2

---- Files affected:
packages/qfaktury:
   qfaktury.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/qfaktury/qfaktury.spec
diff -u packages/qfaktury/qfaktury.spec:1.20 
packages/qfaktury/qfaktury.spec:1.21
--- packages/qfaktury/qfaktury.spec:1.20        Sun Mar 29 23:02:56 2009
+++ packages/qfaktury/qfaktury.spec     Tue Sep  8 11:46:47 2009
@@ -2,17 +2,18 @@
 Summary:       Free software for creating, managing, and printing invoices
 Summary(pl.UTF-8):     Darmowy i wszechstronny system fakturujÄ…cy
 Name:          qfaktury
-Version:       0.6.0.1
+Version:       0.6.2
 Release:       0.1
-License:       GPL
+License:       GPL v3
 Group:         X11/Applications
 Source0:       
http://dl.sourceforge.net/sourceforge/qfaktury/%{name}-%{version}.tar.gz
-# Source0-md5: 284e1e3d93be1a351411abed3d3c1cd7
+# Source0-md5: 047f8239bf6187c9da9b69f90f284c15
 Patch0:                %{name}-desktop.patch
+Patch1:                build.patch
 URL:           http://qfaktury.sourceforge.net/
-BuildRequires: cmake
+BuildRequires: qt4-build
+BuildRequires: qt4-qmake
 BuildRequires: Qt3Support-devel
-BuildRequires: QtXml-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,28 +33,20 @@
 
 %prep
 %setup -q 
-#-n %{name}-%{version}-Source
 #%patch0 -p1
+%patch1 -p1
 
 %build
-rm -rf build
-mkdir build
-cd build
-export CXXFLAGS="%{rpmcxxflags}"
-%cmake .. \
-       -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-       %{?debug:-DCMAKE_BUILD_TYPE="Debug"}
+%{__make} \
+       QMAKE=/usr/bin/qmake-qt4 \
+       CXXFLAGS="%{rpmcxxflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 
-%{__make} -C build install \
-       DESTDIR=$RPM_BUILD_ROOT
-
-# it's not used anyway...
-cp -r share/qfaktury $RPM_BUILD_ROOT%{_datadir}
-install share/qfaktury/icons/qfaktury.desktop $RPM_BUILD_ROOT%{_desktopdir}
+%{__make} install \
+       INSTALL_ROOT=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -63,7 +56,7 @@
 %doc ReadMe.txt
 %attr(755,root,root) %{_bindir}/qfaktury
 %{_datadir}/qfaktury
-%{_desktopdir}/qfaktury.desktop
+%{_desktopdir}/QFaktury.desktop
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2009/09/08 09:46:47  zbyniu
+- up to 0.6.2
+
 Revision 1.20  2009/03/29 21:02:56  wolvverine
 - correct commitlog
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qfaktury/qfaktury.spec?r1=1.20&r2=1.21&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to