You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
3.5 KiB
127 lines
3.5 KiB
Name: quazip
|
|
Version: 0.5.1
|
|
Release: 2%{?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
|
|
Patch0: quazip-0.5.1-zlib.patch
|
|
BuildRequires: qt4-devel
|
|
BuildRequires: doxygen graphviz
|
|
|
|
%description
|
|
QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
|
|
can be used to access ZIP archives. It uses Trolltech's Qt toolkit.
|
|
|
|
QuaZIP allows you to access files inside ZIP archives using QIODevice API,
|
|
and - yes! - that means that you can also use QTextStream, QDataStream or
|
|
whatever you would like to use on your zipped files.
|
|
|
|
QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both reading
|
|
from and writing to ZIP archives.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: qt4-devel%{?_isa}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries, header files and documentation
|
|
for developing applications that use %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .zl
|
|
|
|
# Fixes build and install
|
|
sed -i 's\PREFIX/lib\PREFIX/%{_lib}\' %{name}/%{name}.pro
|
|
|
|
|
|
%build
|
|
export PATH=%{_qt4_bindir}:$PATH
|
|
%{_qt4_qmake} PREFIX=%{_prefix}
|
|
#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
|
|
make INSTALL="install -p" INSTALL_ROOT=%{buildroot} install
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING NEWS.txt README.txt
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%doc doc/html
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/*.so
|
|
|
|
%changelog
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Sun Mar 03 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.5.1-1
|
|
- Update to 0.5.1
|
|
|
|
* Sun Sep 09 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.5-1
|
|
- Update to 0.5
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Mon Jan 16 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.4.4-1
|
|
- Update to 0.4.4
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Sat Dec 17 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.4.3-1
|
|
- Update to 0.4.3
|
|
|
|
* Fri Aug 19 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.4.2-1
|
|
- Update to 0.4.2
|
|
- Rebase ld patch
|
|
|
|
* Mon Jul 25 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.4.1-1
|
|
- Update to 0.4.1
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* 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
|
|
- update to 0.3
|
|
|
|
* Wed Feb 3 2010 Chen Lei <supercyper@163.com> - 0.2.3-5
|
|
- quazip-devel must Requires minizip-devel
|
|
|
|
* Sun Jan 31 2010 Chen Lei <supercyper@163.com> - 0.2.3-4
|
|
- change license to GPLv2+ or LGPLv2+
|
|
|
|
* Sun Jan 31 2010 Chen Lei <supercyper@163.com> - 0.2.3-3
|
|
- use %%doc for packaging documentations
|
|
|
|
* Sun Jan 31 2010 Chen Lei <supercyper@163.com> - 0.2.3-2
|
|
- use system-wide minizip library
|
|
|
|
* Sun Jan 31 2010 Chen Lei <supercyper@163.com> - 0.2.3-1
|
|
- initial rpm build
|