mirror of
https://abf.rosa.ru/djam/python-pytimeparse.git
synced 2025-02-23 17:12:58 +00:00
52 lines
1.2 KiB
RPMSpec
52 lines
1.2 KiB
RPMSpec
%define debug_package %{nil}
|
|
%global srcname pytimeparse
|
|
|
|
Name: python-%{srcname}
|
|
Version: 1.1.8
|
|
Release: 1
|
|
Summary: Python library to parse of time
|
|
License: MIT
|
|
Group: Development/Python
|
|
URL: https://github.com/wroberts/pytimeparse
|
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
Source1000: %{name}.rpmlintrc
|
|
BuildArch: noarch
|
|
BuildRequires: pkgconfig(python3)
|
|
BuildRequires: python3egg(setuptools)
|
|
BuildRequires: pkgconfig(python)
|
|
BuildRequires: pythonegg(setuptools)
|
|
|
|
%description
|
|
A small Python library to parse various kinds of time expressions
|
|
|
|
%prep
|
|
%setup -qn %{srcname}-%{version}
|
|
|
|
%build
|
|
%{py_build}
|
|
%{py3_build}
|
|
|
|
%install
|
|
%{py_install}
|
|
%{py3_install}
|
|
|
|
%files
|
|
%doc README.rst LICENSE.rst
|
|
%{py_puresitedir}
|
|
#{py_sitedir}
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
%description -n python3-%{srcname}
|
|
Python data analysis library
|
|
|
|
%files -n python3-%{srcname}
|
|
%doc README.rst LICENSE.rst
|
|
%{py3_puresitedir}
|
|
#{py3_sitedir}
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
%changelog
|