Incorporate changes from katzj.
This commit is contained in:
parent
f40fc3f11c
commit
094e3d57c9
12
cairo.spec
12
cairo.spec
@ -8,7 +8,7 @@ License: LGPL/MPL
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
BuildRequires: /sbin/ldconfig
|
Requires: /sbin/ldconfig
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -36,16 +36,18 @@ source vector graphics library.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-warnings --disable-glitz
|
%configure --enable-warnings --disable-glitz
|
||||||
make CFLAGS="$RPM_OPT_FLAGS"
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%makeinstall
|
%makeinstall
|
||||||
/sbin/ldconfig -n %{_libdir}
|
|
||||||
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
|
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
|
||||||
@ -62,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/cairo.pc
|
%{_libdir}/pkgconfig/cairo.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 16 2004 Kristian Høgsberg <krh@redhat.com> - 0.2.0-1
|
||||||
|
- Incorporate changes suggested by katzj: Require: ldconfig and run it
|
||||||
|
in %post and %postun, don't pass CFLAGS to make.
|
||||||
|
|
||||||
* Mon Aug 9 2004 Kristian Høgsberg <krh@redhat.com> - 0.2.0-1
|
* Mon Aug 9 2004 Kristian Høgsberg <krh@redhat.com> - 0.2.0-1
|
||||||
- Update license, explicitly disable glitz.
|
- Update license, explicitly disable glitz.
|
||||||
- Create package.
|
- Create package.
|
||||||
|
Loading…
Reference in New Issue
Block a user