- Merge-Review #226066

- Removed XFree86-libs, xorg-x11-libs as Obsoletes
- Removed BR:pkgconfig
- Few spec cleanups
This commit is contained in:
paragn 2009-10-08 10:25:01 +00:00
parent 4f1af6d2e0
commit b23b01d360

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 libXcursor runtime library
Summary: Cursor management library
Name: libXcursor
Version: 1.1.10
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
@ -10,26 +10,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
Source1: index.theme
BuildRequires: pkgconfig
BuildRequires: xorg-x11-util-macros
BuildRequires: xorg-x11-proto-devel
BuildRequires: libX11-devel
BuildRequires: libXfixes-devel
BuildRequires: libXrender-devel >= 0.8.2
Obsoletes: XFree86-libs, xorg-x11-libs
%description
X.Org X11 libXcursor runtime library
This is a simple library designed to help locate and load cursors.
Cursors can be loaded from files or memory. A library of common cursors
exists which map to the standard X cursor names.Cursors can exist in
several sizes and the library automatically picks the best size.
%package devel
Summary: X.Org X11 libXcursor development package
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
X.Org X11 libXcursor development package
libXcursor development package.
%prep
%setup -q
@ -43,15 +44,15 @@ X.Org X11 libXcursor development package
%if ! %{with_static}
--disable-static
%endif
make
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/default
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/icons/default/index.theme
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/default
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/default/index.theme
# We intentionally don't ship *.la files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@ -83,6 +84,12 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Xcursor*.3*
%changelog
* Thu Oct 08 2009 Parag <paragn@fedoraproject.org> - 1.1.10-2
- Merge-Review #226066
- Removed XFree86-libs, xorg-x11-libs as Obsoletes
- Removed BR:pkgconfig
- Few spec cleanups
* Fri Aug 28 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.1.10-1
- libXcursor 1.1.10