fuse-python/fuse-python.spec

45 lines
1.4 KiB
RPMSpec
Raw Normal View History

2020-03-10 16:35:55 +08:00
Name: fuse-python
2020-11-11 17:12:48 +08:00
Version: 1.0.0
Release: 1
2020-03-10 16:35:55 +08:00
Summary: Python interface for FUSE - filesystem in userspace
License: LGPLv2
URL: https://github.com/libfuse/python-fuse
2020-11-11 17:12:48 +08:00
Source0: https://github.com/libfuse/python-fuse/archive/fuse-python-%{version}.tar.gz
BuildRequires: pkgconfig fuse-devel python3-devel python3-setuptools
2020-03-10 16:35:55 +08:00
%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.
2020-11-11 17:12:48 +08:00
%package -n python3-fuse
2020-03-10 16:35:55 +08:00
Summary: Python interface for FUSE - filesystem in userspace
Provides: python-fuse = %{version}-%{release}
2020-11-11 17:12:48 +08:00
%{?python_provide:%python_provide python3-fuse}
2020-03-10 16:35:55 +08:00
Provides: fuse-python = %{version}-%{release}
Obsoletes: fuse-python < %{version}-%{release}
2020-11-11 17:12:48 +08:00
%description -n python3-fuse
2020-03-10 16:35:55 +08:00
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
2020-11-11 17:12:48 +08:00
%autosetup -n python-fuse-%{version} -p1
2020-03-10 16:35:55 +08:00
%build
2020-11-11 17:12:48 +08:00
%py3_build
2020-03-10 16:35:55 +08:00
%install
2020-11-11 17:12:48 +08:00
%py3_install
2020-03-10 16:35:55 +08:00
2020-11-11 17:12:48 +08:00
%files -n python3-fuse
%doc COPYING AUTHORS FAQ example
%doc README.new_fusepy_api README.md README.historic README.package_maintainers
%{python3_sitearch}/*
2020-03-10 16:35:55 +08:00
%changelog
2020-11-11 17:12:48 +08:00
* Tue Nov 10 2020 leiju <leiju4@huawei.com> - 1.0.0-1
- Update to 1.0.0
2020-03-10 16:35:55 +08:00
* Wed Mar 11 2020 Chen Dingxiao <chendingxiao1@huawei.com> - 0.2.1-24
- Package init