File fscaps.spec of Package fscaps

#
# spec file for package fscaps (Version 1.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           fscaps
Version:        1.0
Release:        0
#
License:        GPL
Group:          System/Filesystems
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libcap
%if %{suse_version} > 1000
BuildRequires:  libcap-devel
%endif
BuildRequires:  attr-devel
Requires:       libcap >= 1.10
#
Url:            http://www.kaigai.gr.jp/
Source:         %{name}-%{version}.tar.bz2
Patch:          fscaps-1.0_rpmoptflags.patch
#
Summary:        VFS Capability Utilities

%description
This package provides VFS Capability Utilities.
It enables to setup/confirm file capability.

Authors:
--------
    KaiGai Kohei <kaigai@kaigai.gr.jp>

%prep
%setup
%patch

%build
%{__make} all OPTFLAGS="%{optflags}"

%install
%{__install} -Dv -m 755 getfcaps %{buildroot}%{_bindir}/getfcaps
%{__install} -Dv -m 755 setfcaps %{buildroot}%{_bindir}/setfcaps

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/getfcaps
%{_bindir}/setfcaps

%changelog -n fscaps
* Thu Nov 09 2006 - mrueckert@suse.de
- initial package of version 1.0
openSUSE Build Service is sponsored by