File jfsutils.spec of Package jfsutils

#
# spec file for package jfsutils (Version 1.1.14)
#
# Copyright (c) 2010 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:           jfsutils
BuildRequires:  e2fsprogs-devel
Summary:        IBM JFS Utility Programs
Version:        1.1.14
Release:        1
License:        GPLv2+
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/Filesystems
Url:            http://jfs.sf.net
Source:         %name-%version.tar.bz2
Source1:        jfs.pdf
Source2:        jfslayout.pdf
Source3:        jfslog.pdf
Source4:        jfsroot.html
Source5:        jfs.txt
Provides:       jfsprogs
Supplements:    filesystem(jfs)
Obsoletes:      jfsprogs
%define sbindir /sbin

%description
This package contains utilities for managing IBM's Journaled File
System (JFS) under Linux.  The following utilities are available:

o fsck.jfs--initiate replay of the JFS transaction log and check and
repair a JFS formatted device o logdump--dump a JFS formatted device's
journal log o logredo--replay a JFS formatted device's journal log o
mkfs.jfs--create a JFS formatted partition o xchkdmp--dump the contents
of a JFS fsck log file created with xchklog o xchklog--extract a log
from the JFS fsck workspace into a file o xpeek--shell-type JFS file
system editor



Authors:
--------
    Steve Best <sbest@us.ibm.com>
    Dave Kleikamp <shaggy@us.ibm.com>
    Barry Arndt <barndt@us.ibm.com>

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
./configure --mandir=%_mandir \
            --sbindir=%sbindir
make

%install
mkdir ./jfsdocs
install -m 644 %SOURCE1 ./jfsdocs
install -m 644 %SOURCE2 ./jfsdocs
install -m 644 %SOURCE3 ./jfsdocs
install -m 644 %SOURCE4 ./jfsdocs
install -m 644 %SOURCE5 ./jfsdocs
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT;

%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS ChangeLog jfsdocs/*
%_mandir/man8/*
%sbindir/*

%changelog
openSUSE Build Service is sponsored by