- Add missing scriptlets for librsvg3
- Fix requires for librsvg3-devel package
This commit is contained in:
parent
4059fd6639
commit
d0fd85f782
@ -14,7 +14,7 @@
|
||||
Name: librsvg2
|
||||
Summary: An SVG library based on cairo
|
||||
Version: 2.26.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
@ -84,7 +84,7 @@ libraries from the GTK+ 3.x series.
|
||||
%package -n librsvg3-devel
|
||||
Summary: Libraries and include files for developing with librsvg3
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: librsvg3 = %{version}-%{release}
|
||||
Requires: gtk3-devel >= %{gtk2_version}
|
||||
Requires: libxml2-devel >= %{libxml2_version}
|
||||
Requires: freetype-devel >= %{freetype_version}
|
||||
@ -157,6 +157,16 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/sbin/ldconfig
|
||||
%{_bindir}/update-gdk-pixbuf-loaders %{_host} || :
|
||||
|
||||
%post -n librsvg3
|
||||
/sbin/ldconfig
|
||||
|
||||
%posttrans -n librsvg3
|
||||
gdk-pixbuf-query-loaders-3.0-%{__isa_bits} --update-cache || :
|
||||
|
||||
%postun -n librsvg3
|
||||
/sbin/ldconfig
|
||||
gdk-pixbuf-query-loaders-3.0-%{__isa_bits} --update-cache || :
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc gtk2/AUTHORS gtk2/COPYING gtk2/COPYING.LIB gtk2/NEWS gtk2/README
|
||||
@ -193,6 +203,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %{_datadir}/gtk-doc/html/rsvg-3.0
|
||||
|
||||
%changelog
|
||||
* Fri Jun 11 2010 Bastien Nocera <bnocera@redhat.com> 2.26.3-3
|
||||
- Add missing scriptlets for librsvg3
|
||||
- Fix requires for librsvg3-devel package
|
||||
|
||||
* Fri Jun 11 2010 Bastien Nocera <bnocera@redhat.com> 2.26.3-2
|
||||
- Add GTK3 port of the libraries
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user