%define majver %(echo %version | cut -d. -f 1-2) %define apiver 0.10 Name: goffice Version: 0.10.41 Release: 1mamba Summary: A library of document centric objects and utilities building on top of GLib and Gtk+ Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: ftp://ftp.gnome.org/pub/GNOME/sources/goffice/%{majver}/goffice-%{version}.tar.xz Patch0: %{name}-0.8.17-pcre-8.30.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgsf-devel BuildRequires: libgtk-devel BuildRequires: libpango-devel BuildRequires: librsvg-devel BuildRequires: libspectre-devel BuildRequires: libxml2-devel ## AUTOBUILDREQ-END BuildRequires: libpcre-devel >= 8.30 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A library of document centric objects and utilities building on top of GLib and Gtk+. %package -n libgoffice Summary: A library of document centric objects and utilities building on top of GLib and Gtk+ Group: System/Libraries %description -n libgoffice A library of document centric objects and utilities building on top of GLib and Gtk+. %package -n libgoffice-devel Summary: Devel package for %{name} Group: Development/Libraries Requires: libgoffice = %{?epoch:%epoch:}%{version}-%{release} %description -n libgoffice-devel A library of document centric objects and utilities building on top of GLib and Gtk+. This package contains static libraries and header files need for development. %prep %setup -q #%patch0 -p1 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ xsltdir=%{_datadir}/goffice/%{version}/mmlitex %find_lang %{name}-%{version} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -n libgoffice -f %{name}-%{version}.lang %defattr(-,root,root) %{_libdir}/libgoffice-%{apiver}.so.* %dir %{_libdir}/goffice %dir %{_libdir}/goffice/%{version} %dir %{_libdir}/goffice/%{version}/plugins %{_libdir}/goffice/%{version}/plugins/* %dir %{_datadir}/goffice %dir %{_datadir}/goffice/%{version} %dir %{_datadir}/goffice/%{version}/mmlitex %{_datadir}/goffice/%{version}/mmlitex/* %doc AUTHORS COPYING %files -n libgoffice-devel %defattr(-,root,root) %dir %{_includedir}/libgoffice-%{apiver} %dir %{_includedir}/libgoffice-%{apiver}/goffice %{_includedir}/libgoffice-%{apiver}/goffice/* %{_libdir}/libgoffice-%{apiver}.so %{_libdir}/libgoffice-%{apiver}.la %{_libdir}/pkgconfig/*.pc %{_datadir}/gtk-doc/html/goffice-%{apiver}/* %doc BUGS ChangeLog NEWS README %changelog * Wed Jun 20 2018 Automatic Build System 0.10.41-1mamba - automatic version update by autodist * Sat May 05 2018 Automatic Build System 0.10.40-1mamba - automatic version update by autodist * Fri Apr 20 2018 Automatic Build System 0.10.39-1mamba - automatic version update by autodist * Tue Jan 23 2018 Automatic Build System 0.10.38-1mamba - automatic version update by autodist * Wed Dec 20 2017 Automatic Build System 0.10.37-1mamba - automatic version update by autodist * Sun May 07 2017 Automatic Build System 0.10.34-1mamba - automatic version update by autodist * Mon Feb 06 2017 Automatic Build System 0.10.33-1mamba - automatic version update by autodist * Thu Jun 30 2016 Automatic Build System 0.10.31-1mamba - automatic version update by autodist * Sun Jun 19 2016 Automatic Build System 0.10.30-1mamba - automatic version update by autodist * Fri May 27 2016 Automatic Build System 0.10.29-1mamba - automatic version update by autodist * Fri Apr 29 2016 Automatic Build System 0.10.28-1mamba - automatic version update by autodist * Sat Feb 06 2016 Automatic Build System 0.10.27-1mamba - automatic version update by autodist * Thu Feb 04 2016 Automatic Build System 0.10.26-1mamba - automatic version update by autodist * Wed Dec 09 2015 Automatic Build System 0.10.24-1mamba - automatic version update by autodist * Sun Nov 29 2015 Automatic Build System 0.10.23-1mamba - automatic version update by autodist * Fri Sep 26 2014 Automatic Build System 0.10.18-1mamba - automatic version update by autodist * Tue Jun 10 2014 Automatic Build System 0.10.17-1mamba - automatic version update by autodist * Sat May 24 2014 Automatic Build System 0.10.16-1mamba - automatic version update by autodist * Thu May 01 2014 Automatic Build System 0.10.15-1mamba - automatic version update by autodist * Mon Apr 14 2014 Automatic Build System 0.10.14-1mamba - automatic version update by autodist * Wed Mar 19 2014 Automatic Build System 0.10.13-1mamba - automatic version update by autodist * Thu Mar 06 2014 Automatic Build System 0.10.12-1mamba - automatic version update by autodist * Mon Feb 17 2014 Automatic Build System 0.10.11-1mamba - automatic version update by autodist * Wed Feb 12 2014 Automatic Build System 0.10.10-1mamba - automatic version update by autodist * Fri Nov 29 2013 Automatic Build System 0.10.9-1mamba - automatic version update by autodist * Tue Oct 08 2013 Automatic Build System 0.10.8-1mamba - automatic version update by autodist * Mon Sep 02 2013 Automatic Build System 0.10.7-1mamba - automatic update by autodist * Wed Aug 28 2013 Automatic Build System 0.10.6-1mamba - automatic version update by autodist * Tue Aug 20 2013 Automatic Build System 0.10.5-1mamba - automatic version update by autodist * Mon Jul 15 2013 Silvan Calarco 0.10.4-1mamba - update to 0.10.4 * Sat Nov 17 2012 Automatic Build System 0.9.90-1mamba - automatic version update by autodist * Mon Oct 29 2012 Automatic Build System 0.9.6-1mamba - automatic version update by autodist * Sat Aug 04 2012 Silvan Calarco 0.8.17-2mamba - added patch and build requirement for libpcre 8.30 * Mon Jul 09 2012 Silvan Calarco 0.8.17-1mamba - update to 0.8.17 * Thu Jul 15 2010 Silvan Calarco 0.6.6-3mamba - rebuilt with libpng 1.4 * Sat May 23 2009 Automatic Build System 0.6.6-2mamba - automatic rebuild by autodist * Wed Feb 04 2009 Silvan Calarco 0.6.6-1mamba - automatic update by autodist * Fri Oct 24 2008 Silvan Calarco 0.6.5-1mamba - update to 0.6.5 * Sun Sep 16 2007 Silvan Calarco 0.4.3-1mamba - package created by autospec