2c1b99
%define tarname xorg-docs
2c1b99
2c1b99
Summary: X.Org X11 documentation
2c1b99
Name: xorg-x11-docs
2c1b99
Version: 1.6
fec759
Release: 7%{?dist}
2c1b99
License: MIT
2c1b99
Group: Documentation
2c1b99
URL: http://www.x.org
2c1b99
2c1b99
BuildArch: noarch
2c1b99
2c1b99
Source0: ftp://ftp.x.org/pub/individual/doc/%{tarname}-%{version}.tar.bz2
2c1b99
Patch0: docs-1.3-registry.patch
2c1b99
2c1b99
BuildRequires: pkgconfig autoconf automake libtool
2c1b99
BuildRequires: xorg-sgml-doctools >= 1.1.1
2c1b99
BuildRequires: xorg-x11-util-macros
2c1b99
BuildRequires: ghostscript
2c1b99
BuildRequires: xmlto >= 0.0.24-2
2c1b99
BuildRequires: xmlto-tex fop
2c1b99
BuildRequires: java-1.7.0-openjdk
2c1b99
2c1b99
%define x11docdir %{_datadir}/doc/xorg-x11-docs-%{version}
2c1b99
2c1b99
%description
2c1b99
Protocol and other technical documentation for the X.Org X11 X Window System
2c1b99
implementation.
2c1b99
2c1b99
%prep
2c1b99
%setup -q -n %{tarname}-%{version}
2c1b99
%patch0 -p1 -b .registry
2c1b99
2c1b99
%build
2c1b99
autoreconf -v --install || exit 1
2c1b99
%configure --docdir=%{x11docdir}
2c1b99
make
2c1b99
2c1b99
%install
2c1b99
rm -rf $RPM_BUILD_ROOT
2c1b99
2c1b99
make install DESTDIR=$RPM_BUILD_ROOT
2c1b99
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/Xprint.7*
2c1b99
2c1b99
%clean
2c1b99
rm -rf $RPM_BUILD_ROOT
2c1b99
2c1b99
%files
2c1b99
%defattr(-,root,root,-)
2c1b99
%{x11docdir}
2c1b99
%{_mandir}/man7/Consortium.7*
2c1b99
%{_mandir}/man7/Standards.7*
2c1b99
%{_mandir}/man7/X.7*
2c1b99
%{_mandir}/man7/XOrgFoundation.7*
2c1b99
%{_mandir}/man7/XProjectTeam.7*
2c1b99
%{_mandir}/man7/Xsecurity.7*
2c1b99
2c1b99
%changelog
fec759
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.6-7
fec759
- Mass rebuild 2013-12-27
fec759
2c1b99
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-6
2c1b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2c1b99
2c1b99
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-5
2c1b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2c1b99
2c1b99
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
2c1b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2c1b99
2c1b99
* Tue Nov 29 2011 Dave Airlie <airlied@redhat.com> 1.6-3
2c1b99
- update build requires + docdir + (temporary jdk 1.7 to workaround bug in rawhide)
2c1b99
2c1b99
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
2c1b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2c1b99
2c1b99
* Thu Jan 13 2011 Matěj Cepl <mcepl@redhat.com> - 1.6-1
2c1b99
- New upstream version (#640564)
2c1b99
2c1b99
* Mon Nov 22 2010 Adam Jackson <ajax@redhat.com> 1.3-7
2c1b99
- Fix ps-to-pdf conversion even harder.
2c1b99
2c1b99
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
2c1b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2c1b99
2c1b99
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5
2c1b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2c1b99
2c1b99
* Fri Feb 13 2009 Adam Jackson <ajax@redhat.com> 1.3-4
2c1b99
- Fix %%x11docdir to match %%name. (#484734)
2c1b99
2c1b99
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.3-3
2c1b99
- Fix license tag.
2c1b99
2c1b99
* Tue Dec 25 2007 Adam Jackson <ajax@redhat.com> 1.3-2
2c1b99
- Install PDF instead of gzipped PostScript.
2c1b99
- Move everything to /usr/share/doc to be more like other doc packages.
2c1b99
- Add 'registry' to the doc set.
2c1b99
2c1b99
* Mon Feb 05 2007 Adam Jackson <ajax@redhat.com> 1.3-1
2c1b99
- Update to 1.3
2c1b99
2c1b99
* Tue Jul 25 2006 Mike A. Harris <mharris@redhat.com> 1.2-4.fc6
2c1b99
- Fix the package summary/description.
2c1b99
2c1b99
* Mon Jul 24 2006 Mike A. Harris <mharris@redhat.com> 1.2-3.fc6
2c1b99
- Added "Provides: XFree86-doc, xorg-x11-doc" as per request in (#199927)
2c1b99
2c1b99
* Mon Jul 24 2006 Mike A. Harris <mharris@redhat.com> 1.2-2.fc6
2c1b99
- Change rpm Group to "Documentation", which is what other docs packages use.
2c1b99
2c1b99
* Mon Jul 24 2006 Mike A. Harris <mharris@redhat.com> 1.2-1.fc6
2c1b99
- Initial build.