Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
Supybot
Supybot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Supybot.spec of Package Supybot
# # spec file for package Supybot (Version 0.83.4.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # Name: Supybot Summary: IRC Bot Version: 0.83.4.1 Release: 5 Group: Productivity/Networking/IRC License: BSD3c(or similar) ; GPLv2+ ; Python License .. Url: http://supybot.com/ PreReq: %fillup_prereq %insserv_prereq Recommends: python-twisted python-sqlite2 BuildRequires: python-devel BuildRequires: fdupes Source: %{name}-%{version}.tar.bz2 %define plugins_version 20060723 Source1: %{name}-plugins-%{plugins_version}.tar.bz2 Source2: %{name}.sysconfig Source3: %{name}.init Source10: Supybot-rpmlintrc Patch1: Supybot-0.83.4.1-popen_deprecated.patch %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %{!?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))")} %description Supybot is a robust, user and programmer friendly IRC bot written in Python. It aims to be an adequate replacement for most existing IRC bots. It includes a very flexible and powerful ACL system for controlling access to commands, as well as more than 50 builtin plugins providing around 400 actual commands. %prep %setup -q -b 1 %patch1 -p0 cp -a ../%{name}-plugins-%{plugins_version}/* plugins/ %build export CFLAGS=$RPM_OPT_FLAGS python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES install -d %{buildroot}/%{_mandir}/man1 install -m 644 docs/man/*.1 %{buildroot}/%{_mandir}/man1 # fix non executable scripts chmod +x %{buildroot}/%{python_sitelib}/supybot/plugins/RSS/local/feedparser.py chmod +x %{buildroot}/%{python_sitelib}/supybot/plugins/Supybot/plugin.py chmod +x %{buildroot}/%{python_sitelib}/supybot/plugins/ExternalNotice/supybot-external-notice.py # install init and sysconfig script install -Dm644 %{SOURCE2} %{buildroot}/var/adm/fillup-templates/sysconfig.supybot install -Dm755 %{SOURCE3} %{buildroot}/%{_sysconfdir}/init.d/supybot mkdir -p %{buildroot}/%{_sbindir} ln -s %{_sysconfdir}/init.d/supybot %{buildroot}/%{_sbindir}/rcsupybot %fdupes %{buildroot} %clean rm -fr %{buildroot} %post %fillup_and_insserv supybot %preun %stop_on_removal supybot %postun %restart_on_update supybot %insserv_cleanup %files -f INSTALLED_FILES %defattr(-, root, root) %doc ACKS ChangeLog LICENSE README RELNOTES docs/GETTING_STARTED %doc %{_mandir}/man1/*.gz /var/adm/fillup-templates/sysconfig.supybot %{_sysconfdir}/init.d/supybot %{_sbindir}/rcsupybot %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