Compare commits
15 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d075d2af45 | ||
|
|
4c0f4babdc | ||
|
|
a0ed2d5615 | ||
|
|
68754a52e3 | ||
|
|
95875f2ff9 | ||
|
|
4c1f67aa42 | ||
|
|
10a5da8081 | ||
|
|
20bed09064 | ||
|
|
c11ced66a7 | ||
|
|
601dfeca2b | ||
|
|
c1425c9652 | ||
|
|
f5ecc47d79 | ||
|
|
f9cd5d3383 | ||
|
|
5546d01790 | ||
|
|
5123819275 |
2 changed files with 12 additions and 10 deletions
20
quazip.spec
20
quazip.spec
|
|
@ -1,5 +1,3 @@
|
|||
%undefine __cmake_in_source_build
|
||||
|
||||
%if 0%{?rhel}
|
||||
# EPEL - only Qt5 packages
|
||||
%bcond_with qt4
|
||||
|
|
@ -16,17 +14,19 @@
|
|||
|
||||
# see top-ldevel CMakeLists.txt for variables of same name
|
||||
%global QUAZIP_LIB_VERSION %{version}
|
||||
%global QUAZIP_LIB_SOVERSION 1.3.0
|
||||
%global QUAZIP_LIB_SOVERSION 1.4.0
|
||||
|
||||
Name: quazip
|
||||
Version: 1.3
|
||||
Version: 1.4
|
||||
Release: %autorelease
|
||||
Summary: Qt/C++ wrapper for the minizip library
|
||||
License: GPLv2+ or LGPLv2+
|
||||
# Automatically converted from old format: GPLv2+ or LGPLv2+ - review is highly recommended.
|
||||
License: GPL-2.0-or-later OR LicenseRef-Callaway-LGPLv2+
|
||||
URL: https://github.com/stachenov/quazip
|
||||
Source0: %{url}/archive/v%{version}/%{name}-v%{version}.tar.gz
|
||||
# pre-1.0 compat CMake module
|
||||
Source1: FindQuaZip.cmake
|
||||
BuildRequires: bzip2-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: zlib-devel
|
||||
|
|
@ -59,6 +59,7 @@ from and writing to ZIP archives.
|
|||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: bzip2-devel%{?_isa}
|
||||
Requires: qt4-devel%{?_isa}
|
||||
Requires: zlib-devel%{?_isa}
|
||||
|
||||
|
|
@ -84,6 +85,7 @@ from and writing to ZIP archives.
|
|||
%package qt5-devel
|
||||
Summary: Development files for %{name}-qt5
|
||||
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
|
||||
Requires: bzip2-devel%{?_isa}
|
||||
Requires: qt5-qtbase-devel%{?_isa}
|
||||
Requires: zlib-devel%{?_isa}
|
||||
|
||||
|
|
@ -109,6 +111,7 @@ from and writing to ZIP archives.
|
|||
%package qt6-devel
|
||||
Summary: Development files for %{name}-qt6
|
||||
Requires: %{name}-qt6%{?_isa} = %{version}-%{release}
|
||||
Requires: bzip2-devel%{?_isa}
|
||||
Requires: qt6-qtbase-devel%{?_isa}
|
||||
Requires: qt6-qt5compat-devel%{?_isa}
|
||||
Requires: zlib-devel%{?_isa}
|
||||
|
|
@ -212,21 +215,20 @@ export QT_ENABLE_REGEXP_JIT=0
|
|||
|
||||
%if %{with qt4}
|
||||
%global _vpath_builddir build-qt4
|
||||
%cmake_build -t check
|
||||
%ctest
|
||||
%endif
|
||||
|
||||
%if %{with qt5}
|
||||
%global _vpath_builddir build-qt5
|
||||
%cmake_build -t check
|
||||
%ctest
|
||||
%endif
|
||||
|
||||
%if %{with qt6}
|
||||
%global _vpath_builddir build-qt6
|
||||
%cmake_build -t check
|
||||
%ctest
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%if %{with qt4}
|
||||
%files
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (quazip-v1.3.tar.gz) = 3861a9084059576ff2690e8b911394b0286a60542ab021a4cc588537a60ea3a186ed7903c76544698001fa383dfd0de96bdfed433abaefc44158d3b30ab16fe2
|
||||
SHA512 (quazip-v1.4.tar.gz) = 38ce3aa77df1fd92229454e56b7290c066d1e319afa36a9f8ec8477004ae94df682e8f454f13cdaf586a1d0b0e033fe698081033a19536ecd53dd1e4b0204af9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue