]>
Commit | Line | Data |
---|---|---|
c3e1b339 | 1 | Summary: X.org documentation |
5d4d12d9 | 2 | Summary(pl.UTF-8): Dokumentacja X.org |
c3e1b339 | 3 | Name: xorg-docs |
43c79aae | 4 | Version: 1.7.1 |
384f6aab | 5 | Release: 2 |
c3e1b339 JB |
6 | License: MIT |
7 | Group: Documentation | |
41c0af07 | 8 | Source0: http://xorg.freedesktop.org/releases/individual/doc/%{name}-%{version}.tar.bz2 |
43c79aae | 9 | # Source0-md5: ce5a04d87b330b9091576b3410dc26d3 |
c3e1b339 | 10 | URL: http://xorg.freedesktop.org/ |
7d24246e | 11 | BuildRequires: autoconf >= 2.60 |
c3e1b339 | 12 | BuildRequires: automake |
93f08652 | 13 | BuildRequires: docbook-dtd43-xml |
21935612 JB |
14 | BuildRequires: xmlto >= 0.0.22 |
15 | BuildRequires: xorg-sgml-doctools >= 1.8 | |
16 | BuildRequires: xorg-util-util-macros >= 1.12 | |
60cbb8fa | 17 | Obsoletes: xorg-docs-ps |
41c0af07 | 18 | BuildArch: noarch |
c3e1b339 JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | X.org documentation. | |
23 | ||
30e4465b | 24 | %description -l pl.UTF-8 |
c3e1b339 JB |
25 | Dokumentacja X.org. |
26 | ||
c3e1b339 | 27 | %prep |
c619bc18 | 28 | %setup -q |
c3e1b339 JB |
29 | |
30 | %build | |
31 | %{__aclocal} | |
32 | %{__autoconf} | |
33 | %{__automake} | |
1eb02cd8 | 34 | %configure \ |
7d24246e | 35 | --without-fop |
c3e1b339 JB |
36 | %{__make} |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
c3e1b339 JB |
40 | %{__make} install \ |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
7d24246e JB |
43 | # package just HTML, omit txt and xml |
44 | find $RPM_BUILD_ROOT%{_docdir} -name '*.txt' -o -name '*.xml' | xargs %{__rm} | |
45 | ||
c3e1b339 JB |
46 | %clean |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
7d24246e JB |
51 | %doc ChangeLog MAINTAINERS README |
52 | %{_docdir}/xorg-docs | |
fb487d00 JB |
53 | %{_mandir}/man7/Consortium.7* |
54 | %{_mandir}/man7/Standards.7* | |
55 | %{_mandir}/man7/X.7* | |
56 | %{_mandir}/man7/XOrgFoundation.7* | |
57 | %{_mandir}/man7/XProjectTeam.7* | |
58 | %{_mandir}/man7/Xsecurity.7* |