From b23b01d360e07ccbef193dc1d2e9af37c3b18696 Mon Sep 17 00:00:00 2001 From: paragn Date: Thu, 8 Oct 2009 10:25:01 +0000 Subject: [PATCH] - Merge-Review #226066 - Removed XFree86-libs, xorg-x11-libs as Obsoletes - Removed BR:pkgconfig - Few spec cleanups --- libXcursor.spec | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/libXcursor.spec b/libXcursor.spec index e650c75..e4398b2 100644 --- a/libXcursor.spec +++ b/libXcursor.spec @@ -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 - 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 1.1.10-1 - libXcursor 1.1.10