ioprocess/ioprocess.spec

73 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

2021-06-24 09:25:56 +08:00
Name: ioprocess
2021-07-06 11:22:55 +08:00
Version: 1.4.2
2021-06-24 09:25:56 +08:00
Release: 1
Summary: Slave process to perform risky IO
Group: System Environment/Base
License: GPLv2+
URL: https://github.com/oVirt/ioprocess
2021-07-06 11:22:55 +08:00
# Note: the url fragment satisfies the build system, assuming that the source
# url ends with name-version.tar.gz. This part is ignored by the server.
# See https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Git_Tags
Source: https://github.com/oVirt/ioprocess/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
2021-06-24 09:25:56 +08:00
2021-07-06 11:22:55 +08:00
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
2021-06-24 09:25:56 +08:00
BuildRequires: glib2-devel
2021-07-06 11:22:55 +08:00
BuildRequires: python3-devel
2021-06-24 09:25:56 +08:00
BuildRequires: yajl-devel
2021-07-06 11:22:55 +08:00
2021-06-24 09:25:56 +08:00
Requires: yajl
2021-07-06 11:22:55 +08:00
2021-06-24 09:25:56 +08:00
%description
Slave process to perform risky IO.
%prep
%setup -q %{name}-%{version}
%build
%configure
make %{?_smp_mflags}
%install
2021-07-06 11:22:55 +08:00
make %{?_smp_mflags} install DESTDIR="%{buildroot}"
2021-06-24 09:25:56 +08:00
%files
%{!?_licensedir:%global license %doc}
%{_libexecdir}/ioprocess
%doc README.md AUTHORS
%license COPYING
2021-07-06 11:22:55 +08:00
%package -n python3-ioprocess
2021-06-24 09:25:56 +08:00
Summary: Python bindings for ioprocess
2021-07-06 11:22:55 +08:00
BuildRequires: python3
BuildRequires: python3-six
BuildRequires: util-linux
Requires: python3
Requires: python3-six
Requires: %{name} = %{version}
%description -n python3-ioprocess
2021-06-24 09:25:56 +08:00
Python bindings for ioprocess
2021-07-06 11:22:55 +08:00
%files -n python3-ioprocess
2021-06-24 09:25:56 +08:00
%{python3_sitelib}/ioprocess-*.egg-info
%{python3_sitelib}/ioprocess/
%doc README.md AUTHORS
%license COPYING
2021-07-06 11:22:55 +08:00
2021-06-24 09:25:56 +08:00
%changelog
2021-07-06 11:22:55 +08:00
* Tue Jul 06 2021 wangdi <wangdi@kylinos.cn> - 1.4.2-1
- Bump version to 1.4.2
2021-06-24 09:25:56 +08:00
* Thu Jun 24 2021 Xu Jin <jinxu@kylinos.cn> - 0.15.1-1
- Initial package for openEuler