From 8f282a4381a4bd0190d4ec324cbc7e2d6dad4f3d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 07:27:14 -0400 Subject: [PATCH] import gcab-1.1-1.el8 --- .gcab.metadata | 1 + .gitignore | 1 + SPECS/gcab.spec | 164 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 166 insertions(+) create mode 100644 .gcab.metadata create mode 100644 .gitignore create mode 100644 SPECS/gcab.spec diff --git a/.gcab.metadata b/.gcab.metadata new file mode 100644 index 0000000..ea51c2d --- /dev/null +++ b/.gcab.metadata @@ -0,0 +1 @@ +4d11e37c84a41b43ca9caeff05844fe1fde6a872 SOURCES/gcab-1.1.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ccc84d8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gcab-1.1.tar.xz diff --git a/SPECS/gcab.spec b/SPECS/gcab.spec new file mode 100644 index 0000000..26d0400 --- /dev/null +++ b/SPECS/gcab.spec @@ -0,0 +1,164 @@ +Name: gcab +Version: 1.1 +Release: 1%{?dist} +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 + +BuildRequires: gettext +BuildRequires: gtk-doc +BuildRequires: vala-tools +BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel +BuildRequires: zlib-devel +BuildRequires: meson +BuildRequires: git + +Requires: libgcab1%{?_isa} = %{version}-%{release} + +%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 +Requires: libgcab1%{?_isa} = %{version}-%{release} +Requires: glib2-devel +Requires: pkgconfig + +%description -n libgcab1-devel +libgcab is a library to manipulate Cabinet archive. + +Libraries, includes, etc. to compile with the gcab library. + +%prep +%setup -q + +%build +%meson +%meson_build + +%check +%meson_test + +%install +%meson_install + +%find_lang %{name} + +%ldconfig_scriptlets -n libgcab1 + +%files +%doc COPYING NEWS +%{_bindir}/gcab +%{_mandir}/man1/gcab.1* + +%files -n libgcab1 -f %{name}.lang +%doc COPYING NEWS +%{_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 +%{_datadir}/vala/vapi/libgcab-1.0.deps +%{_includedir}/libgcab-1.0/* +%{_libdir}/libgcab-1.0.so +%{_libdir}/pkgconfig/libgcab-1.0.pc + +%changelog +* Fri Feb 09 2018 Richard Hughes - 1.1-1 +- New upstream release +- Add git version in --version +- Fix list of new symbols in index page + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 1.0-2 +- Switch to %%ldconfig_scriptlets + +* Tue Jan 23 2018 Richard Hughes - 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 + +* Wed Aug 02 2017 Fedora Release Engineering - 0.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Mar 09 2016 Marc-André Lureau - 0.7-1 +- 0.7 release update. + +* Wed Feb 03 2016 Fedora Release Engineering - 0.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 01 2015 Fabiano Fidêncio - 0.6-5 +- Bump NVR and rebuild due to a mistakenly deleted build + +* Thu Jul 30 2015 Marc-André Lureau - 0.6-4 +- Fix wrong file modification date when creating cab. + +* Wed Jun 17 2015 Fedora Release Engineering - 0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Mar 23 2015 Kalev Lember - 0.6-2 +- Pull in the base library package when installing -devel + +* Tue Mar 17 2015 Marc-André Lureau - 0.6-1 +- Update to upstream release v0.6 + +* Tue Jan 06 2015 Marc-André Lureau - 0.4-7 +- Avoid directory traversal CVE-2015-0552. rhbz#1179126 + +* Sat Aug 16 2014 Fedora Release Engineering - 0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 22 2014 Kalev Lember - 0.4-5 +- Rebuilt for gobject-introspection 1.41.4 + +* Sat Jun 07 2014 Fedora Release Engineering - 0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Feb 12 2013 Simone Caronni - 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. + +* Fri Feb 8 2013 Marc-André Lureau - 0.4-1 +- Update to upstream v0.4. + +* Fri Feb 8 2013 Marc-André Lureau - 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 - 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. + +* Sun Jan 26 2013 Marc-André Lureau - 0.3-1 +- Initial package (rhbz#895757)