|
|
d0de28 |
%global tarball libXcursor
|
|
|
d0de28 |
#global gitdate 20130524
|
|
|
d0de28 |
%global gitversion 8f677eaea
|
|
|
d0de28 |
|
|
|
d0de28 |
Summary: Cursor management library
|
|
|
d0de28 |
Name: libXcursor
|
|
|
d0de28 |
Version: 1.1.15
|
|
|
d0de28 |
Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
|
|
d0de28 |
License: MIT
|
|
|
d0de28 |
Group: System Environment/Libraries
|
|
|
d0de28 |
URL: http://www.x.org
|
|
|
d0de28 |
|
|
|
d0de28 |
%if 0%{?gitdate}
|
|
|
d0de28 |
Source0: %{tarball}-%{gitdate}.tar.bz2
|
|
|
d0de28 |
Source2: make-git-snapshot.sh
|
|
|
d0de28 |
Source3: commitid
|
|
|
d0de28 |
%else
|
|
|
d0de28 |
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
|
|
d0de28 |
%endif
|
|
|
d0de28 |
Source1: index.theme
|
|
|
d0de28 |
|
|
|
d0de28 |
Requires: libX11 >= 1.5.99.902
|
|
|
d0de28 |
|
|
|
d0de28 |
BuildRequires: autoconf automake libtool
|
|
|
d0de28 |
BuildRequires: xorg-x11-util-macros
|
|
|
d0de28 |
BuildRequires: xorg-x11-proto-devel
|
|
|
d0de28 |
BuildRequires: libX11-devel >= 1.5.99.902
|
|
|
d0de28 |
BuildRequires: libXfixes-devel
|
|
|
d0de28 |
BuildRequires: libXrender-devel >= 0.8.2
|
|
|
d0de28 |
BuildRequires: autoconf automake libtool pkgconfig
|
|
|
d0de28 |
|
|
|
d0de28 |
%description
|
|
|
d0de28 |
This is a simple library designed to help locate and load cursors.
|
|
|
d0de28 |
Cursors can be loaded from files or memory. A library of common cursors
|
|
|
d0de28 |
exists which map to the standard X cursor names.Cursors can exist in
|
|
|
d0de28 |
several sizes and the library automatically picks the best size.
|
|
|
d0de28 |
|
|
|
d0de28 |
%package devel
|
|
|
d0de28 |
Summary: Development files for %{name}
|
|
|
d0de28 |
Group: Development/Libraries
|
|
|
d0de28 |
Requires: %{name} = %{version}-%{release}
|
|
|
d0de28 |
|
|
|
d0de28 |
%description devel
|
|
|
d0de28 |
libXcursor development package.
|
|
|
d0de28 |
|
|
|
d0de28 |
%prep
|
|
|
d0de28 |
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
|
|
|
d0de28 |
iconv --from=ISO-8859-2 --to=UTF-8 COPYING > COPYING.new && \
|
|
|
d0de28 |
touch -r COPYING COPYING.new && \
|
|
|
d0de28 |
mv COPYING.new COPYING
|
|
|
d0de28 |
|
|
|
d0de28 |
# Disable static library creation by default.
|
|
|
d0de28 |
%define with_static 0
|
|
|
d0de28 |
|
|
|
d0de28 |
%build
|
|
|
d0de28 |
autoreconf -v --install --force
|
|
|
d0de28 |
#export CFLAGS="$RPM_OPT_FLAGS -DICONDIR=\"%{_datadir}/icons\""
|
|
|
d0de28 |
%configure \
|
|
|
d0de28 |
%if ! %{with_static}
|
|
|
d0de28 |
--disable-static
|
|
|
d0de28 |
%endif
|
|
|
d0de28 |
make V=1 %{?_smp_mflags}
|
|
|
d0de28 |
|
|
|
d0de28 |
%install
|
|
|
d0de28 |
rm -rf $RPM_BUILD_ROOT
|
|
|
d0de28 |
|
|
|
d0de28 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
d0de28 |
|
|
|
d0de28 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/default
|
|
|
d0de28 |
install -m 644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/default/index.theme
|
|
|
d0de28 |
|
|
|
d0de28 |
# We intentionally don't ship *.la files
|
|
|
d0de28 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
d0de28 |
|
|
|
d0de28 |
%ldconfig_post
|
|
|
d0de28 |
%ldconfig_postun
|
|
|
d0de28 |
|
|
|
d0de28 |
%files
|
|
|
d0de28 |
%doc AUTHORS COPYING README
|
|
|
d0de28 |
%{_libdir}/libXcursor.so.1
|
|
|
d0de28 |
%{_libdir}/libXcursor.so.1.0.2
|
|
|
d0de28 |
%dir %{_datadir}/icons/default
|
|
|
d0de28 |
%{_datadir}/icons/default/index.theme
|
|
|
d0de28 |
|
|
|
d0de28 |
%files devel
|
|
|
d0de28 |
%dir %{_includedir}/X11/Xcursor
|
|
|
d0de28 |
%{_includedir}/X11/Xcursor/Xcursor.h
|
|
|
d0de28 |
%if %{with_static}
|
|
|
d0de28 |
%{_libdir}/libXcursor.a
|
|
|
d0de28 |
%endif
|
|
|
d0de28 |
%{_libdir}/libXcursor.so
|
|
|
d0de28 |
%{_libdir}/pkgconfig/xcursor.pc
|
|
|
d0de28 |
#%dir %{_mandir}/man3x
|
|
|
d0de28 |
%{_mandir}/man3/Xcursor*.3*
|
|
|
d0de28 |
|
|
|
d0de28 |
%changelog
|
|
|
d0de28 |
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 1.1.15-3
|
|
|
d0de28 |
- Drop useless %%defattr
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.1.15-2
|
|
|
d0de28 |
- Use ldconfig scriptlet macros
|
|
|
d0de28 |
|
|
|
d0de28 |
* Mon Feb 26 2018 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.1.15-1%{?gitdate:.git}%{?dist}
|
|
|
d0de28 |
- libXcursor 1.1.15
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-11
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-10
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-9
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Feb 17 2017 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.1.14-8
|
|
|
d0de28 |
- Remove RHEL default cursor theme variant (rhbz#1388458)
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-7
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-6
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-5
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-4
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-3
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-2
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri May 31 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.1.14-1
|
|
|
d0de28 |
- libXCursor 1.1.14
|
|
|
d0de28 |
|
|
|
d0de28 |
* Mon May 27 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.13-7.20130524git8f677eaea
|
|
|
d0de28 |
- Require libX11 1.6RC2 for _XEatDataWords
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri May 24 2013 Adam Jackson <ajax@redhat.com> 1.1.13-6
|
|
|
d0de28 |
- Fix cursor theme in RHEL
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.1.13-3.20130524git8f677eaea
|
|
|
d0de28 |
- Update to fix following CVEs:
|
|
|
d0de28 |
- CVE-2013-2003
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.13-4
|
|
|
d0de28 |
- autoreconf for aarch64
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.13-3
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.13-2
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Mar 08 2012 Adam Jackson <ajax@redhat.com> 1.1.13-1
|
|
|
d0de28 |
- libXcursor 1.1.13
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.12-2
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Nov 17 2011 Adam Jackson <ajax@redhat.com> 1.1.12-1
|
|
|
d0de28 |
- libXcursor 1.1.12
|
|
|
d0de28 |
|
|
|
d0de28 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-3
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Feb 04 2011 Ray Strode <rstrode@redhat.com> 1.1.11-2
|
|
|
d0de28 |
- Change the default cursor theme
|
|
|
d0de28 |
(also make the dependency a soft one)
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 1.1.11-1
|
|
|
d0de28 |
- libXcursor 1.1.11
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Mar 11 2010 Matthias Clasen <mclasen@redhat.com> - 1.1.10-5
|
|
|
d0de28 |
- The theme file should _not_ be a config file
|
|
|
d0de28 |
|
|
|
d0de28 |
* Tue Mar 9 2010 Matthias Clasen <mclasen@redhat.com> - 1.1.10-4
|
|
|
d0de28 |
- Make default cursor theme inherit dmz-aa instead of Bluecurve
|
|
|
d0de28 |
- Also require the cursor theme package
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Oct 21 2009 Parag <paragn@fedoraproject.org> - 1.1.10-3
|
|
|
d0de28 |
- Merge-Review #226066
|
|
|
d0de28 |
- make is not verbose
|
|
|
d0de28 |
- preserve timestamp of index.theme
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Oct 08 2009 Parag <paragn@fedoraproject.org> - 1.1.10-2
|
|
|
d0de28 |
- Merge-Review #226066
|
|
|
d0de28 |
- Removed XFree86-libs, xorg-x11-libs as Obsoletes
|
|
|
d0de28 |
- Removed BR:pkgconfig
|
|
|
d0de28 |
- Few spec cleanups
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Aug 28 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.1.10-1
|
|
|
d0de28 |
- libXcursor 1.1.10
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.9-6
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.1.9-5
|
|
|
d0de28 |
- Un-require xorg-x11-filesystem
|
|
|
d0de28 |
- Remove useless %%dir
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.9-4
|
|
|
d0de28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.1.9-3
|
|
|
d0de28 |
- Fix license tag.
|
|
|
d0de28 |
|
|
|
d0de28 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.9-2
|
|
|
d0de28 |
- Autorebuild for GCC 4.3
|
|
|
d0de28 |
|
|
|
d0de28 |
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.9-1
|
|
|
d0de28 |
- libXcursor 1.1.9
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.8-3
|
|
|
d0de28 |
- Rebuild for PPC toolchain bug
|
|
|
d0de28 |
|
|
|
d0de28 |
* Sat Jul 7 2007 Matthias Clasen <mclasen@redhat.com> 1.1.8-3
|
|
|
d0de28 |
- Don't own /usr/share/icons
|
|
|
d0de28 |
- Require pkgconfig in -devel
|
|
|
d0de28 |
|
|
|
d0de28 |
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.1.8-2
|
|
|
d0de28 |
- Don't install INSTALL
|
|
|
d0de28 |
|
|
|
d0de28 |
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.8-1
|
|
|
d0de28 |
- Update to 1.1.8
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.7-1.1
|
|
|
d0de28 |
- rebuild
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.7-1
|
|
|
d0de28 |
- Update to 1.1.7 from X11R7.1
|
|
|
d0de28 |
|
|
|
d0de28 |
* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.6-2
|
|
|
d0de28 |
- Added "BuildRequires: xorg-x11-proto-devel"
|
|
|
d0de28 |
- Added "Requires: xorg-x11-proto-devel" to devel package, needed by xcursor.pc
|
|
|
d0de28 |
- Replace "makeinstall" with "make install DESTDIR=..."
|
|
|
d0de28 |
- Remove package ownership of mandir/libdir/etc.
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.6-1
|
|
|
d0de28 |
- Update to 1.1.6
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.1.5.2-2.2
|
|
|
d0de28 |
- bump again for double-long bug on ppc(64)
|
|
|
d0de28 |
|
|
|
d0de28 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.1.5.2-2.1
|
|
|
d0de28 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
d0de28 |
|
|
|
d0de28 |
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.1.5.2-2
|
|
|
d0de28 |
- Bumped and rebuilt
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.1.5.2-1
|
|
|
d0de28 |
- Updated libXcursor to version 1.1.5.2 from X11R7 RC4
|
|
|
d0de28 |
|
|
|
d0de28 |
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 1.1.5.1-1
|
|
|
d0de28 |
- Updated libXcursor to version 1.1.5.1 from X11R7 RC3
|
|
|
d0de28 |
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
|
|
|
d0de28 |
that /usr/lib/X11 and /usr/include/X11 pre-exist.
|
|
|
d0de28 |
- Removed 'x' suffix from manpage directories to match RC3 upstream.
|
|
|
d0de28 |
- Added default index.theme file to set BlueCurve as the default cursor theme
|
|
|
d0de28 |
to fix bug (#175532).
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
d0de28 |
- rebuilt
|
|
|
d0de28 |
|
|
|
d0de28 |
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 1.1.5-1
|
|
|
d0de28 |
- Updated libXcursor to version 1.1.5 from X11R7 RC2
|
|
|
d0de28 |
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
|
|
|
d0de28 |
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
|
|
|
d0de28 |
|
|
|
d0de28 |
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 1.1.4-1
|
|
|
d0de28 |
- Updated libXcursor to version 1.1.4 from X11R7 RC1
|
|
|
d0de28 |
|
|
|
d0de28 |
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-3
|
|
|
d0de28 |
- Renamed package to remove xorg-x11 from the name due to unanimous decision
|
|
|
d0de28 |
between developers.
|
|
|
d0de28 |
- Use Fedora Extras style BuildRoot tag.
|
|
|
d0de28 |
- Disable static library creation by default.
|
|
|
d0de28 |
- Add missing defattr to devel subpackage
|
|
|
d0de28 |
- Add missing documentation files to doc macro
|
|
|
d0de28 |
|
|
|
d0de28 |
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-2
|
|
|
d0de28 |
- Renamed package to prepend "xorg-x11" to the name for consistency with
|
|
|
d0de28 |
the rest of the X11R7 packages.
|
|
|
d0de28 |
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
|
|
|
d0de28 |
subpackage to ensure the devel package matches the installed shared libs.
|
|
|
d0de28 |
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
|
|
|
d0de28 |
allow applications to use implementation agnostic dependencies.
|
|
|
d0de28 |
- Added post/postun scripts which call ldconfig.
|
|
|
d0de28 |
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
|
|
|
d0de28 |
and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
|
|
|
d0de28 |
|
|
|
d0de28 |
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-1
|
|
|
d0de28 |
- Initial build.
|