File producingoss-noarch.spec.bak of Package producingoss

#
#

Name:           producingoss
Summary:        How to Run a Successful Free Software Project
Version:        482
Release:        1
License:        Creative Commons Attribution-ShareAlike
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        producingoss.tar.bz2
# Source1:        README.txt
Group:          Documentation/Other
URL:            http://producingoss.com/
Vendor:         Karl Fogel <kfogel@red-bean.com>
BuildArch:      noarch
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext libtool perl rpm docbook-xsl-stylesheets fop


%description
Producing Open Source Software is a book about the human
side of open source development. It describes how successful
projects operate, the expectations of users and developers,
and the culture of free software. It is available in bookstores
and from the publisher (O'Reilly Media), or you can browse
or download it here.

Producing Open Source Software is released under an open
copyright that allows everyone to share and modify the book
freely. The latest version is always here. The online version
is the same as the commercially available print version — in
other words, you can buy a printed copy and know that
it's up-to-date.


Authors:
--------
    Karl Fogel <kfogel@red-bean.com>


%define INSTALL install -m755 -s
%define INSTALL_SCRIPT install -m755
%define INSTALL_DIR install -d -m755
%define INSTALL_DATA install -m644
%define XMLCAT /etc/xml/catalog
%define DBROOT "http://docbook.sourceforge.net/release/xsl/current/"
%define XMLCATALOG /usr/bin/xmlcatalog

%prep
%__mkdir_p $RPM_BUILD_ROOT%_defaultdocdir/%{name}

%setup -q -n %{name}
xx=$(%{XMLCATALOG} %{XMLCAT} %{DBROOT} | sed "s#file://##")
if [ "$xx" != "" ]; then
 echo "Root Directory for DocBook XSL Stylesheets not found.";
 exit 10
fi

# Create link
(cd tools; ln -s $xx xsl)

%build
make

%install
# nope

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%doc html-chunk %{name}.html %{name}.pdf  %{name}.ps

%changelog
* Sat Jul 29 2006 - <thomas.schraitle AT suse DOT de>
- First release of version 482
openSUSE Build Service is sponsored by