Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

5 changed files with 152 additions and 8 deletions

View File

@ -1 +0,0 @@
4d11e37c84a41b43ca9caeff05844fe1fde6a872 SOURCES/gcab-1.1.tar.xz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/gcab-1.1.tar.xz /gcab-*.tar.xz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -1,6 +1,12 @@
%global with_mingw 0
%if 0%{?fedora}
%global with_mingw 1
%endif
Name: gcab Name: gcab
Version: 1.1 Version: 1.6
Release: 1%{?dist} Release: 7%{?dist}
Summary: Cabinet file library and tool Summary: Cabinet file library and tool
License: LGPLv2+ License: LGPLv2+
@ -8,9 +14,10 @@ License: LGPLv2+
URL: http://ftp.gnome.org/pub/GNOME/sources/gcab URL: http://ftp.gnome.org/pub/GNOME/sources/gcab
Source0: http://ftp.gnome.org/pub/GNOME/sources/gcab/%{version}/%{name}-%{version}.tar.xz Source0: http://ftp.gnome.org/pub/GNOME/sources/gcab/%{version}/%{name}-%{version}.tar.xz
BuildRequires: git-core
BuildRequires: gettext BuildRequires: gettext
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: vala-tools BuildRequires: vala
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -19,6 +26,17 @@ BuildRequires: git
Requires: libgcab1%{?_isa} = %{version}-%{release} 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 %description
gcab is a tool to manipulate Cabinet archive. gcab is a tool to manipulate Cabinet archive.
@ -39,13 +57,36 @@ libgcab is a library to manipulate Cabinet archive.
Libraries, includes, etc. to compile with the gcab library. 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 %prep
%setup -q %autosetup -S git_am
%build %build
%meson %meson
%meson_build %meson_build
%if %{with_mingw}
%mingw_meson -Dintrospection=false -Ddocs=false
%mingw_ninja
%endif
%check %check
%meson_test %meson_test
@ -56,13 +97,20 @@ Libraries, includes, etc. to compile with the gcab library.
%ldconfig_scriptlets -n libgcab1 %ldconfig_scriptlets -n libgcab1
%if %{with_mingw}
%mingw_ninja_install
%mingw_debug_install_post
%mingw_find_lang %{name}
%endif
%files %files
%doc COPYING NEWS
%{_bindir}/gcab %{_bindir}/gcab
%{_mandir}/man1/gcab.1* %{_mandir}/man1/gcab.1*
%files -n libgcab1 -f %{name}.lang %files -n libgcab1 -f %{name}.lang
%doc COPYING NEWS %license COPYING
%doc NEWS
%{_libdir}/girepository-1.0/GCab-1.0.typelib %{_libdir}/girepository-1.0/GCab-1.0.typelib
%{_libdir}/libgcab-1.0.so.* %{_libdir}/libgcab-1.0.so.*
@ -75,7 +123,97 @@ Libraries, includes, etc. to compile with the gcab library.
%{_libdir}/libgcab-1.0.so %{_libdir}/libgcab-1.0.so
%{_libdir}/pkgconfig/libgcab-1.0.pc %{_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 %changelog
* 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
* 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
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Jan 06 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.4-1
- New upstream release
* Tue Oct 08 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.3-1
- New upstream release
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 1.1-6
- Update BRs for vala packaging changes
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jan 11 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.1-4
- Fix LZX decompression corruption regression.
* Thu Aug 2 2018 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.1-3
- fix 'rewind' regression rhbz#1608301
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Richard Hughes <richard@hughsie.com> - 1.1-1 * Fri Feb 09 2018 Richard Hughes <richard@hughsie.com> - 1.1-1
- New upstream release - New upstream release
- Add git version in --version - Add git version in --version

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (gcab-1.6.tar.xz) = 26b8dcf47ba98e7cc073a551d1c965c13a72d298c8a4e124823bdbb20fe314c8f687232df9ae824a54d81f96fe7d9ac1a40aed24e51f8706595079cec2c61fc9