Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
supybot-notify
supybot-notify.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File supybot-notify.spec of Package supybot-notify
# # spec file for package supybot-notify # # 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: supybot-notify Version: 0.2.2 Summary: Notification plugin for Supybot BuildRequires: python3-devel %if 0%{?fedora_version} %if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %endif Release: 1%{?dist} Group: Applications/Internet Requires: supybot %else Release: 1 Group: Productivity/Networking/IRC Requires: Supybot Requires: python3-base %if 0%{?suse_version} > 1020 Source3: supybot-notify-firewall %endif %endif License: BSD-3-Clause Url: https://pagure.io/supybot-notify # only newer openSUSE versions support xz - so we stay with bz2 here Source0: https://fedorahosted.org/released/supybot-notify/%{name}-%{version}.tar.bz2 Source1: supybot-notify-config Patch1: python3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %description A Supybot plugin which relays messages from a TCP server to an IRC channel. %prep %setup -q %patch1 -p1 install -m644 %{SOURCE1} %{name}.example.config %build %install %{__install} -dm 755 %{buildroot}%{python3_sitelib}/supybot/plugins/Notify %{__install} -pm 644 *.py %{buildroot}%{python3_sitelib}/supybot/plugins/Notify %if 0%{?suse_version} <= 1500 %{__install} -Dm 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %endif %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc README COPYING %{name}.example.config %dir %{python3_sitelib}/supybot %dir %{python3_sitelib}/supybot/plugins %{python3_sitelib}/supybot/plugins/Notify %if 0%{?suse_version} <= 1500 %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %endif %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