Blame SPECS/libXcursor.spec

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