python-fuse/python-fuse.spec

43 lines
976 B
RPMSpec

#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-fuse
Version: 0.2
Release: 1
License: GPLv2+
Summary: Python bindings for FUSE
Url: http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FusePython
Group: Development/Libraries/Python
Source: fuse-python-%{version}.tar.bz2
BuildRequires: fuse-devel
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%description
Python bindings for FUSE (User space File System)
%prep
%setup -q -n fuse-python-%{version}
%build
env CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --root=%{buildroot}
mv %{buildroot}%{_prefix}/local/* %{buildroot}/usr
rm -rf %{buildroot}%{_prefix}/local
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING Changelog FAQ PKG-INFO README*
%{python_sitearch}/*
%changelog