|
|
@ -1,14 +1,13 @@
|
|
|
|
Name: quazip
|
|
|
|
Name: quazip
|
|
|
|
Version: 0.3
|
|
|
|
Version: 0.3
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Qt/C++ wrapper for the minizip library
|
|
|
|
Summary: Qt/C++ wrapper for the minizip library
|
|
|
|
License: GPLv2+ or LGPLv2+
|
|
|
|
License: GPLv2+ or LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://quazip.sourceforge.net/
|
|
|
|
URL: http://quazip.sourceforge.net/
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: qt4-devel
|
|
|
|
BuildRequires: qt4-devel minizip-devel
|
|
|
|
BuildRequires: minizip-devel
|
|
|
|
BuildRequires: doxygen graphviz
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
|
|
|
|
QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
|
|
|
@ -46,7 +45,7 @@ sed -i 's/\*.c //' %{name}/%{name}.pro
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export PATH=%{_qt4_bindir}:$PATH
|
|
|
|
export PATH=%{_qt4_bindir}:$PATH
|
|
|
|
%{_qt4_qmake} PREFIX=%{_prefix} LIBS+=" -lminizip" INCLUDEPATH+=" %{_includedir}/minizip"
|
|
|
|
%{_qt4_qmake} PREFIX=%{_prefix} LIBS+=-lminizip INCLUDEPATH+=%{_includedir}/minizip
|
|
|
|
#do not build in parallel - there are race conditions in
|
|
|
|
#do not build in parallel - there are race conditions in
|
|
|
|
#qmake-generated makefiles
|
|
|
|
#qmake-generated makefiles
|
|
|
|
make
|
|
|
|
make
|
|
|
@ -78,6 +77,9 @@ rm -rf %{buildroot}
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jul 24 2010 Chen Lei <supercyper@163.com> - 0.3-2
|
|
|
|
|
|
|
|
- add BR:graphviz for building apidocs
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 24 2010 Chen Lei <supercyper@163.com> - 0.3-1
|
|
|
|
* Sat Jul 24 2010 Chen Lei <supercyper@163.com> - 0.3-1
|
|
|
|
- update to 0.3
|
|
|
|
- update to 0.3
|
|
|
|
|
|
|
|
|
|
|
|