summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--sources1
-rw-r--r--xorg-x11-docs.spec57
3 files changed, 59 insertions, 0 deletions
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 <fundawang@yeah.net> - 1.7.3-1
+- update to 1.7.3
+
+* Mon Sep 04 2023 Ge Wang <wang__ge@126.com> - 1.7.2-1
+- Update to version 1.7.2
+
+* Mon Nov 18 2019 shijian <shijian16@huawei.com> - 1.7.1-9
+- Package init