From 7206cf2979fdc1b6f0d52fe0af1e234544f982c6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 2 Dec 2024 04:18:19 +0000 Subject: automatic import of xorg-x11-docs --- .gitignore | 1 + sources | 1 + xorg-x11-docs.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 sources create mode 100644 xorg-x11-docs.spec diff --git a/.gitignore b/.gitignore index e69de29..f4b5b09 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/xorg-docs-1.7.3.tar.xz diff --git a/sources b/sources new file mode 100644 index 0000000..16d1991 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +47399839f7f6cfb0c50610bad14eb4a9 xorg-docs-1.7.3.tar.xz diff --git a/xorg-x11-docs.spec b/xorg-x11-docs.spec new file mode 100644 index 0000000..f9224ab --- /dev/null +++ b/xorg-x11-docs.spec @@ -0,0 +1,57 @@ +Name: xorg-x11-docs +Version: 1.7.3 +Release: 1 +Summary: Documentation for the X Window System +License: MIT +URL: https://www.x.org +BuildArch: noarch +Source0: https://www.x.org/releases/individual/doc/xorg-docs-%{version}.tar.xz +BuildRequires: ghostscript libtool pkgconfig pkgconfig(xorg-macros) >= 1.12 +BuildRequires: pkgconfig(xorg-sgml-doctools) >= 1.8 xmlto >= 0.0.22-2 + +%description +This package contains documentation for running the X server and basic X clients, +as well as protocol specifications and basic client programming documentation. + +%package help +Summary: Help document for the %{name} package + +%description help +Help document for the %{name} package. + +%prep +%autosetup -n xorg-docs-%{version} -p1 + +%build +%configure --docdir=%{_pkgdocdir} --without-fop +%make_build + +%install +%make_install +find %{buildroot} -name "*.db" -delete + +sed -i 's/idm[0-9]\{5,32\}\"/idm12345678912345\"/g' $(find %{_buildrootdir} -name ctext.html) +sed -i 's/idm[0-9]\{5,32\}\"/idm12345678912345\"/g' $(find %{_buildrootdir} -name xlfd.html) +sed -i 's/idm[0-9]\{5,32\}\"/idm12345678912345\"/g' $(find %{_buildrootdir} -name analysis.html) +sed -i 's/idm[0-9]\{5,32\}\"/idm12345678912345\"/g' $(find %{_buildrootdir} -name appgroup.html) +sed -i 's/idm[0-9]\{5,32\}\"/idm12345678912345\"/g' $(find %{_buildrootdir} -name secint.html) +sed -i 's/idm[0-9]\{5,32\}\"/idm12345678912345\"/g' $(find %{_buildrootdir} -name XACE-Spec.html) +sed -i 's/idm[0-9]\{5,32\}\"/idm12345678912345\"/g' $(find %{_buildrootdir} -name icccm.html) + +cp registry %{buildroot}/%{_pkgdocdir} + +%files +%{_pkgdocdir} + +%files help +%{_mandir}/man7/* + +%changelog +* Mon Dec 02 2024 Funda Wang - 1.7.3-1 +- update to 1.7.3 + +* Mon Sep 04 2023 Ge Wang - 1.7.2-1 +- Update to version 1.7.2 + +* Mon Nov 18 2019 shijian - 1.7.1-9 +- Package init -- cgit v1.2.3