libgsf/libgsf.spec

82 lines
1.9 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:56:24 -04:00
Name: libgsf
Version: 1.14.43
2019-12-13 15:36:26 +08:00
Release: 4
2019-09-30 10:56:24 -04:00
Summary: GNOME Structured File library
License: LGPLv2
URL: http://www.gnome.org/projects/libgsf/
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.14/%{name}-%{version}.tar.xz
BuildRequires: bzip2-devel chrpath gettext glib2-devel gobject-introspection-devel
BuildRequires: libxml2-devel intltool gdk-pixbuf2-devel
%description
The libgsf library is an extensible I/O abstraction library for dealing
with structured file formats.
%package devel
Summary: The devel for %{name}
Requires: libgsf = %{version}-%{release}, glib2-devel, libxml2-devel pkgconfig
%description devel
Support files necessary to compile applications with libgsf
%package help
Summary: The man for %{name}
Requires: libgsf = %{version}-%{release}
%description help
This sub-package provides the man for %{name}
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-gtk-doc --enable-introspection=yes
make %{?_smp_mflags} V=1
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%make_install
%find_lang %{name}
chrpath --delete %{buildroot}%{_bindir}/gsf*
2019-12-13 15:36:26 +08:00
%delete_la_and_a
2019-09-30 10:56:24 -04:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f libgsf.lang
%doc AUTHORS COPYING COPYING.LIB README
%{_libdir}/libgsf-1.so.*
%{_libdir}/girepository-1.0/Gsf-1.typelib
%{_bindir}/gsf-office-thumbnailer
%{_datadir}/thumbnailers/gsf-office.thumbnailer
%files devel
%{_bindir}/gsf
%{_bindir}/gsf-vba-dump
2019-12-13 15:36:26 +08:00
%{_libdir}/libgsf-1.so
2019-09-30 10:56:24 -04:00
%{_libdir}/pkgconfig/libgsf-1.pc
%{_includedir}/libgsf-1/gsf
%{_datadir}/gtk-doc/html/gsf
%{_datadir}/gir-1.0/Gsf-1.gir
%files help
%{_mandir}/man1/gsf-office-thumbnailer.1.gz
%{_mandir}/man1/gsf.1.gz
%{_mandir}/man1/gsf-vba-dump.1.gz
%changelog
2019-12-13 15:36:26 +08:00
* Wed Nov 13 2019 chengquan<chengquan3@huawei.com> - 1.14.43-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix replicate files in devel package
2019-09-30 10:56:24 -04:00
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.14.43-3
- Package init