2023-08-02 08:50:44 +00:00
|
|
|
%global with_mingw 0
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%global with_mingw 1
|
|
|
|
%endif
|
|
|
|
|
2013-02-08 14:23:36 +00:00
|
|
|
Name: gcab
|
2023-07-10 09:21:02 +00:00
|
|
|
Version: 1.6
|
2024-01-24 12:34:55 +00:00
|
|
|
Release: 5%{?dist}
|
2013-02-08 14:23:36 +00:00
|
|
|
Summary: Cabinet file library and tool
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
#VCS: git:git://git.gnome.org/gcab
|
|
|
|
URL: http://ftp.gnome.org/pub/GNOME/sources/gcab
|
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/gcab/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
2018-08-02 14:20:09 +00:00
|
|
|
BuildRequires: git-core
|
2018-01-23 13:12:21 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gtk-doc
|
2019-02-04 11:35:26 +00:00
|
|
|
BuildRequires: vala
|
2013-02-08 14:23:36 +00:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: zlib-devel
|
2018-01-23 13:12:21 +00:00
|
|
|
BuildRequires: meson
|
2018-02-09 12:55:11 +00:00
|
|
|
BuildRequires: git
|
2013-02-08 14:23:36 +00:00
|
|
|
|
2017-03-01 17:24:45 +00:00
|
|
|
Requires: libgcab1%{?_isa} = %{version}-%{release}
|
|
|
|
|
2023-08-02 08:50:44 +00:00
|
|
|
%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
|
|
|
|
|
2013-02-08 14:23:36 +00:00
|
|
|
%description
|
|
|
|
gcab is a tool to manipulate Cabinet archive.
|
|
|
|
|
|
|
|
%package -n libgcab1
|
|
|
|
Summary: Library to create Cabinet archives
|
|
|
|
|
|
|
|
%description -n libgcab1
|
|
|
|
libgcab is a library to manipulate Cabinet archive using GIO/GObject.
|
|
|
|
|
|
|
|
%package -n libgcab1-devel
|
|
|
|
Summary: Development files to create Cabinet archives
|
2015-03-23 12:29:10 +00:00
|
|
|
Requires: libgcab1%{?_isa} = %{version}-%{release}
|
2013-02-08 14:23:36 +00:00
|
|
|
Requires: glib2-devel
|
2013-02-12 15:03:27 +00:00
|
|
|
Requires: pkgconfig
|
2013-02-08 14:23:36 +00:00
|
|
|
|
|
|
|
%description -n libgcab1-devel
|
|
|
|
libgcab is a library to manipulate Cabinet archive.
|
|
|
|
|
|
|
|
Libraries, includes, etc. to compile with the gcab library.
|
|
|
|
|
2023-08-02 08:50:44 +00:00
|
|
|
%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
|
|
|
|
|
2013-02-08 14:23:36 +00:00
|
|
|
%prep
|
2018-08-02 14:20:09 +00:00
|
|
|
%autosetup -S git_am
|
2013-02-08 14:23:36 +00:00
|
|
|
|
|
|
|
%build
|
2018-01-23 13:12:21 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2013-02-08 14:23:36 +00:00
|
|
|
|
2023-08-02 08:50:44 +00:00
|
|
|
%if %{with_mingw}
|
|
|
|
%mingw_meson -Dintrospection=false -Ddocs=false
|
|
|
|
%mingw_ninja
|
|
|
|
%endif
|
|
|
|
|
2018-01-23 13:12:21 +00:00
|
|
|
%check
|
|
|
|
%meson_test
|
2013-02-08 14:23:36 +00:00
|
|
|
|
2018-01-23 13:12:21 +00:00
|
|
|
%install
|
|
|
|
%meson_install
|
2013-02-08 14:23:36 +00:00
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2018-02-03 12:19:12 +00:00
|
|
|
%ldconfig_scriptlets -n libgcab1
|
2013-02-08 14:23:36 +00:00
|
|
|
|
2023-08-02 08:50:44 +00:00
|
|
|
%if %{with_mingw}
|
|
|
|
%mingw_ninja_install
|
|
|
|
%mingw_debug_install_post
|
|
|
|
%mingw_find_lang %{name}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2013-02-08 14:23:36 +00:00
|
|
|
%files
|
|
|
|
%{_bindir}/gcab
|
|
|
|
%{_mandir}/man1/gcab.1*
|
|
|
|
|
|
|
|
%files -n libgcab1 -f %{name}.lang
|
2023-08-02 08:50:44 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
2013-02-08 14:23:36 +00:00
|
|
|
%{_libdir}/girepository-1.0/GCab-1.0.typelib
|
|
|
|
%{_libdir}/libgcab-1.0.so.*
|
|
|
|
|
|
|
|
%files -n libgcab1-devel
|
|
|
|
%{_datadir}/gir-1.0/GCab-1.0.gir
|
|
|
|
%{_datadir}/gtk-doc/html/gcab/*
|
|
|
|
%{_datadir}/vala/vapi/libgcab-1.0.vapi
|
2018-01-23 13:12:21 +00:00
|
|
|
%{_datadir}/vala/vapi/libgcab-1.0.deps
|
2013-02-08 14:23:36 +00:00
|
|
|
%{_includedir}/libgcab-1.0/*
|
|
|
|
%{_libdir}/libgcab-1.0.so
|
|
|
|
%{_libdir}/pkgconfig/libgcab-1.0.pc
|
|
|
|
|
2023-08-02 08:50:44 +00:00
|
|
|
%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
|
|
|
|
|
2013-02-08 14:23:36 +00:00
|
|
|
%changelog
|
2024-01-24 12:34:55 +00:00
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 20:20:34 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-08-02 08:50:44 +00:00
|
|
|
* Wed Aug 02 2023 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.6-3
|
|
|
|
- Add MinGW packages.
|
|
|
|
|
2023-07-19 20:51:50 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-07-10 09:21:02 +00:00
|
|
|
* Mon Jul 10 2023 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.6-1
|
|
|
|
- new version
|
|
|
|
|
2023-01-19 04:26:34 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-08-05 07:16:23 +00:00
|
|
|
* Fri Aug 05 2022 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.5-1
|
|
|
|
- new version
|
|
|
|
|
2022-07-21 04:11:41 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 03:59:20 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 23:51:33 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 06:25:08 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 18:19:53 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-28 19:38:42 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-06 11:35:33 +00:00
|
|
|
* Mon Jan 06 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2019-10-08 08:09:56 +00:00
|
|
|
* Tue Oct 08 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.3-1
|
|
|
|
- New upstream release
|
|
|
|
|
2019-07-25 01:33:30 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-04 11:35:26 +00:00
|
|
|
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 1.1-6
|
|
|
|
- Update BRs for vala packaging changes
|
|
|
|
|
2019-01-31 20:38:26 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-11 15:51:44 +00:00
|
|
|
* Fri Jan 11 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.1-4
|
|
|
|
- Fix LZX decompression corruption regression.
|
|
|
|
|
2018-08-02 14:20:09 +00:00
|
|
|
* Thu Aug 2 2018 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.1-3
|
|
|
|
- fix 'rewind' regression rhbz#1608301
|
|
|
|
|
2018-07-13 01:10:19 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 12:48:09 +00:00
|
|
|
* Fri Feb 09 2018 Richard Hughes <richard@hughsie.com> - 1.1-1
|
|
|
|
- New upstream release
|
|
|
|
- Add git version in --version
|
|
|
|
- Fix list of new symbols in index page
|
|
|
|
|
2018-02-07 10:40:24 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-03 12:19:12 +00:00
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0-2
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2018-01-23 13:12:21 +00:00
|
|
|
* Tue Jan 23 2018 Richard Hughes <richard@hughsie.com> - 1.0-1
|
|
|
|
- New upstream release
|
|
|
|
- This fixes the security bug known as CVE-2018-5345
|
|
|
|
- Add new API for fwupd
|
|
|
|
- Do not encode timezone in generated files
|
|
|
|
- Fix countless memory leaks when parsing corrupt files
|
|
|
|
- Fix the calculation of the checksum on big endian machines
|
|
|
|
- Switch to the Meson buildsystem
|
|
|
|
|
2017-08-02 20:58:39 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 09:08:17 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 10:15:52 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-03-09 17:55:06 +00:00
|
|
|
* Wed Mar 09 2016 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.7-1
|
|
|
|
- 0.7 release update.
|
|
|
|
|
2016-02-03 21:03:55 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-12-01 13:23:00 +00:00
|
|
|
* Tue Dec 01 2015 Fabiano Fidêncio <fidencio@redhat.com> - 0.6-5
|
|
|
|
- Bump NVR and rebuild due to a mistakenly deleted build
|
|
|
|
|
2015-07-30 21:52:49 +00:00
|
|
|
* Thu Jul 30 2015 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.6-4
|
|
|
|
- Fix wrong file modification date when creating cab.
|
|
|
|
|
2015-06-17 07:03:12 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-03-23 12:29:10 +00:00
|
|
|
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 0.6-2
|
|
|
|
- Pull in the base library package when installing -devel
|
|
|
|
|
2015-03-17 15:17:40 +00:00
|
|
|
* Tue Mar 17 2015 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.6-1
|
|
|
|
- Update to upstream release v0.6
|
|
|
|
|
2015-01-06 11:33:15 +00:00
|
|
|
* Tue Jan 06 2015 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.4-7
|
|
|
|
- Avoid directory traversal CVE-2015-0552. rhbz#1179126
|
|
|
|
|
2014-08-16 13:48:00 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-22 16:46:50 +00:00
|
|
|
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.4-5
|
|
|
|
- Rebuilt for gobject-introspection 1.41.4
|
|
|
|
|
2014-06-07 13:28:19 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 12:31:33 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-12 15:03:27 +00:00
|
|
|
* Tue Feb 12 2013 Simone Caronni <negativo17@gmail.com> - 0.4-2
|
|
|
|
- Removed rpm 4.5 macros/tags, it cannot be built with the vala in el5/el6.
|
|
|
|
- Removed redundant requirement on libgcab1%%{_isa}, added automatically by rpm.
|
|
|
|
|
2013-02-08 15:40:58 +00:00
|
|
|
* Fri Feb 8 2013 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.4-1
|
|
|
|
- Update to upstream v0.4.
|
|
|
|
|
2013-02-08 14:23:36 +00:00
|
|
|
* Fri Feb 8 2013 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.3-3
|
|
|
|
- Align more fields.
|
|
|
|
- Use double percentage in comment.
|
|
|
|
- Include COPYING file in gcab package too.
|
|
|
|
|
|
|
|
* Fri Feb 8 2013 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.3-2
|
|
|
|
- Untabify.
|
|
|
|
- Use %%{buildroot} consitantly.
|
|
|
|
- Do not use -1.0 in package names.
|
|
|
|
- Add more tags based on the el5 spec template.
|
|
|
|
- Re-add --enable-fast-install trick, to make gcab relink.
|
|
|
|
|
2013-02-08 14:42:36 +00:00
|
|
|
* Sun Jan 26 2013 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.3-1
|
2013-02-08 14:23:36 +00:00
|
|
|
- Initial package (rhbz#895757)
|