# # Copyright (c) 7/2011 - now open-slx GmbH # Copyright (c) 2009 - 7/2011 Sascha Manns # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # # norootforbuild %define module icalendar Name: python-%{module} Version: 2.1 Release: 2 Summary: Parser/generator of iCalendar files package for Python Group: Development/Languages/Python License: LGPL URL: http://codespeak.net/icalendar/ AutoReqProv: on Source0: %{module}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: python-devel python-setuptools update-alternatives #BuildArch: noarch %py_requires %description The iCalendar package is a parser/generator of iCalendar files for use with Python. It follows the RFC 2445 (iCalendar) specification. %prep %setup -q -n %{module}-%{version} %build env CFLAGS="%{optflags}" %__python setup.py build %install %__python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES %clean %__rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) %doc CHANGES.txt CREDITS.txt HISTORY.txt INSTALL.txt LICENSE.txt README.txt TODO.txt %doc version.txt doc/ %changelog