Compare commits
4 Commits
1.2-1mamba
...
main
Author | SHA1 | Date | |
---|---|---|---|
11e2675b29 | |||
b5cac892ed | |||
3ac4f1cd31 | |||
ba4ff47846 |
69
quazip.spec
69
quazip.spec
@ -1,5 +1,5 @@
|
||||
Name: quazip
|
||||
Version: 1.2
|
||||
Version: 1.5
|
||||
Release: 1mamba
|
||||
Summary: Qt/C++ wrapper over minizip
|
||||
Group: Applications/Archiving
|
||||
@ -7,15 +7,19 @@ 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: libQt5Core
|
||||
BuildRequires: libQt6Core
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: libgcc
|
||||
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}
|
||||
@ -39,24 +43,48 @@ 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}.
|
||||
|
||||
%debug_package
|
||||
%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.
|
||||
|
||||
|
||||
%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}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
@ -73,7 +101,34 @@ This package contains libraries and header files for developing applications tha
|
||||
%{_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 Mar 06 2025 Automatic Build System <autodist@openmamba.org> 1.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Jan 23 2023 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
|
||||
|
Reference in New Issue
Block a user