File python-fuse.spec of Package python-fuse

#
# spec file for package scout
#

# norootforbuild

Name:           python-fuse
Version:        0.2
Release:        1
Url:            http://fuse.sourceforge.net/wiki/index.php/FusePython
License:        GPL v2 or later
Group:          Development/Libraries/Python
Summary:        Python bindings for FUSE
Source:         fuse-python-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fuse-devel pkg-config python-devel
%py_requires

%description

Python bindings for FUSE (User space File System)

%prep
%setup -q -n fuse-python-%{version}

%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build

%install
python setup.py install --root=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT/usr/local/* $RPM_BUILD_ROOT/usr
rm -rf $RPM_BUILD_ROOT/usr/local

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING Changelog FAQ PKG-INFO README*
%{py_sitedir}/*

%changelog
openSUSE Build Service is sponsored by