From 9a5ac8db18cedd5f466b56a720f37a52047f39e7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:51:38 +0100 Subject: [PATCH] python 2.7 mass rebuild [release 0.8.1c-2mamba;Fri May 17 2013] --- README.md | 2 ++ python-vobject.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 python-vobject.spec diff --git a/README.md b/README.md index 8dd0142..3e3e735 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-vobject +vobject is intended to be a full featured Python package for parsing and generating vCard and vCalendar files. + diff --git a/python-vobject.spec b/python-vobject.spec new file mode 100644 index 0000000..0609c6b --- /dev/null +++ b/python-vobject.spec @@ -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 +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 0.8.1c-2mamba +- python 2.7 mass rebuild + +* Mon Jul 25 2011 Silvan Calarco 0.8.1c-1mamba +- package created by autospec