Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
python-icalendar
python-icalendar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-icalendar.spec of Package python-icalendar
# # spec file for package python-icalendar # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 7/2011 - now open-slx GmbH <Sascha.Manns@open-slx.de> # Copyright (c) 2009 - 7/2011 Sascha Manns <saigkill@opensuse.org> # # 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 %define gitid 4d52777 %define tarname collective-%{module}-%{gitid} Name: python-%{module} Version: 2.2 Release: 0 Summary: Python parser/generator of iCalendar files package License: LGPL-2.1+ and GPL-2.0+ Group: Development/Languages/Python Url: https://github.com/collective/icalendar Source0: %{tarname}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: python-Sphinx BuildRequires: python-distribute %{py_requires} %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description The iCalendar package is a parser/generator of iCalendar files for use with Python. It follows the RFC 2445 (iCalendar) specification. %package doc Summary: Python parser/generator of iCalendar files package Requires: %{name} = %{version} %description doc Documentation for package {name}, a python parser/generator of iCalendar files package. %prep %setup -q -n %{tarname} %build python setup.py build pushd docs make html rm -rf _build/html/.buildinfo mv _build/html ../ popd %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES mkdir -p %{buildroot}/%{_defaultdocdir}/%{name} install -m644 *.txt README.rst %{buildroot}/%{_defaultdocdir}/%{name}/ cp -r html %{buildroot}/%{_defaultdocdir}/%{name}/ %fdupes -s %{buildroot}/%{_defaultdocdir}/%{name} %fdupes -s %{buildroot} %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) %defattr(-, root, root) %dir %{_defaultdocdir}/%{name} %{_defaultdocdir}/%{name}/CREDITS.txt %{_defaultdocdir}/%{name}/README.rst %files doc %defattr(-, root, root) %{_defaultdocdir}/%{name}/CHANGES.txt %{_defaultdocdir}/%{name}/HISTORY.txt %{_defaultdocdir}/%{name}/INSTALL.txt %{_defaultdocdir}/%{name}/TODO.txt %{_defaultdocdir}/%{name}/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor