python 2.7 mass rebuild [release 0.8.1c-2mamba;Fri May 17 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 16:51:38 +01:00
parent 3b06e89508
commit 9a5ac8db18
2 changed files with 51 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-vobject
vobject is intended to be a full featured Python package for parsing and generating vCard and vCalendar files.

49
python-vobject.spec Normal file
View File

@ -0,0 +1,49 @@
Name: python-vobject
Version: 0.8.1c
Release: 2mamba
Summary: A Python iCalendar library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://vobject.skyhouseconsulting.com/
Source: http://vobject.skyhouseconsulting.com/vobject-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
vobject is intended to be a full featured Python package for parsing and generating vCard and vCalendar files.
%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
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%doc README.txt
%changelog
* 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