/[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 688393 - (show annotations) (download)
Tue Sep 16 20:20:02 2014 UTC (6 years, 10 months ago) by umeabot
File size: 1559 byte(s)
Mageia 5 Mass Rebuild
1 %define mainver %(echo %{version} | sed -e 's/\\([0-9]*\\.[0-9]*\\)\\.[0-9]*/\\1/')
2 # we don't want to provide private python extension libs
3 %define _exclude_files_from_autoprov %{python_sitearch}/.*\\.so\\|%{python3_sitearch}/.*\\.so
4
5 %define module TwistedNews
6
7 Name: python-twisted-news
8 Version: 14.0.0
9 Release: %mkrel 2
10 Summary: An NNTP protocol implementation together with clients and servers
11 License: MIT
12 Group: Development/Python
13 URL: http://twistedmatrix.com/trac/wiki/TwistedNews
14 Source0: http://twistedmatrix.com/Releases/News/%{mainver}/%{module}-%{version}.tar.bz2
15 BuildRequires: python-devel
16 BuildRequires: python-twisted-core
17
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 %{module}-%{version}
30
31 %build
32 %{__python} setup.py build
33
34 %install
35 %{__python} setup.py install --root=%{buildroot} --skip-build --install-purelib=%{python_sitearch}
36
37
38 %files
39 %doc LICENSE README NEWS
40 %dir %{python_sitearch}/twisted/news/
41 %{python_sitearch}/twisted/news/*
42 %{python_sitearch}/twisted/plugins/*
43 %{python_sitearch}/Twisted_News-%{version}-py%{pyver}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.28