2024-01-05 17:19:59 +01:00
|
|
|
Name: quazip
|
2024-01-05 17:19:59 +01:00
|
|
|
Version: 1.3
|
2024-01-05 17:19:59 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 17:19:59 +01:00
|
|
|
Summary: Qt/C++ wrapper over minizip
|
|
|
|
Group: Applications/Archiving
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/stachenov/quazip
|
|
|
|
Source: https://github.com/stachenov/quazip.git/v%{version}/quazip-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-05 17:19:59 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
2024-01-05 17:19:59 +01:00
|
|
|
BuildRequires: qt6-qt5compat-devel
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
2024-01-05 17:19:59 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Qt/C++ wrapper over minizip.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Qt/C++ wrapper over minizip
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Qt/C++ wrapper over minizip.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
%package -n lib%{name}-qt6
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Qt/C++ wrapper over minizip for Qt6
|
|
|
|
|
|
|
|
%description -n lib%{name}-qt6
|
|
|
|
Qt/C++ wrapper over minizip.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-qt6-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}-qt6
|
|
|
|
Requires: lib%{name}-qt6 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-qt6-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}-qt6.
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:19:59 +01:00
|
|
|
%cmake -d build5 \
|
2024-01-05 17:19:59 +01:00
|
|
|
-DQUAZIP_QT_MAJOR_VERSION=5
|
2024-01-05 17:19:59 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
%cmake -d build6 \
|
|
|
|
-DQUAZIP_QT_MAJOR_VERSION=6
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 17:19:59 +01:00
|
|
|
%makeinstall -C build5
|
|
|
|
|
|
|
|
%makeinstall -C build6
|
2024-01-05 17:19:59 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
%post -n lib%{name}-qt6 -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name}-qt6 -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:19:59 +01:00
|
|
|
%{_libdir}/libquazip1-qt5.so.*
|
2024-01-05 17:19:59 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:19:59 +01:00
|
|
|
%dir %{_includedir}/QuaZip-Qt5-%{version}
|
|
|
|
%{_includedir}/QuaZip-Qt5-%{version}/*
|
|
|
|
%{_libdir}/libquazip1-qt5.so
|
|
|
|
%dir %{_libdir}/cmake/QuaZip-Qt5-%{version}
|
|
|
|
%{_libdir}/cmake/QuaZip-Qt5-%{version}/QuaZip-Qt5*.cmake
|
|
|
|
%{_libdir}/pkgconfig/quazip1-qt5.pc
|
2024-01-05 17:19:59 +01:00
|
|
|
%doc README.md
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
%files -n lib%{name}-qt6
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libquazip1-qt6.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-qt6-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/QuaZip-Qt6-%{version}
|
|
|
|
%dir %{_includedir}/QuaZip-Qt6-%{version}/quazip/
|
|
|
|
%{_includedir}/QuaZip-Qt6-%{version}/quazip/*
|
|
|
|
%dir %{_libdir}/cmake/QuaZip-Qt6-%{version}
|
|
|
|
%{_libdir}/cmake/QuaZip-Qt6-%{version}/QuaZip-Qt6*.cmake
|
|
|
|
%{_libdir}/libquazip1-qt6.so
|
|
|
|
%{_libdir}/pkgconfig/quazip1-qt6.pc
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
%changelog
|
2024-01-05 17:19:59 +01:00
|
|
|
* Thu Sep 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-2mamba
|
|
|
|
- added -qt6 subpackages
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
* Sun Apr 17 2022 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
* Sun Nov 14 2021 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
* Tue Oct 20 2020 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
* Mon May 25 2020 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
* Sun May 03 2020 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:19:59 +01:00
|
|
|
* Thu Aug 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
|
|
|
|
- package created using the webbuild interface
|