Blame SPECS/libXrandr.spec

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