rpms/quazip/devel .cvsignore, 1.2, 1.3 quazip.spec, 1.3, 1.4 sources, 1.2, 1.3 quazip-path.patch, 1.2, NONE

supercyper supercyper at fedoraproject.org
Sat Jul 24 19:56:30 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/quazip/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15183

Modified Files:
	.cvsignore quazip.spec sources 
Removed Files:
	quazip-path.patch 
Log Message:
Update to 0.3


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/quazip/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	3 Feb 2010 04:45:53 -0000	1.2
+++ .cvsignore	24 Jul 2010 19:56:30 -0000	1.3
@@ -1 +1 @@
-quazip-0.2.3.tar.gz
+quazip-0.3.tar.gz


Index: quazip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/quazip/devel/quazip.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- quazip.spec	17 Apr 2010 02:17:36 -0000	1.3
+++ quazip.spec	24 Jul 2010 19:56:30 -0000	1.4
@@ -1,17 +1,14 @@
-Name:			quazip
-Version:		0.2.3
-Release:		5%{?dist}
-Summary:		Qt/C++ wrapper for the minizip library
-License:		GPLv2+ or LGPLv2+
-Group:			System Environment/Libraries
-URL:			http://quazip.sourceforge.net/
-Source0:		http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Fixes build and install
-Patch0:			quazip-path.patch
-BuildRoot:		%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-BuildRequires:		qt4-devel
-#BuildRequires:		zlib-devel
-BuildRequires:		minizip-devel
+Name:		quazip
+Version:	0.3
+Release:	1%{?dist}
+Summary:	Qt/C++ wrapper for the minizip library
+License:	GPLv2+ or LGPLv2+
+Group:		System Environment/Libraries
+URL:		http://quazip.sourceforge.net/
+Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRequires:	qt4-devel
+BuildRequires:	minizip-devel
+BuildRequires:	doxygen
 
 %description
 QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
@@ -32,26 +29,34 @@ Requires:		minizip-devel%{?_isa}
 Requires:		qt4-devel%{?_isa}
 
 %description devel
-The %{name}-devel package contains libraries, header files and documentations for 
-developing applications that use %{name}. 
+The %{name}-devel package contains libraries, header files and documentation
+for developing applications that use %{name}. 
 
 %prep
 %setup -q
-%patch0 -p1
+
 #remove bundled minizip library
-pushd quazip
+pushd %{name}
 rm -rf crypt.h ioapi* unzip* zip*
 popd
 
+# Fixes build and install
+sed -i 's\PREFIX/lib\PREFIX/%{_lib}\' %{name}/%{name}.pro
+sed -i 's/\*.c //' %{name}/%{name}.pro
+
 %build
 export PATH=%{_qt4_bindir}:$PATH
-%_qt4_qmake PREFIX=%{_prefix} LIBDIR=%{_libdir}
+%{_qt4_qmake} PREFIX=%{_prefix} LIBS+=" -lminizip" INCLUDEPATH+=" %{_includedir}/minizip"
 #do not build in parallel - there are race conditions in 
 #qmake-generated makefiles
 make
 
+doxygen Doxyfile
+for file in doc/html/*; do
+	touch -r Doxyfile $file
+done
+
 %install
-rm -rf %{buildroot}
 make INSTALL="install -p" INSTALL_ROOT=%{buildroot} install
 
 %post -p /sbin/ldconfig
@@ -64,15 +69,18 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %doc COPYING* NEWS README
-%{_libdir}/libquazip.so.*
+%{_libdir}/*.so.*
 
 %files devel
 %defattr(-,root,root,-)
 %doc doc/html
 %{_includedir}/%{name}
-%{_libdir}/libquazip.so
+%{_libdir}/*.so
 
 %changelog
+* Sat Jul 24 2010 Chen Lei <supercyper at 163.com> - 0.3-1
+- update to 0.3
+
 * Wed Feb  3 2010 Chen Lei <supercyper at 163.com> - 0.2.3-5
 - quazip-devel must Requires minizip-devel
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/quazip/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	3 Feb 2010 04:45:53 -0000	1.2
+++ sources	24 Jul 2010 19:56:30 -0000	1.3
@@ -1 +1 @@
-1f2d72e5dc9e79831933197c0c82f974  quazip-0.2.3.tar.gz
+7f4792471e8ac713f19a086638a17816  quazip-0.3.tar.gz


--- quazip-path.patch DELETED ---



More information about the scm-commits mailing list