]> git.pld-linux.org Git - packages/Quotient.git/blob - Quotient.spec
automatic change: use py_build/py_install macros
[packages/Quotient.git] / Quotient.spec
1 Summary:        A conversation server built using Twisted
2 Summary(pl.UTF-8):      Serwer konwersacyjny tworzony przy użyciu środowiska Twisted
3 Name:           Quotient
4 Version:        0.9.1
5 Release:        4
6 License:        LGPL
7 Group:          Applications/Communications
8 Source0:        http://www.divmod.org/users/release/divmod/%{name}-%{version}.tar.gz
9 # Source0-md5:  406fdd2160843bc3be43486b8e30273f
10 URL:            http://www.divmod.org/Home/
11 BuildRequires:  python-devel >= 1:2.3
12 %pyrequires_eq  python-modules
13 Requires:       python >= 2.3
14 Requires:       python-Imaging >= 1.1.4
15 Requires:       python-Lupy >= 0.2.1
16 Requires:       python-Twisted >= 1.3.0
17 Requires:       python-atop = %{version}-%{release}
18 Requires:       python-nevow >= 0.2.0
19 Requires:       python-pyOpenSSL
20 Requires:       spambayes >= 1.0a7-0.2
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Quotient's primary function is a full-featured email platform, which
26 can act as an IMAP4, POP3, SMTP, server and client. It also has a
27 seamlessly integrated web-mail interface and spam filtering using
28 Spambayes, which is trainable either through the web UI or through
29 IMAP.
30
31 In future Quotient will be a person-centric application server, and a
32 simulation of your personal reality. It keeps track of your
33 communications and enables you to effortlessly prioritize your
34 commitments.
35
36 %description -l pl.UTF-8
37 Obecnie główną funkcją Quotient jest bycie w pełni wyposażoną
38 platformą email, spełniającą zadania klientów oraz serwerów protokołów
39 IMAP4, POP3 i SMTP. Quotient posiada też zintegrowany interfejs
40 odbioru poczty poprzez WWW oraz filtr niechcianej poczty używający
41 bayesowskich technik wykrywania niechcianych wiadomości, który może
42 być rozszerzany poprzez interfejs WWW lub IMAP.
43
44 W przyszłości Quotient rozwinie się do nakierowanego na osobę serwera
45 aplikacji. Quotient będzie śledził i utrzymywał informacje o
46 kontaktach oraz umożliwiał łatwe zarządzanie stopniem zaangażowania.
47
48 %package -n python-atop
49 Summary:        A simple transactional object database built on Berkeley DB
50 Summary(pl.UTF-8):      Prosta transakcyjna obiektowa baza danych oparta o Berkeley DB
51 Group:          Libraries/Python
52 Requires:       python-Twisted >= 1.3.0
53 Requires:       python-bsddb
54
55 %description -n python-atop
56 ATOP, the Atomic Transactional Object Persistor, is a Python object
57 database implemented atop the Berkeley DB and bsddb python module,
58 with functional similarities to other python packages such as ZODB and
59 COG.
60
61 Atop was designed in support of the Quotient messaging server. The
62 primary requirement was for a low-latency data store that was still
63 reliable and transactional, and still amenable to on-the-fly upgrading
64 and rapid code iterations.
65
66 %description -n python-atop -l pl.UTF-8
67 ATOP (Atomic Transactional Object Persistor) jest obiektową bazą
68 danych implementującą interfejsy Berkeley DB i bsddb, z
69 funkcjonalnością podobną do innych pakietów pythona takich jak ZODB i
70 COG.
71
72 Atop został rozwinięty jako część serwera komunikacyjnego Quotient.
73
74 %package doc
75 Summary:        Documentation for Quotient conversation server
76 Summary(pl.UTF-8):      Dokumentacja dla serwera komunikacyjnego Quotient
77 Group:          Documentation
78 Requires:       %{name} = %{version}-%{release}
79
80 %description doc
81 This package contains documentation files for Quotient conversation
82 server.
83
84 %description doc -l pl.UTF-8
85 Pakiet zawierający dokumentację dla serwera komunikacyjnego Quotient.
86
87 %package utils
88 Summary:        Tools for Quotient conversation server
89 Summary(pl.UTF-8):      Programy narzędziowe dla serwera komunikacyjnego Quotient
90 Group:          Applications/Communications
91 Requires:       %{name} = %{version}-%{release}
92
93 %description utils
94 This package contains tools for Quotient conversation server.
95
96 %description utils -l pl.UTF-8
97 Pakiet zawierający programy narzędziowe dla serwera komunikacyjnego
98 Quotient.
99
100 %prep
101 %setup -q
102
103 %build
104 python setup.py build_ext
105
106 %install
107 rm -rf $RPM_BUILD_ROOT
108 install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_datadir}/quotient}
109
110 %py_install \
111         --install-lib=%{py_sitescriptdir} \
112         --optimize=2
113
114 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
115
116 cp -a tools/* admin $RPM_BUILD_ROOT%{_datadir}/quotient
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %files
122 %defattr(644,root,root,755)
123 %doc README
124 %{py_sitescriptdir}/quotient
125
126 %files -n python-atop
127 %defattr(644,root,root,755)
128 %{py_sitescriptdir}/atop
129
130 %files doc
131 %defattr(644,root,root,755)
132 %doc doc/*
133
134 %files utils
135 %defattr(644,root,root,755)
136 %{_datadir}/quotient
This page took 0.089948 seconds and 4 git commands to generate.