2024-01-05 16:30:01 +01:00
|
|
|
Name: python-pyrfc3339
|
2024-01-05 16:30:01 +01:00
|
|
|
Version: 1.1
|
2024-01-05 16:30:01 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:30:01 +01:00
|
|
|
Summary: Generate and parse RFC 3339 timestamps
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/kurtraschke/pyRFC3339
|
2024-01-05 16:30:01 +01:00
|
|
|
Source: https://pypi.debian.net/pyRFC3339/pyRFC3339-%{version}.tar.gz
|
2024-01-05 16:30:01 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: python >= %python_version
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n pyRFC3339-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:30:01 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:30:01 +01:00
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-2mamba
|
|
|
|
- rebuilt with py3* packages
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
* Sun Jun 17 2018 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
|
|
|
- package created using the webbuild interface
|