This commit is contained in:
parent
3095e6331a
commit
18f06115e8
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 28 02:38:08 CET 2009 - vuntz@novell.com
|
||||
|
||||
- Remove BuildRequires: docbook-toys, gtk-doc
|
||||
- Remove Requires of devel package: libbz2-devel, libart_lgpl-devel
|
||||
- Remove --with-html-dir configure flag that breaks the doc
|
||||
install, and non-existing --without-gimp flag.
|
||||
- Move rsvg binary to librsvg package.
|
||||
- Remove autoreconf call.
|
||||
- Use makeinstall.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 31 15:29:26 CET 2009 - vuntz@novell.com
|
||||
|
||||
|
38
librsvg.spec
38
librsvg.spec
@ -20,8 +20,6 @@
|
||||
|
||||
Name: librsvg
|
||||
%define xulrunner_version 190
|
||||
BuildRequires: docbook-toys
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: libcroco-devel
|
||||
BuildRequires: libgsf-devel
|
||||
@ -38,7 +36,7 @@ Obsoletes: librsvg2
|
||||
BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel
|
||||
PreReq: coreutils
|
||||
Version: 2.22.3
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: A Library for Rendering SVG Data
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2
|
||||
Patch1: env-paths.diff
|
||||
@ -62,7 +60,7 @@ Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: librsvg2-devel
|
||||
Obsoletes: librsvg2-devel
|
||||
Requires: %{name} = %{version} cairo-devel libcroco-devel libbz2-devel glib2-devel gtk2-devel libgsf-devel libart_lgpl-devel
|
||||
Requires: %{name} = %{version} cairo-devel libcroco-devel glib2-devel gtk2-devel libgsf-devel
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: librsvg-devel-64bit
|
||||
@ -118,18 +116,13 @@ Authors:
|
||||
%patch1
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
%configure\
|
||||
--disable-static\
|
||||
--with-svgz\
|
||||
--without-gimp\
|
||||
--with-html-dir=%{_docdir}/%{name}
|
||||
--with-svgz
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}
|
||||
cp AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
%makeinstall
|
||||
mv $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins $RPM_BUILD_ROOT%{_libdir}/browser-plugins
|
||||
rmdir $RPM_BUILD_ROOT%{_libdir}/mozilla
|
||||
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a $RPM_BUILD_ROOT/%{_libdir}/*/*.*a $RPM_BUILD_ROOT/%{_libdir}/*/*/*/*.*a
|
||||
@ -147,17 +140,13 @@ touch var/adm/SuSEconfig/run-gtk
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/AUTHORS
|
||||
%doc %{_docdir}/%{name}/COPYING
|
||||
%doc %{_docdir}/%{name}/ChangeLog
|
||||
%doc %{_docdir}/%{name}/NEWS
|
||||
%doc %{_docdir}/%{name}/README
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/gtk-2.0/*/*/*.so
|
||||
|
||||
%files -n rsvg-view
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/rsvg
|
||||
%{_bindir}/rsvg-convert
|
||||
%{_bindir}/rsvg-view
|
||||
%{_datadir}/pixmaps/*.svg
|
||||
@ -165,18 +154,27 @@ touch var/adm/SuSEconfig/run-gtk
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
# FIXME: move devhelp doc to correct place
|
||||
%doc %{_docdir}/%{name}/rsvg
|
||||
%{_bindir}/rsvg
|
||||
%{_includedir}/librsvg-2
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_datadir}/gtk-doc/html/*
|
||||
# Own these repositories to not depend on gtk-doc while building:
|
||||
%dir %{_datadir}/gtk-doc
|
||||
%dir %{_datadir}/gtk-doc/html
|
||||
|
||||
%files plugin
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/browser-plugins/*.so
|
||||
|
||||
%changelog
|
||||
* Sat Feb 28 2009 vuntz@novell.com
|
||||
- Remove BuildRequires: docbook-toys, gtk-doc
|
||||
- Remove Requires of devel package: libbz2-devel, libart_lgpl-devel
|
||||
- Remove --with-html-dir configure flag that breaks the doc
|
||||
install, and non-existing --without-gimp flag.
|
||||
- Move rsvg binary to librsvg package.
|
||||
- Remove autoreconf call.
|
||||
- Use makeinstall.
|
||||
* Sat Jan 31 2009 vuntz@novell.com
|
||||
- Remove unneeded BuildRequires: docbook-toys,
|
||||
libgnomeprintui-devel, update-desktop-files, xmlcharent
|
||||
|
Loading…
Reference in New Issue
Block a user