Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lrupp
planet
planet.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File planet.spec of Package planet
# # spec file for package planet # # 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. Name: planet Version: 2.0 Release: 1 Summary: Flexible RDF/RSS/Atom feed aggregator License: Python-2.0 Url: http://www.planetplanet.org/ Group: Productivity/Networking/Web/Utilities Source0: http://www.planetplanet.org/download/%{name}-%{version}.tar.bz2 Source1: planet.1 Source2: planet-cache.1 Source3: runtests.1 Requires: python >= 2.2 BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif %{py_requires} %description Planet is a flexible feed aggregator, this means that it downloads feeds and aggregates their content together into a single combined feed with the latest news first. It uses Mark Pilgrim's Ultra-liberal feed parser so can read from RDF, RSS and Atom feeds and Tomas Styblo's template library to output static files in unlimited formats based on a series of templates. %package tests Summary: Tests for the flexible RDF/RSS/Atom feed aggregator Group: Productivity/Networking/Web/Utilities Requires: %name = %version %description tests This package contains the runtests binary and files needed to run some tests against the planet installation. %prep %setup -q sed -i 's/\r//' LICENCE rm -rf examples/cache %build python setup.py build %install python setup.py install --prefix %{_prefix} -O1 --skip-build --root %{buildroot} for i in %{buildroot}%{_bindir}/*.py; do mv -v $i ${i/.py/} done install -Dm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/planet.1 install -m0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/planet-cache.1 install -m0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/runtests.1 %fdupes %{buildroot}%{python_sitelib} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS LICENCE NEWS THANKS README examples %{_bindir}/planet* %dir %{python_sitelib}/planet %exclude %dir %{python_sitelib}/planet/tests %exclude %{python_sitelib}/planet/tests/* %{_mandir}/man1/planet* %{python_sitelib}/planet/*.py* %{python_sitelib}/planet-%{version}-*.egg-info %dir %{python_sitelib}/planet/compat_logging %{python_sitelib}/planet/compat_logging/*.py* %files tests %defattr(-,root,root) %{_bindir}/runtests %{_mandir}/man1/runtests.* %dir %{python_sitelib}/planet/tests %{python_sitelib}/planet/tests/* %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