Compare commits
5 Commits
0.9-1mamba
...
1.3-2mamba
Author | SHA1 | Date | |
---|---|---|---|
3ac4f1cd31 | |||
ba4ff47846 | |||
60e6a3aab9 | |||
27d42188c4 | |||
fbd2664e52 |
87
quazip.spec
87
quazip.spec
@ -1,25 +1,25 @@
|
||||
Name: quazip
|
||||
Version: 0.9
|
||||
Release: 1mamba
|
||||
Version: 1.3
|
||||
Release: 2mamba
|
||||
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
|
||||
## GITSOURCE https://github.com/stachenov/quazip.git v0.8.1
|
||||
Source: https://github.com/stachenov/quazip.git/v%{version}/quazip-%{version}.tar.bz2
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt6-qt5compat-devel
|
||||
BuildRequires: qt6-qtbase-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Qt/C++ wrapper over minizip.
|
||||
@ -40,18 +40,44 @@ 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}.
|
||||
|
||||
%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.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%cmake -d build5 \
|
||||
-DQUAZIP_QT_MAJOR_VERSION=5
|
||||
|
||||
%make
|
||||
cd ..
|
||||
|
||||
%cmake -d build6 \
|
||||
-DQUAZIP_QT_MAJOR_VERSION=6
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
%makeinstall -C build5
|
||||
|
||||
%makeinstall -C build6
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -59,22 +85,55 @@ This package contains libraries and header files for developing applications tha
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%post -n lib%{name}-qt6 -p /sbin/ldconfig
|
||||
%postun -n lib%{name}-qt6 -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libquazip5.so.*
|
||||
%{_libdir}/libquazip1-qt5.so.*
|
||||
%doc COPYING
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/quazip5
|
||||
%{_includedir}/quazip5/*
|
||||
%{_libdir}/libquazip5.a
|
||||
%{_libdir}/libquazip5.so
|
||||
%{_libdir}/cmake/QuaZip5/QuaZip5Config.cmake
|
||||
%{_libdir}/pkgconfig/quazip.pc
|
||||
%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
|
||||
%doc README.md
|
||||
|
||||
%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
|
||||
|
||||
%changelog
|
||||
* Thu Sep 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-2mamba
|
||||
- added -qt6 subpackages
|
||||
|
||||
* Sun Apr 17 2022 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Nov 14 2021 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 20 2020 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon May 25 2020 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 03 2020 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Reference in New Issue
Block a user