]> git.pld-linux.org Git - packages/xorg-docs.git/blob - xorg-docs.spec
- updated to 1.7.3
[packages/xorg-docs.git] / xorg-docs.spec
1 %if "%{_host_cpu}" == "x32"
2 %define build_arch %{_target_platform}
3 %else
4 %define build_arch %{_host}
5 %endif
6
7 Summary:        X.org documentation
8 Summary(pl.UTF-8):      Dokumentacja X.org
9 Name:           xorg-docs
10 Version:        1.7.3
11 Release:        1
12 License:        MIT
13 Group:          Documentation
14 Source0:        https://xorg.freedesktop.org/releases/individual/doc/%{name}-%{version}.tar.xz
15 # Source0-md5:  47399839f7f6cfb0c50610bad14eb4a9
16 URL:            https://xorg.freedesktop.org/
17 BuildRequires:  autoconf >= 2.60
18 BuildRequires:  automake
19 BuildRequires:  docbook-dtd43-xml
20 BuildRequires:  tar >= 1:1.22
21 BuildRequires:  xmlto >= 0.0.22
22 BuildRequires:  xorg-sgml-doctools >= 1.8
23 BuildRequires:  xorg-util-util-macros >= 1.20
24 BuildRequires:  xz
25 Obsoletes:      xorg-docs-ps < 1.5
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 X.org documentation.
31
32 %description -l pl.UTF-8
33 Dokumentacja X.org.
34
35 %prep
36 %setup -q
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure \
43         --host=%{build_arch} \
44         --build=%{build_arch} \
45         --without-fop
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 # package just HTML, omit txt and xml
55 find $RPM_BUILD_ROOT%{_docdir} -name '*.txt' -o -name '*.xml' | xargs %{__rm}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc ChangeLog MAINTAINERS README.md
63 %{_docdir}/xorg-docs
64 %{_mandir}/man7/Consortium.7*
65 %{_mandir}/man7/Standards.7*
66 %{_mandir}/man7/X.7*
67 %{_mandir}/man7/XOrgFoundation.7*
68 %{_mandir}/man7/XProjectTeam.7*
69 %{_mandir}/man7/Xsecurity.7*
This page took 0.132984 seconds and 4 git commands to generate.