Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 787b7537be753ab0ba598cf25e04f663 > files > 2

libxcursor-1.1.9-1mdv2008.0.src.rpm

%define major 1
%define libname %mklibname xcursor %{major}
%define develname %mklibname xcursor -d
%define staticdevelname %mklibname xcursor -d -s

Name: libxcursor
Summary:  X Cursor Library
Version: 1.1.9
Release: %mkrel 1
Group: Development/X11
License: MIT
URL: http://xorg.freedesktop.org
Source0: http://xorg.freedesktop.org/releases/individual/lib/libXcursor-%{version}.tar.bz2

BuildRequires: libx11-devel >= 1.0.0
BuildRequires: libxfixes-devel >= 3.0.1.2
BuildRequires: libxrender-devel >= 0.9.0.2
BuildRequires: x11-proto-devel >= 1.0.0
BuildRequires: x11-util-macros >= 1.0.1

BuildRoot: %{_tmppath}/%{name}-root

%description
X Cursor Library.

#-----------------------------------------------------------

%package -n %{libname}
Summary:  X Cursor Library
Group: Development/X11
Conflicts: libxorg-x11 < 7.0
Provides: %{name} = %{version}

%description -n %{libname}
X Cursor Library.

#-----------------------------------------------------------

%package -n %{develname}
Summary: Development files for %{name}
Group: Development/X11

Requires: x11-proto-devel >= 1.0.0
Provides: %{name}-devel = %{version}-%{release}
Conflicts: libxorg-x11-devel < 7.0
Obsoletes: %mklibname xcursor 1 -d
Requires: %{libname} = %{version}

%description -n %{develname}
Development files for %{name}.

%pre -n %{develname}
if [ -h %{_includedir}/X11 ]; then
	rm -f %{_includedir}/X11
fi

%files -n %{develname}
%defattr(-,root,root)
%{_libdir}/libXcursor.so
%{_libdir}/libXcursor.la
%{_libdir}/pkgconfig/xcursor.pc
%{_includedir}/X11/Xcursor/Xcursor.h
%{_mandir}/man3/*

#-----------------------------------------------------------

%package -n %{staticdevelname}
Summary: Static development files for %{name}
Group: Development/X11
Requires: %{develname} = %{version}
Provides: %{name}-static-devel = %{version}-%{release}
Conflicts: libxorg-x11-static-devel < 7.0
Obsoletes: %{mklibname xcursor 1 -d -s}

%description -n %{staticdevelname}
Static development files for %{name}

%files -n %{staticdevelname}
%defattr(-,root,root)
%{_libdir}/libXcursor.a

#-----------------------------------------------------------

%prep
%setup -q -n libXcursor-%{version}

%build
%configure2_5x	--x-includes=%{_includedir}\
		--x-libraries=%{_libdir}

%make

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig

%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libXcursor.so.%{major}*


%changelog
* Tue Aug 28 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.1.9-1mdv2008.0
+ Revision: 72713
- fix man page list
- new release

* Sat Jul 21 2007 Adam Williamson <awilliamson@mandriva.com> 1.1.8-3mdv2008.0
+ Revision: 54095
- fix static-devel's dependency on devel and make it obsolete the old one

* Tue Jul 17 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.1.8-2mdv2008.0
+ Revision: 52908
- fix libification (thanks goes to Frederik Himpe for pointing this out)

* Tue Jul 17 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.1.8-1mdv2008.0
+ Revision: 52778
- new devel library policy
- spec file clean
- new version


* Mon Jun 05 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
+ 2006-06-05 22:04:43 (36669)
- new upstream release (1.1.7):
   * Fix small memory leak.
   * Change some return 0's to NULL.
   * Look for cursors in datadir, not always /usr/share.

* Wed May 31 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
+ 2006-05-31 18:32:34 (31796)
- rebuild to fix cooker uploading

* Mon May 29 2006 Andreas Hasenack <andreas@mandriva.com>
+ 2006-05-29 14:36:37 (31646)
- renamed mdv to packages because mdv is too generic and it's hosting only packages anyway

* Thu May 25 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
+ 2006-05-25 20:17:57 (31598)
- X11R7.1

* Thu May 04 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
+ 2006-05-04 21:25:17 (26918)
- increment release

* Thu May 04 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
+ 2006-05-04 19:54:51 (26912)
- fixed more dependencies

* Thu Apr 27 2006 Gustavo Pichorim Boiko <boiko@mandriva.com>
+ 2006-04-27 04:02:05 (26704)
- Adding X.org 7.0 to the repository