/[packages]/cauldron/python-twisted-news/current/SPECS/python-twisted-news.spec
ViewVC logotype

Annotation of /cauldron/python-twisted-news/current/SPECS/python-twisted-news.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55787 - (hide annotations) (download)
Mon Feb 21 20:21:47 2011 UTC (13 years, 2 months ago) by ahmad
File size: 1481 byte(s)
- update to 10.2.0
1 ennael 34740 %define name python-twisted-news
2 ahmad 55787 %define version 10.2.0
3     %define rel 1
4 ennael 34740 %define mainver %(echo %{version} | sed -e 's/\\([0-9]*\\.[0-9]*\\)\\.[0-9]*/\\1/')
5    
6     Summary: An NNTP protocol implementation together with clients and servers
7     Name: %{name}
8     Version: %{version}
9     Release: %mkrel %{rel}
10     Source0: http://tmrc.mit.edu/mirror/twisted/News/%{mainver}/TwistedNews-%{version}.tar.bz2
11     License: MIT
12     Group: Development/Python
13     URL: http://twistedmatrix.com/trac/wiki/TwistedNews
14     BuildRoot: %{_tmppath}/%{name}-buildroot
15     BuildRequires: python-devel python-twisted-core
16     Requires: python-twisted-core
17    
18     %description
19     Twisted News provides a very basic NNTP server, as well as an NNTP client
20     protocol implementation. Two messages storage systems are supported: the
21     DB-API 2.0 backend stores and indexes messages in any compatible SQL
22     database; the Twisted dirdbm backend uses serialized Python objects
23     stored directly on the filesystem for message storage. Twisted News
24     also has very rudamentary support for moderated groups.
25    
26     %prep
27     %setup -q -n TwistedNews-%{version}
28    
29     %build
30     %__python setup.py build
31    
32     %install
33     %__rm -rf %{buildroot}
34     %__python setup.py install --root=%{buildroot} --install-purelib=%{py_platsitedir}
35    
36     %clean
37     %__rm -rf %{buildroot}
38    
39     %files
40     %defattr(0644,root,root,0755)
41     %doc LICENSE README
42     %dir %py_platsitedir/twisted/news/
43     %py_platsitedir/twisted/news/*
44     %py_platsitedir/twisted/plugins/*
45     %py_platsitedir/*.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30