Add ldconfig scriptlet calls to -gobject.
- Fix rpmlint's spaces vs tabs warnings.
This commit is contained in:
parent
02d583f282
commit
7115630382
29
cairo.spec
29
cairo.spec
@ -5,7 +5,7 @@
|
||||
Summary: A 2D graphics library
|
||||
Name: cairo
|
||||
Version: 1.12.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
URL: http://cairographics.org
|
||||
#VCS: git:git://git.freedesktop.org/git/cairo
|
||||
#Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.xz
|
||||
@ -93,16 +93,16 @@ This package contains tools for working with the cairo graphics library.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
--enable-warnings \
|
||||
--enable-xlib \
|
||||
--enable-freetype \
|
||||
--enable-ps \
|
||||
--enable-pdf \
|
||||
--enable-svg \
|
||||
--enable-tee \
|
||||
--enable-gl \
|
||||
--enable-gobject \
|
||||
%configure --disable-static \
|
||||
--enable-warnings \
|
||||
--enable-xlib \
|
||||
--enable-freetype \
|
||||
--enable-ps \
|
||||
--enable-pdf \
|
||||
--enable-svg \
|
||||
--enable-tee \
|
||||
--enable-gl \
|
||||
--enable-gobject \
|
||||
--disable-gtk-doc
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post gobject -p /sbin/ldconfig
|
||||
%postun gobject -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS BIBLIOGRAPHY BUGS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 NEWS README
|
||||
@ -182,6 +185,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/cairo/
|
||||
|
||||
%changelog
|
||||
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.12.2-2
|
||||
- Add ldconfig scriptlet calls to -gobject.
|
||||
- Fix rpmlint's spaces vs tabs warnings.
|
||||
|
||||
* Fri May 18 2012 Matthias Clasen <mclasen@redhat.com> - 1.12.2-1
|
||||
- Update to 1.12.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user