75 lines
1.7 KiB
RPMSpec
75 lines
1.7 KiB
RPMSpec
Name: gcab
|
|
Version: 1.1
|
|
Release: 5
|
|
Summary: A GObject library to create cabinet files
|
|
License: LGPLv2+
|
|
URL: http://ftp.gnome.org/pub/GNOME/sources/gcab
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Patch1: 0001-gcab-Fix-regression-from-commit-a15d91073fd5d6be25.patch
|
|
|
|
BuildRequires: meson zlib-devel gobject-introspection-devel glib2-devel
|
|
BuildRequires: gettext gtk-doc vala
|
|
BuildRequires: git
|
|
|
|
Obsoletes: libgcab1 < %{version}-%{release}
|
|
Provides: libgcab1 = %{version}-%{release}
|
|
|
|
%description
|
|
Gcab is a gobject library to create cabinet files.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: glib2-devel pkgconfig
|
|
|
|
Obsoletes: libgcab1-devel
|
|
Provides: libgcab1-devel
|
|
|
|
%description devel
|
|
This package contains the development files for %{name}.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%find_lang %{name}
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%ldconfig_scriptlets -n gcab
|
|
|
|
%files -f %{name}.lang
|
|
%license COPYING
|
|
%{_bindir}/%{name}
|
|
%{_libdir}/*/GCab-1.0.typelib
|
|
%{_libdir}/lib%{name}*.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/libgcab-1.0/*
|
|
%{_libdir}/lib%{name}*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_datadir}/gir-1.0/GCab-1.0.gir
|
|
%{_datadir}/gtk-doc/html/%{name}/*
|
|
%{_datadir}/vala/*/lib%{name}-1.0*
|
|
|
|
%files help
|
|
%doc NEWS README.md
|
|
%{_mandir}/man1/gcab.1*
|
|
|
|
%changelog
|
|
* Tue May 18 2021 lin.zhang <lin.zhang@turbolinux.com.cn> - 1.1-5
|
|
- add BuildRequires git
|
|
|
|
* Mon Nov 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1-4
|
|
- Package init
|