package created using the webbuild interface [release 0.8.1-1mamba;Thu Aug 01 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 17:19:59 +01:00
parent 686acafdd8
commit 6ba7a85730
2 changed files with 80 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# quazip
Qt/C++ wrapper over minizip.

78
quazip.spec Normal file
View File

@ -0,0 +1,78 @@
Name: quazip
Version: 0.8.1
Release: 1mamba
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
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%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)
%{_libdir}/libquazip5.so.*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/quazip5
%{_includedir}/quazip5/*
%{_libdir}/libquazip5.a
%{_libdir}/libquazip5.so
%{_datadir}/cmake/Modules/FindQuaZip5.cmake
%doc README.md
%changelog
* Thu Aug 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
- package created using the webbuild interface