File man-pages-supplement.spec of Package man-pages-supplement

#
# spec file for package man-pages-supplement (Version 1.1.0)
#
# 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/
#



Name:           man-pages-supplement
# List of additional build dependencies
Version:        1.1.0
Release:        1
License:        LGPL v2.1 or later; LGPLv2.1 or later. See find_manpage_gaps.sh
Source0:        man-pages-supplement-%{version}.tar.bz2
Source1:        find_manpage_gaps.sh
Group:          Documentation/Man
Summary:        Generic man-pages for executables without a dedicated man-page
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This packages contains man-page 'stubs' for executable without a
dedicated man-page in SUSE Linux Enterprise 11.



Authors:
--------
    Matthias G. Eckermann <mge@novell.com>

%prep
%setup -q

%build

%install
mkdir -p $RPM_BUILD_ROOT
cp -a usr $RPM_BUILD_ROOT/
# Write a proper %%files section and remove these two commands and
# the '-f filelist' option to %%files
echo '%%defattr(-,root,root)' >filelist
find %buildroot -type f -printf '/%%P*\n' >>filelist

%clean
rm -rf %buildroot

%files -f filelist
%defattr(-,root,root)
# This is a place for a proper filelist:
# /usr/bin/man-pages-supplement
# You can also use shell wildcards:
# /usr/share/man-pages-supplement/*
# This installs documentation files from the top build directory
# into /usr/share/doc/...
# %doc README COPYING
# The advantage of using a real filelist instead of the '-f filelist' trick is
# that rpmbuild will detect if the install section forgets to install
# something that is listed here

%changelog
* Tue Nov 25 2008 mge@suse.de
- new find-script, fixes bnc#448332
- Result: All=5105 Found=3076 Notfound=2029
* Mon Nov 24 2008 mge@suse.de
- initial check-in
openSUSE Build Service is sponsored by