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