libgsf/libgsf.spec

161 lines
4.8 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: libgsf
Version: 1.14.31
Release: 1mamba
Summary: The GNOME Structured File Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
Source: http://ftp.gnome.org/pub/gnome/sources/libgsf/%{majver}/%{name}-%{version}.tar.xz
URL: http://www.gnome.org
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbonobo-devel
BuildRequires: libbzip2-devel
BuildRequires: libglib-devel
%if "%{stage1}" != "1"
BuildRequires: libgtk-devel
%endif
BuildRequires: libpython-devel
BuildRequires: libselinux-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: perl-XML-Parser
%if "%{stage1}" != "1"
BuildRequires: pygtk-devel
%endif
Obsoletes: libgsf12
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libgsf -- The GNOME Structured File Library.
The project aims to provide an efficient extensible i/o abstraction for dealing with different structured file formats.
%package devel
Summary: Devel files for the GNOME Structured File Library
Group: Development/Libraries
Obsoletes: libgsf12-devel
Requires: %{name} = %{version}-%{release}
%description devel
libgsf -- The GNOME Structured File Library.
The project aims to provide an efficient extensible i/o abstraction for dealing with different structured file formats.
This is the devel package for the libgsf library.
%package -n gsf
Summary: Base tools using libgsf, the GNOME Structured File Library
Group: System/Tools
Obsoletes: gsf12
Requires: libgsf = %{version}-%{release}
%description -n gsf
Base tools using libgsf, the GNOME Structured File Library.
The project aims to provide an efficient extensible i/o abstraction for dealing with different structured file formats.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libgsf-1.so.*
#%{_libdir}/girepository-1.0/Gsf-1.typelib
#%if "%{stage1}" != "1"
#%{python_sitearch}/gsf/*
#%endif
%doc COPYING.LIB AUTHORS
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libgsf-1
%{_includedir}/libgsf-1/*
%{_libdir}/libgsf-1.a
%{_libdir}/libgsf-1.la
%{_libdir}/libgsf-1.so
#%{_datadir}/gir-1.0/Gsf-1.gir
%{_datadir}/gtk-doc/html/*
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog BUGS HACKING NEWS README TODO
%files -n gsf
%defattr(-,root,root)
%{_bindir}/gsf
%{_bindir}/gsf-office-thumbnailer
%{_bindir}/gsf-vba-dump
%{_datadir}/thumbnailers/gsf-office.thumbnailer
%{_mandir}/man1/gsf-office-thumbnailer.1.gz
%{_mandir}/man1/gsf.1.gz
%{_mandir}/man1/gsf-vba-dump.1.gz
%changelog
* Thu Feb 12 2015 Automatic Build System <autodist@mambasoft.it> 1.14.31-1mamba
- automatic version update by autodist
* Thu Mar 20 2014 Automatic Build System <autodist@mambasoft.it> 1.14.30-1mamba
- automatic version update by autodist
* Sun Jan 05 2014 Automatic Build System <autodist@mambasoft.it> 1.14.29-1mamba
- automatic version update by autodist
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 1.14.28-1mamba
- automatic update by autodist
* Sun Jun 23 2013 Automatic Build System <autodist@mambasoft.it> 1.14.27-1mamba
- automatic version update by autodist
* Tue Mar 05 2013 Automatic Build System <autodist@mambasoft.it> 1.14.26-1mamba
- automatic version update by autodist
* Wed Nov 14 2012 Automatic Build System <autodist@mambasoft.it> 1.14.25-1mamba
- automatic version update by autodist
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 1.14.24-1mamba
- automatic version update by autodist
* Tue Aug 14 2012 Automatic Build System <autodist@mambasoft.it> 1.14.23-1mamba
- update to 1.14.23
* Fri Jul 22 2011 Automatic Build System <autodist@mambasoft.it> 1.14.21-1mamba
- automatic update to 3.0.3.0 by autodist
* Tue Jun 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.18-2mamba
- rebuilt to add pkgconfig provides
* Fri Jun 04 2010 Automatic Build System <autodist@mambasoft.it> 1.14.18-1mamba
- automatic update by autodist
* Tue Oct 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.16-2mamba
- obsolete libgsf12
* Mon Oct 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.16-1mamba
- update to 1.14.16
* Sun Sep 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.7-1mamba
- update to 1.14.7
* Tue Oct 04 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.12.2-1qilnx
- update to version 1.12.2 by autospec
* Mon Oct 27 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.8.2-1qilnx
- first build