]> git.pld-linux.org Git - packages/python-irclib.git/blob - python-irclib.spec
f3502513d0ee35eee077e9f5bcea3e4eee2a1b53
[packages/python-irclib.git] / python-irclib.spec
1
2 %define         module  irclib
3
4 Summary:        A set of Python modules for IRC support
5 Summary(pl):    Zestaw modu³ów Pythona do obs³ugi IRC-a
6 Name:           python-%{module}
7 Version:        0.4.3
8 Release:        1
9 License:        BSD
10 Group:          Libraries/Python
11 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
12 # Source0-md5:  304fb049a102cc0220efa3e9349cab36
13 URL:            http://python-irclib.sourceforge.net/
14 BuildRequires:  python >= 2.2.1
15 BuildRequires:  rpm-pythonprov >= 4.0.2-50
16 %pyrequires_eq  python
17 BuildArch:      noarch
18 Obsoletes:      %{module}
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This library is intended to encapsulate the IRC protocol at a quite
23 low level. It provides an event-driven IRC client framework. It has a
24 fairly thorough support for the basic IRC protocol, CTCP and DCC
25 connections.
26
27 %description -l pl
28 Ta biblioteka ma za zadanie obudowywaæ protokó³ IRC na dosyæ niskim
29 poziomie. Dostarcza szkielet klienta IRC sterowany zdarzeniami. Ma
30 w miarê gruntown± obs³ugê dla podstaw protoko³u IRC i po³±czeñ CTCP i
31 DCC.
32
33 %prep
34 %setup -q
35
36 %build
37 python setup.py build
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 python setup.py install --optimize=2 \
43         --root=$RPM_BUILD_ROOT
44
45 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc ChangeLog README irccat irccat2 servermap testbot.py dccsend dccreceive
53 %{py_sitescriptdir}/*.py[co]
This page took 0.04015 seconds and 2 git commands to generate.