commit a60f8f86a6990e34039cdf1f899a680ad664bbc1 Author: Mohan Boddu Date: Tue Apr 4 17:39:29 2023 +0000 Import rpm: c8s diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c8d1cbf --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/xorg-docs-1.7.1.tar.bz2 +/xorg-docs-1.7.1.tar.bz2 diff --git a/docs-1.3-registry.patch b/docs-1.3-registry.patch new file mode 100644 index 0000000..56a27ae --- /dev/null +++ b/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/sources b/sources new file mode 100644 index 0000000..e24e6eb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xorg-docs-1.7.1.tar.bz2) = 7f33205c5ad4f67c14003525c26481e35bf3fb1ac53012d72a28e6596d058b8028b74c8e8ad39d721f78059c0f571649070e4b1677834583c72fe7ffcedebe70 diff --git a/xorg-x11-docs.spec b/xorg-x11-docs.spec new file mode 100644 index 0000000..5a6f1ae --- /dev/null +++ b/xorg-x11-docs.spec @@ -0,0 +1,105 @@ +%global tarname xorg-docs +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + +Summary: X.Org X11 documentation +Name: xorg-x11-docs +Version: 1.7.1 +Release: 7%{?dist} +License: MIT +URL: http://www.x.org + +BuildArch: noarch + +Source0: http://www.x.org/pub/individual/doc/%{tarname}-%{version}.tar.bz2 +Patch0: docs-1.3-registry.patch + +#BuildRequires: fop +BuildRequires: ghostscript +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(xorg-macros) >= 1.12 +BuildRequires: pkgconfig(xorg-sgml-doctools) >= 1.1.1 +#BuildRequires: xmlgraphics-commons +BuildRequires: xmlto >= 0.0.22-2 +BuildRequires: xmlto-tex + +%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 +%configure --docdir=%{_pkgdocdir} --without-fop +make + +%install +%make_install +find %{buildroot} -name "*.db" -delete + +%files +%{_pkgdocdir} +%{_mandir}/man7/* + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.7.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.7.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 26 2017 Adam Jackson - 1.7.1-5 +- Drop BuildRequires: java-devel. Originally that was to force a specific + JDK version, which we no longer need to do. + +* Sat Feb 11 2017 Fedora Release Engineering - 1.7.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 1.7.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 20 2016 Peter Hutterer +- s/define/global/ + +* Fri Jun 19 2015 Fedora Release Engineering - 1.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri May 01 2015 Simone Caronni - 1.7.1-1 +- Update to 1.7.1. +- Skip PDF document generation through fop. It fixes FTBFS on Fedora 22. Tarball + is not yet compatible with Fedora xmlgraphics-commons >= 2.0. +- Remove useless db files. + +* Tue Nov 04 2014 Simone Caronni - 1.7-1 +- Update to 1.7. +- Clean up SPEC file, fix rpmlint warnings. + +* Sun Jun 08 2014 Fedora Release Engineering - 1.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Jul 26 2013 Ville Skyttä - 1.6-7 +- Install docs to %%{_pkgdocdir} where available. + +* 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.