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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30