Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:C:DVD
quazip-qt5
quazip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File quazip.spec of Package quazip-qt5
# # spec file for package quazip # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define so_ver 1 Name: quazip Version: 0.7.3 Release: 0 Summary: C++ wrapper for ZIP/UNZIP License: GPL-2.0+ or LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://quazip.sourceforge.net/ Source0: http://sourceforge.net/projects/quazip/files/quazip/%{version}/quazip-%{version}.tar.gz BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes BuildRequires: graphviz BuildRequires: graphviz-gnome BuildRequires: pkgconfig BuildRequires: zlib-devel BuildRequires: pkgconfig(QtCore) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt4 toolkit. Useful to access ZIP archives from the Qt programs. %package -n libquazip%{so_ver} Summary: C++ wrapper for ZIP/UNZIP Group: Development/Libraries/C and C++ %description -n libquazip%{so_ver} A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt4 toolkit. Useful to access ZIP archives from the Qt programs. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: libquazip%{so_ver} = %{version}-%{release} Requires: pkgconfig(QtCore) %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: C++ wrapper for ZIP/UNZIP Group: Development/Libraries/C and C++ %description doc A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt4 toolkit. Useful to access ZIP archives from the Qt programs. %prep %setup -q %build pushd quazip qmake PREFIX=%{_prefix} QMAKE_CFLAGS="%{optflags}" QMAKE_CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" make %{?_smp_mflags} popd sed -i 's/HTML_TIMESTAMP\s*= YES/HTML_TIMESTAMP=NO/' Doxyfile doxygen -u doxygen %install pushd quazip make install INSTALL_ROOT=%{buildroot} if [ "%{_lib}" != "lib" ]; then mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} fi popd pushd doc/html %fdupes -s . popd %post -n libquazip%{so_ver} -p /sbin/ldconfig %postun -n libquazip%{so_ver} -p /sbin/ldconfig %files -n libquazip%{so_ver} %defattr(-,root,root,-) %doc COPYING* NEWS.txt README.txt %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc COPYING* %{_includedir}/* %{_libdir}/*.so %files doc %defattr(-,root,root,-) %doc doc/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor