File xorg-x11-doc.spec of Package xorg-x11-doc
#
# spec file for package xorg-x11-doc (Version 7.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xorg-x11-doc
BuildRequires: docbook-utils xorg-x11-util-devel
Url: http://xorg.freedesktop.org/
Version: 7.4
Release: 1
License: X11/MIT
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Documentation/Other
Summary: X.Org documentation
Source: xorg-docs-1.4.tar.bz2
Patch: xorg-x11-doc.diff
%description
X.Org documentation in compressed PostScript format.
%prep
%setup -T -c %{name}
for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done
pushd xorg-docs-*
%patch
popd
%build
for dir in $(ls */configure.ac); do
pushd $(dirname $dir)
autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
--prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} \
--disable-txt --enable-pdf --disable-ps --enable-html
make
popd
done
%install
for dir in $(ls */configure.ac); do
pushd $(dirname $dir); make install DESTDIR=$RPM_BUILD_ROOT; popd
done
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc %{_mandir}/man7/*
%doc %{_datadir}/X11/
%changelog
* Thu Sep 11 2008 sndirsch@suse.de
- bumped release number to 7.4
* Tue Oct 23 2007 sndirsch@suse.de
- enabled build of HTML/PDF docs (Bug #335450)
* Sat Sep 29 2007 sndirsch@suse.de
- bumped version to 7.3
* Tue Jul 03 2007 sndirsch@suse.de
- move X(7) and security(7) manual pages to xorg-x11-server package
* Sun Mar 04 2007 sndirsch@suse.de
- updated xorg-docs to release 1.4
* Major re-organization of the sgml docs. They are now converted
from linuxdoc to docbook and rely on the docbook2x series of
tools, so your build environments need to be updated.
- updated xorg-sgml-doctools to release 1.2
* Update definitions for the 7.2 katamari release
* Thu Nov 09 2006 sndirsch@suse.de
- updated xorg-docs to release 1.3
* several updates contributed by Alan Coopersmith, David Nusinow,
Eamon Walsh, Juliusz Chroboczek
- updated xorg-sgml-doctools to release 1.1.1
* Install defs to the more standard ${prefix}/share/sgml/X11
which will allow the docbook tools to find them under normal
conditions
* Thu Oct 26 2006 sndirsch@suse.de
- set version to 7.2 in specfile
* Fri Jul 28 2006 sndirsch@suse.de
- use "-fno-strict-aliasing"
* Thu Jul 27 2006 sndirsch@suse.de
- use $RPM_OPT_FLAGS
* Mon Jun 26 2006 sndirsch@suse.de
- created package