fuse-python/fuse-python.spec
2020-03-11 18:26:21 +08:00

45 lines
1.4 KiB
RPMSpec

Name: fuse-python
Version: 0.2.1
Release: 24
Summary: Python interface for FUSE - filesystem in userspace
License: LGPLv2
URL: https://github.com/libfuse/python-fuse
Source0: https://github.com/libfuse/python-fuse/releases/download/0.2.1/fuse-python-0.2.1.tar.gz
BuildRequires: pkgconfig fuse-devel python2-devel python2-setuptools
%description
This package provides python interface to libfuse. FUSE is a userspace filesystem
framework that can be used to implement a filesystem in a userspace program.
%package -n python2-fuse
Summary: Python interface for FUSE - filesystem in userspace
Provides: python-fuse = %{version}-%{release}
%{?python_provide:%python_provide python2-fuse}
Provides: fuse-python = %{version}-%{release}
Obsoletes: fuse-python < %{version}-%{release}
%description -n python2-fuse
This package provides python interface to libfuse. FUSE is a userspace filesystem
framework that can be used to implement a filesystem in a userspace program.
%prep
%autosetup -p1
%build
%py2_build
mv -f Changelog Changelog.old
iconv -f iso8859-1 -t utf-8 < Changelog.old > Changelog
%install
%py2_install
%files -n python2-fuse
%doc COPYING AUTHORS Changelog FAQ example README.1st
%doc README.new_fusepy_api README.new_fusepy_api.html README.package_maintainers
%{python2_sitearch}/*
%changelog
* Wed Mar 11 2020 Chen Dingxiao <chendingxiao1@huawei.com> - 0.2.1-24
- Package init