Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > f5f6ca6462a8a8e7be7c90bfc1d70d33 > files > 2

supybot-irccat-0-2.45803b0.fc18.src.rpm

%global commit 45803b0202d7062adb192563adba6a479f27eefb
%global shortcommit %(c=%{commit}; echo ${c:0:7})

Name:           supybot-irccat
Version:        0
Release:        2.%{shortcommit}%{?dist}
Summary:        Supybot plugin copying data from TCP port to irc channel(s)

Group:          Applications/Internet
License:        BSD
URL:            https://github.com/leamas/supybot-irccat
Source0:        %{url}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
Requires:       supybot, python-twisted, nmap-ncat

BuildArch:      noarch
BuildRequires:  python2-devel


%description
A Supybot plugin copying data from a TCP port to IRC channels, using some
basic security precautions.


%package -n irccat
Summary:       Script sending data to servers running supybot-irccat

%description -n irccat
Simple script sending one line messages to remote supybot servers with the
supybot-irccat plugin.


%prep
%setup -qn %{name}-%{commit}


%build


%install
install -pDm 755 irccat   $RPM_BUILD_ROOT%{_bindir}/irccat
install -pDm 644 irccat.1 $RPM_BUILD_ROOT%{_mandir}/man1/irccat.1
install -dm 755 $RPM_BUILD_ROOT%{python_sitelib}/supybot/plugins/Irccat
install -pm 644 *.py $RPM_BUILD_ROOT/%{python_sitelib}/supybot/plugins/Irccat


%files
%doc README.md LICENSE
%{python_sitelib}/supybot/plugins/Irccat

%files -n irccat
%doc README.md LICENSE
%{_bindir}/irccat
%{_mandir}/man1/irccat.1.*

%changelog
* Tue Mar 19 2013 Alec leamas <leamas@nowhere.net> - 0-2.45803b0
- Upstream update
- New irccat script -> subpackage.

* Tue Mar 5 2013 Alec leamas <leamas@nowhere.net> - 0-1.33194ba
- Initial package