|
|
|
@ -1,6 +1,12 @@
|
|
|
|
|
%global with_mingw 0
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%global with_mingw 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: gcab
|
|
|
|
|
Version: 1.4
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 1.6
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Cabinet file library and tool
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
@ -20,6 +26,17 @@ BuildRequires: git
|
|
|
|
|
|
|
|
|
|
Requires: libgcab1%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
|
|
|
|
BuildRequires: mingw32-gcc
|
|
|
|
|
BuildRequires: mingw64-filesystem >= 95
|
|
|
|
|
BuildRequires: mingw64-gcc
|
|
|
|
|
BuildRequires: mingw64-glib2
|
|
|
|
|
BuildRequires: mingw32-glib2
|
|
|
|
|
BuildRequires: mingw64-zlib
|
|
|
|
|
BuildRequires: mingw32-zlib
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
gcab is a tool to manipulate Cabinet archive.
|
|
|
|
|
|
|
|
|
@ -40,6 +57,24 @@ libgcab is a library to manipulate Cabinet archive.
|
|
|
|
|
|
|
|
|
|
Libraries, includes, etc. to compile with the gcab library.
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
%package -n mingw32-libgcab1
|
|
|
|
|
Summary: MinGW library to create Cabinet archive.
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n mingw32-libgcab1
|
|
|
|
|
libgcab is a library to manipulate Cabinet archive.
|
|
|
|
|
|
|
|
|
|
%package -n mingw64-libgcab1
|
|
|
|
|
Summary: MinGW library to create Cabinet archive.
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n mingw64-libgcab1
|
|
|
|
|
libgcab is a library to manipulate Cabinet archive.
|
|
|
|
|
|
|
|
|
|
%{?mingw_debug_package}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -S git_am
|
|
|
|
|
|
|
|
|
@ -47,6 +82,11 @@ Libraries, includes, etc. to compile with the gcab library.
|
|
|
|
|
%meson
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
%mingw_meson -Dintrospection=false -Ddocs=false
|
|
|
|
|
%mingw_ninja
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
@ -57,13 +97,20 @@ Libraries, includes, etc. to compile with the gcab library.
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets -n libgcab1
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
%mingw_ninja_install
|
|
|
|
|
%mingw_debug_install_post
|
|
|
|
|
%mingw_find_lang %{name}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING NEWS
|
|
|
|
|
%{_bindir}/gcab
|
|
|
|
|
%{_mandir}/man1/gcab.1*
|
|
|
|
|
|
|
|
|
|
%files -n libgcab1 -f %{name}.lang
|
|
|
|
|
%doc COPYING NEWS
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc NEWS
|
|
|
|
|
%{_libdir}/girepository-1.0/GCab-1.0.typelib
|
|
|
|
|
%{_libdir}/libgcab-1.0.so.*
|
|
|
|
|
|
|
|
|
@ -76,13 +123,63 @@ Libraries, includes, etc. to compile with the gcab library.
|
|
|
|
|
%{_libdir}/libgcab-1.0.so
|
|
|
|
|
%{_libdir}/pkgconfig/libgcab-1.0.pc
|
|
|
|
|
|
|
|
|
|
%if %{with_mingw}
|
|
|
|
|
%files -n mingw32-libgcab1 -f mingw32-%{name}.lang
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{mingw32_bindir}/gcab.exe
|
|
|
|
|
%{mingw32_bindir}/libgcab-1.0-0.dll
|
|
|
|
|
%{mingw32_libdir}/libgcab-1.0.dll.a
|
|
|
|
|
%{mingw32_includedir}/libgcab-1.0/
|
|
|
|
|
%{mingw32_libdir}/pkgconfig/libgcab-1.0.pc
|
|
|
|
|
%{mingw32_mandir}/man1/gcab.1
|
|
|
|
|
|
|
|
|
|
%files -n mingw64-libgcab1 -f mingw64-%{name}.lang
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{mingw64_bindir}/gcab.exe
|
|
|
|
|
%{mingw64_bindir}/libgcab-1.0-0.dll
|
|
|
|
|
%{mingw64_libdir}/libgcab-1.0.dll.a
|
|
|
|
|
%{mingw64_includedir}/libgcab-1.0/
|
|
|
|
|
%{mingw64_libdir}/pkgconfig/libgcab-1.0.pc
|
|
|
|
|
%{mingw64_mandir}/man1/gcab.1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.6-7
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.6-6
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2023 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.6-3
|
|
|
|
|
- Add MinGW packages.
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 10 2023 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.6-1
|
|
|
|
|
- new version
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Aug 05 2022 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.5-1
|
|
|
|
|
- new version
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|