2024-01-05 16:51:38 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-05 16:51:38 +01:00
|
|
|
Name: python-vobject
|
2024-10-03 21:41:05 +02:00
|
|
|
Version: 0.9.8
|
2024-03-26 14:39:53 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:51:38 +01:00
|
|
|
Summary: A Python iCalendar library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://vobject.skyhouseconsulting.com/
|
2024-01-05 16:51:38 +01:00
|
|
|
Source: https://pypi.debian.net/vobject/vobject-%{version}.tar.gz
|
2024-01-05 16:51:38 +01:00
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:51:39 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(python-dateutil)
|
2024-10-03 21:41:05 +02:00
|
|
|
BuildRequires: python3.11dist(pytz)
|
2024-01-05 16:51:39 +01:00
|
|
|
BuildRequires: python3.11dist(setuptools)
|
2024-10-03 21:41:05 +02:00
|
|
|
BuildRequires: python3.11dist(six)
|
2024-01-05 16:51:38 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:51:39 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:51:38 +01:00
|
|
|
BuildRequires: libpython-devel
|
|
|
|
Requires: python >= %python_version
|
|
|
|
|
|
|
|
%description
|
|
|
|
vobject is intended to be a full featured Python package for parsing and generating vCard and vCalendar files.
|
|
|
|
|
2024-01-05 16:51:38 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:51:38 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n vobject-%{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} \
|
|
|
|
--single-version-externally-managed \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:51:38 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:51:38 +01:00
|
|
|
|
2024-01-05 16:51:38 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:51:38 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:51:38 +01:00
|
|
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
|
|
|
%doc LICENSE-2.0.txt
|
2024-01-05 16:51:38 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-10-03 21:41:05 +02:00
|
|
|
* Wed Oct 02 2024 Automatic Build System <autodist@openmamba.org> 0.9.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-26 14:39:53 +01:00
|
|
|
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 0.9.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:51:39 +01:00
|
|
|
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 0.9.6.1-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:51:38 +01:00
|
|
|
* Wed Aug 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6.1-2mamba
|
|
|
|
- rebuilt for python3 and with distdeps
|
|
|
|
|
2024-01-05 16:51:38 +01:00
|
|
|
* Fri Sep 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6.1-1mamba
|
|
|
|
- update to 0.9.6.1
|
|
|
|
|
2024-01-05 16:51:38 +01:00
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1c-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1c-1mamba
|
|
|
|
- package created by autospec
|