Blame SPECS/libXrandr.spec

1a079c
%global tarball libXrandr
1a079c
#global gitdate 20130524
1a079c
%global gitversion c90f74497
1a079c
1a079c
Summary: X.Org X11 libXrandr runtime library
1a079c
Name: libXrandr
1a079c
Version: 1.5.2
1a079c
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
1a079c
License: MIT
1a079c
Group: System Environment/Libraries
1a079c
URL: http://www.x.org
1a079c
1a079c
%if 0%{?gitdate}
1a079c
Source0:    %{tarball}-%{gitdate}.tar.bz2
1a079c
Source1:    make-git-snapshot.sh
1a079c
Source2:    commitid
1a079c
%else
1a079c
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
1a079c
%endif
1a079c
1a079c
Requires: libX11 >= 1.6.0
1a079c
1a079c
BuildRequires: xorg-x11-util-macros
1a079c
BuildRequires: autoconf automake libtool
1a079c
BuildRequires: xorg-x11-proto-devel
1a079c
BuildRequires: pkgconfig(randrproto) >= 1.5.0
1a079c
BuildRequires: pkgconfig(xrender)
1a079c
BuildRequires: pkgconfig(xext)
1a079c
BuildRequires: pkgconfig(x11) >= 1.6.0
1a079c
1a079c
%description
1a079c
X.Org X11 libXrandr runtime library
1a079c
1a079c
%package devel
1a079c
Summary: X.Org X11 libXrandr development package
1a079c
Group: Development/Libraries
1a079c
Requires: %{name} = %{version}-%{release}
1a079c
1a079c
%description devel
1a079c
X.Org X11 libXrandr development package
1a079c
1a079c
%prep
1a079c
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
1a079c
1a079c
%build
1a079c
autoreconf -v --install --force
1a079c
%configure  --disable-static
1a079c
make %{?_smp_mflags}
1a079c
1a079c
%install
1a079c
rm -rf $RPM_BUILD_ROOT
1a079c
1a079c
make install DESTDIR=$RPM_BUILD_ROOT
1a079c
1a079c
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
1a079c
1a079c
%ldconfig_post
1a079c
%ldconfig_postun
1a079c
1a079c
%files
1a079c
%doc AUTHORS COPYING
1a079c
%{_libdir}/libXrandr.so.2
1a079c
%{_libdir}/libXrandr.so.2.2.0
1a079c
1a079c
%files devel
1a079c
%{_includedir}/X11/extensions/Xrandr.h
1a079c
%{_libdir}/libXrandr.so
1a079c
%{_libdir}/pkgconfig/xrandr.pc
1a079c
#%dir %{_mandir}/man3x
1a079c
%{_mandir}/man3/*.3*
1a079c
1a079c
%changelog
1a079c
* Thu Jun 04 2020 Benjamin Tissoires <benjamin.tissoires@redhat.com> - 1.5.2-1
1a079c
- libXrandr 1.5.2
1a079c
1a079c
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-9
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1a079c
1a079c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-8
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1a079c
1a079c
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 1.5.1-7
1a079c
- Drop useless %%defattr
1a079c
1a079c
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.5.1-6
1a079c
- Use ldconfig scriptlet macros
1a079c
1a079c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-5
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1a079c
1a079c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1a079c
1a079c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1a079c
1a079c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1a079c
1a079c
* Wed Oct 05 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.5.1-1
1a079c
- libXrandr 1.5.1
1a079c
- fixes CVE-2016-7947, CVE-2016-7948
1a079c
1a079c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1a079c
1a079c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1a079c
1a079c
* Sun May 17 2015 Dave Airlie <airlied@redhat.com> 1.5.0-1
1a079c
- libXrandr 1.5.0 - fixup requires/br
1a079c
1a079c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1a079c
1a079c
* Thu Jul 24 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.4.2-1%{?gitdate:.git}%{?dist}
1a079c
- libXrandr 1.4.2
1a079c
1a079c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-3
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1a079c
1a079c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1a079c
1a079c
* Mon Jun 03 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.4.1-1
1a079c
- libXrandr 1.4.1
1a079c
1a079c
* Mon May 27 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.4.0-5.20130524gitc90f74497
1a079c
- Require libX11 1.6RC2 for _XEatDataWords
1a079c
1a079c
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.4.0-4.20130524gitc90f74497
1a079c
- Update to git snapshot to fix CVEs listed below:
1a079c
- CVE-2013-1986
1a079c
1a079c
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.4.0-3
1a079c
- autoreconf for aarch64
1a079c
1a079c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1a079c
1a079c
* Thu Jul 26 2012 Dave Airlie <airlied@redhat.com> 1.4.0-1
1a079c
- libXrandr 1.4.0 upstream release.
1a079c
1a079c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1a079c
1a079c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1a079c
1a079c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1a079c
1a079c
* Mon Nov 08 2010 Adam Jackson <ajax@redhat.com> 1.3.1-1
1a079c
- libXrandr 1.3.1
1a079c
1a079c
* Tue Nov 10 2009 Adam Jackson <ajax@redhat.com> 1.3.0-5
1a079c
- randr-git.patch: Update to git
1a079c
1a079c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1a079c
1a079c
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.3.0-2
1a079c
- Un-require xorg-x11-filesystem
1a079c
- Remove useless %%dir
1a079c
1a079c
* Thu Jul 16 2009 Adam Jackson <ajax@redhat.com> 1.3.0-1
1a079c
- libXrandr 1.3.0
1a079c
1a079c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.99.4-3
1a079c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1a079c
1a079c
* Wed Feb 04 2009 Adam Jackson <ajax@redhat.com> 1.2.99.4-2
1a079c
- libXrandr-1.2.99.4-gop.patch: Fix encoding of GetOutputPrimary.
1a079c
1a079c
* Wed Dec 17 2008 Adam Jackson <ajax@redhat.com> 1.2.99.4-1
1a079c
- libXrandr 1.2.99.4
1a079c
1a079c
* Tue Nov 11 2008 Adam Jackson <ajax@redhat.com> 1.2.3-3
1a079c
- Fix Requires in -devel subpackage
1a079c
1a079c
* Mon Nov 10 2008 Adam Jackson <ajax@redhat.com> 1.2.3-2
1a079c
- Fix BuildRequires.
1a079c
1a079c
* Thu Sep 04 2008 Adam Jackson <ajax@redhat.com> 1.2.3-1
1a079c
- libXrandr 1.2.3
1a079c
1a079c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.2-3
1a079c
- Autorebuild for GCC 4.3
1a079c
1a079c
* Tue Jan 15 2008 parag <paragn@fedoraproject.org> 1.2.2-2
1a079c
- Merge-Review #226083
1a079c
- Removed BR:pkgconfig 
1a079c
- Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
1a079c
- Removed zero-length README file
1a079c
1a079c
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.2.2-1
1a079c
- libXrandr 1.2.2
1a079c
1a079c
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.2.0-5
1a079c
- Rebuild for build id
1a079c
1a079c
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.2.0-4
1a079c
- Don't install INSTALL
1a079c
1a079c
* Thu Apr 12 2007 Adam Jackson <ajax@redhat.com> 1.2.0-3
1a079c
- BuildRequire on the randrproto virtual instead of a magic x-x-p-d version.
1a079c
- Fix -devel package to require sufficiently new randrproto.
1a079c
1a079c
* Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 1.2.0-2
1a079c
- libXrandr-1.2.0-appease-cee-plus-plus.patch: don't use C++ keywords as
1a079c
  function argument names.
1a079c
1a079c
* Wed Feb 21 2007 Adam Jackson <ajax@redhat.com> 1.2.0-1
1a079c
- libXrandr 1.2.0
1a079c
1a079c
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.1-2.1
1a079c
- Update to 1.1.2
1a079c
1a079c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.1-3.1
1a079c
- rebuild
1a079c
1a079c
* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3
1a079c
- Added "Requires: xorg-x11-proto-devel" to devel pkg for xrandr.pc
1a079c
1a079c
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-2
1a079c
- Added "BuildRequires: pkgconfig" for (#193428)
1a079c
- Replace "makeinstall" with "make install DESTDIR=..." for (#192724)
1a079c
- Remove package ownership of mandir/libdir/etc.
1a079c
1a079c
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
1a079c
- Update to 1.1.1
1a079c
1a079c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1.0.2-2.2
1a079c
- bump again for double-long bug on ppc(64)
1a079c
1a079c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1.0.2-2.1
1a079c
- rebuilt for new gcc4.1 snapshot and glibc changes
1a079c
1a079c
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.1.0.2-2
1a079c
- Bumped and rebuilt
1a079c
1a079c
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.1.0.2-1
1a079c
- Updated libXrandr to version 1.1.0.2 from X11R7 RC4
1a079c
1a079c
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 1.1.0.1-1
1a079c
- Updated libXrandr to version 1.1.0.1 from X11R7 RC3
1a079c
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
1a079c
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
1a079c
- Removed 'x' suffix from manpage directories to match RC3 upstream.
1a079c
1a079c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1a079c
- rebuilt
1a079c
1a079c
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
1a079c
- Updated libXrandr to version 0.99.2 from X11R7 RC2
1a079c
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
1a079c
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
1a079c
1a079c
1a079c
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
1a079c
- Updated libXrandr to version 0.99.1 from X11R7 RC1
1a079c
- Updated file manifest to find manpages in "man3x"
1a079c
1a079c
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
1a079c
- Renamed package to remove xorg-x11 from the name due to unanimous decision
1a079c
  between developers.
1a079c
- Use Fedora Extras style BuildRoot tag.
1a079c
- Disable static library creation by default.
1a079c
- Add missing defattr to devel subpackage
1a079c
- Add missing documentation files to doc macro
1a079c
1a079c
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
1a079c
- Renamed package to prepend "xorg-x11" to the name for consistency with
1a079c
  the rest of the X11R7 packages.
1a079c
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
1a079c
  subpackage to ensure the devel package matches the installed shared libs.
1a079c
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
1a079c
  allow applications to use implementation agnostic dependencies.
1a079c
- Added post/postun scripts which call ldconfig.
1a079c
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
1a079c
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
1a079c
1a079c
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
1a079c
- Initial build.