librsvg/librsvg.spec

290 lines
9.2 KiB
RPMSpec
Raw Permalink Normal View History

%define majversion %(echo %version | cut -d. -f 1-2)
Name: librsvg
Version: 2.40.13
Release: 1mamba
Summary: A high performance SVG rendering library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://librsvg.sourceforge.net
Source: http://ftp.gnome.org/pub/gnome/sources/librsvg/%{majversion}/librsvg-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libcroco-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgsf-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libX11-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libart_lgpl-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
#%if "%{stage1}" != "1"
#BuildRequires: libgnome-vfs-devel
#BuildRequires: libgnomeprint-devel
#BuildRequires: libgnomeprintui-devel
#BuildRequires: xulrunner-devel
#%endif
BuildRequires: gettext-devel
BuildRequires: libpopt-devel
BuildRequires: libnspr-devel
BuildRequires: libICE-devel
BuildRequires: vala-devel
Requires: libgsf
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: librsvg-mozilla
Obsoletes: librsvg-mozilla
#librsvg-2.22.2
# Build GdkPixbuf loader: yes
# Build theme engine: yes
# Build Netscape plugin: yes
# Handle svgz files: true
# Use GIO: true
# Use libcroco for css parsing: true
%description
The GNOME SVG Library (RSVG) is a high performance library for rendering SVG and SVGZ files associated with the Gnome Project.
%package mozilla
Summary: Mozilla plugin for %{name}
Group: Applications/Web
%description mozilla
The GNOME SVG Library (RSVG) is a high performance library for rendering SVG and SVGZ files associated with the Gnome Project.
This package contains the Mozilla plugin.
%package devel
Summary: Static libraries and headers for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The GNOME SVG Library (RSVG) is a high performance library for rendering SVG and SVGZ files associated with the Gnome Project.
This package contains static libraries and header files need for development.
%package apidocs
Summary: API documentation for %{name}
Group: Documentation
Requires: gtk-doc
%description apidocs
The GNOME SVG Library (RSVG) is a high performance library for rendering SVG and SVGZ files associated with the Gnome Project.
This package contains the API documentation need for development.
%prep
%setup -q
%build
%configure \
--enable-gtk-doc \
--enable-gtk-theme \
--enable-pixbuf-loader
# --enable-gnome-vfs \
# --enable-mozilla-plugin \
%make
%install
%makeinstall
# remove unpackaged files
rm -f %{buildroot}%{_libdir}/mozilla/plugins/*.{a,la}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
/usr/bin/gdk-pixbuf-query-loaders \
> /etc/gtk-2.0/gdk-pixbuf.loaders
exit 0
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
#%{_bindir}/rsvg
%{_bindir}/rsvg-convert
#%{_bindir}/rsvg-view
%{_bindir}/rsvg-view-3
#%{_datadir}/themes/bubble/gtk-2.0/*.svg
#%{_datadir}/themes/bubble/gtk-2.0/gtkrc
#%{_datadir}/themes/bubble/gtk-3.0/gtkrc
#%{_datadir}/themes/bubble/gtk-3.0/*.svg
%{_libdir}/librsvg-2.so.*
%{_libdir}/girepository-1.0/Rsvg-2.0.typelib
#%{_libdir}/gtk-?.?/*/*/*.so
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.so
%{_mandir}/man1/*
%doc AUTHORS COPYING.LIB
#%files mozilla
#%defattr(-,root,root)
#%{_libdir}/mozilla/plugins/*.so
%files devel
%defattr(-,root,root)
%dir %{_includedir}/librsvg-2.0/librsvg
%{_includedir}/librsvg-2.0/librsvg/*
%{_libdir}/librsvg-2.a
%{_libdir}/librsvg-2.la
%{_libdir}/librsvg-2.so
#%{_libdir}/gtk-?.?/*/*/*.a
#%{_libdir}/gtk-?.?/*/*/*.la
%{_datadir}/gir-1.0/Rsvg-2.0.gir
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.a
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.la
#%{_datadir}/vala/vapi/librsvg-2.0.vapi
%{_libdir}/pkgconfig/*
%doc ChangeLog NEWS README TODO
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/rsvg-2.0
%{_datadir}/gtk-doc/html/rsvg-2.0/*
%changelog
* Wed Feb 03 2016 Automatic Build System <autodist@mambasoft.it> 2.40.13-1mamba
- automatic version update by autodist
* Thu Dec 03 2015 Automatic Build System <autodist@mambasoft.it> 2.40.12-1mamba
- automatic version update by autodist
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 2.40.11-1mamba
- automatic version update by autodist
* Tue Mar 31 2015 Automatic Build System <autodist@mambasoft.it> 2.40.9-1mamba
- automatic version update by autodist
* Tue Mar 03 2015 Automatic Build System <autodist@mambasoft.it> 2.40.8-1mamba
- automatic version update by autodist
* Sat Dec 13 2014 Automatic Build System <autodist@mambasoft.it> 2.40.6-1mamba
- automatic update by autodist
* Fri Oct 17 2014 Automatic Build System <autodist@mambasoft.it> 2.40.5-1mamba
- automatic version update by autodist
* Mon Sep 15 2014 Automatic Build System <autodist@mambasoft.it> 2.40.4-1mamba
- automatic version update by autodist
* Sat Aug 30 2014 Automatic Build System <autodist@mambasoft.it> 2.40.3-1mamba
- automatic version update by autodist
* Tue Mar 18 2014 Automatic Build System <autodist@mambasoft.it> 2.40.2-1mamba
- automatic version update by autodist
* Tue Nov 19 2013 Automatic Build System <autodist@mambasoft.it> 2.40.1-1mamba
- automatic version update by autodist
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 2.40.0-1mamba
- automatic version update by autodist
* Mon Aug 26 2013 Automatic Build System <autodist@mambasoft.it> 2.39.0-1mamba
- automatic version update by autodist
* Wed Feb 27 2013 Automatic Build System <autodist@mambasoft.it> 2.37.0-1mamba
- automatic version update by autodist
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 2.36.4-1mamba
- automatic version update by autodist
* Sun Sep 02 2012 Automatic Build System <autodist@mambasoft.it> 2.36.3-1mamba
- automatic version update by autodist
* Sun Aug 19 2012 Automatic Build System <autodist@mambasoft.it> 2.36.2-1mamba
- automatic version update by autodist
* Mon Apr 16 2012 Automatic Build System <autodist@mambasoft.it> 2.36.1-1mamba
- automatic version update by autodist
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 2.36.0-1mamba
- update to 2.36.0
* Tue Nov 15 2011 Automatic Build System <autodist@mambasoft.it> 2.35.0-1mamba
- automatic version update by autodist
* Wed Sep 07 2011 Automatic Build System <autodist@mambasoft.it> 2.34.1-1mamba
- automatic version update by autodist
* Tue Apr 05 2011 Automatic Build System <autodist@mambasoft.it> 2.34.0-1mamba
- automatic update by autodist
* Sat Nov 13 2010 Automatic Build System <autodist@mambasoft.it> 2.32.1-1mamba
- automatic update to 2.32.1 by autodist
* Wed Oct 13 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Wed Jul 07 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.3-2mamba
- rebuilt with libpng 1.4
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 2.26.3-1mamba
- automatic update to 2.26.3 by autodist
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 2.26.0-2mamba
- automatic rebuild by autodist
* Fri Mar 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
- automatic update to 2.26.0 by autodist
* Tue Mar 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.22.3-2mamba
- automatic rebuild by autodist
* Fri Jan 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.22.3-1mamba
- automatic update by autodist
* Fri Sep 26 2008 gil <puntogil@libero.it> 2.22.2-1mamba
- update to 2.22.2
* Mon Nov 12 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.18.2-1mamba
- update to 2.18.2
- launch gdk-pixbuf-query-loaders after install to enable svg support in gtk
* Sat Jun 30 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.16.1-1mamba
- update to 2.16.1
- new subpackage mozilla with Mozilla plugin
* Wed Jan 17 2007 Davide Madrisan <davide.madrisan@qilinux.it> 2.14.4-2qilnx
- new subpackage apidocs with API documentation
- added build requirements for libICE
* Thu Dec 21 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.14.4-1qilnx
- update to version 2.14.4 by autospec
- added missing build requirements
* Wed Jul 19 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.9.5-3qilnx
- fixed %%post and %%postun scriplets
* Tue Jul 18 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.9.5-2qilnx
- run gdk-pixbuf-query-loaders in %%post and %%postun scriptlets
* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.9.5-1qilnx
- update to version 2.9.5 by autospec
- specfile fixes
- added mozilla plugins
* Tue Jan 20 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-2qilnx
- added librsvg requirement
* Tue Dec 30 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1qilnx
- first build