]> git.pld-linux.org Git - packages/Quotient.git/blob - Quotient.spec
- cosmetics
[packages/Quotient.git] / Quotient.spec
1 %include        /usr/lib/rpm/macros.python
2 Summary:        A conversation server built using Twisted
3 Summary(pl):    Serwer konwersacyjny tworzony przy u¿yciu ¶rodowiska Twisted
4 Name:           Quotient
5 Version:        0.8.8
6 Release:        1
7 License:        LGPL
8 Group:          Applications/Communications
9 Source0:        http://dl.sourceforge.net/divmod/%{name}-%{version}.tar.gz
10 # Source0-md5:  650cdb4ae2b59a0f432e49804f2923a9
11 URL:            http://www.divmod.org/Home/
12 BuildRequires:  python-devel >= 2.3
13 %pyrequires_eq  python-modules
14 Requires:       python >= 2.3
15 Requires:       python-Imaging
16 Requires:       python-Lupy >= 0.1.5.5
17 Requires:       python-Twisted >= 1.1.1
18 Requires:       python-nevow = %{version}-%{release}
19 Requires:       spambayes >= 1.0a7-0.2
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Quotient's primary function is a full-featured email platform, which
24 can act as an IMAP4, POP3, SMTP, server and client. It also has a
25 seamlessly integrated web-mail interface and spam filtering using
26 Spambayes, which is trainable either through the web UI or through
27 IMAP.
28
29 In future Quotient will be a person-centric application server, and a
30 simulation of your personal reality. It keeps track of your
31 communications and enables you to effortlessly prioritize your
32 commitments.
33
34 %description -l pl
35 Obecnie g³ówn± funkcj± Quotient jest bycie w pe³ni wyposa¿on±
36 platform± email, spe³niaj±c± zadania klientów oraz serwerów protoko³ów
37 IMAP4, POP3 i SMTP. Quotient posiada te¿ zintegrowany interfejs
38 odbioru poczty poprzez www oraz filtr niechcianej poczty u¿ywaj±cy
39 bayesowskich technik wykrywania niechcianych wiadomo¶ci, który mo¿e
40 byæ rozszerzany poprzez interfejs www lub IMAP.
41
42 W przysz³o¶ci Quotient rozwinie siê do nakierowanego na osobê serwera
43 aplikacji. Quotient bêdzie ¶ledzi³ i utrzymywa³ informacje o
44 kontaktach oraz umo¿liwia³ ³atwe zarz±dzanie stopniem zaanga¿owania.
45
46 %package -n python-nevow
47 Summary:        Web application templating system
48 Summary(pl):    System szablonów do tworzenia stron www
49 Group:          Libraries/Python
50 Requires:       python-atop = %{version}-%{release}
51 Requires:       python-Twisted >= 1.1.1
52
53 %description -n python-nevow
54 Nevow is a next-generation web application templating system, based on
55 the ideas developed in the Twisted Woven package. Its main focus is on
56 separating the HTML template from both the business logic and the
57 display logic, while allowing the programmer to write pure Python code
58 as much as possible. It separates your code into 'data' and 'render'
59 functions, a simplified implementation of traditional MVC. It has
60 various parts which can be used individually or as a whole, integrated
61 web solution:
62
63 * XHTML templates: contain no programming logic, only nodes tagged
64   with nevow attributes,
65 * data/render methods: simplified MVC,
66 * stan: An s-expression-like syntax for expressing xml in pure python,
67 * formless: For describing the types of objects which may be passed to
68   methods of your classes, validating and coercing string input from
69   either web or command-line sources, and calling your methods
70   automatically once validation passes,
71 * freeform: For rendering web forms based on formless type
72   descriptions, accepting form posts and passing them to formless
73   validators, and rendering error forms in the event validation fails,
74 * livepage: Cross-browser JavaScript glue for sending client side
75   events to the server and server side events to the client after the
76   page has loaded, without causing the entire page to refresh.
77
78 %description -n python-nevow -l pl
79 Nevow jest systemem szblonów wspomagaj±cym tworzenie aplikacji
80 webowych, bazuj±cym na pomys³ach zawartych w rozwijanym w ramach
81 projektu Twisted pakiecie Woven. G³ównym zadaniem Nevow jest
82 umo¿liwienie deweloperowi odseparowanie kodu szablonu HTML od logiki
83 biznesowej i logiki prezentacyjnej tworzonego systemu. Nevow rozdziela
84 Twój kod na funkcje zarz±dzania danymi oraz ich wy¶wietlania, co jest
85 uproszczon± wersj± wzroca projektowego MVC. Na Nevow sk³ada siê zbiór
86 ró¿nych funkcjonalno¶ci, które mog± byæ u¿ywane osobno albo jako
87 ca³o¶ciwe rozwi±zanie wspomagaj±ce tworzenie aplikacji webowych:
88
89 * szablony XHTML: nie zawieraj± logiki programistycznej, jedynie
90   wierzcho³ki tagowane atrybutami przestrzeni nazw nevow,
91 * funkcje zarz±dzania danymi i wy¶wietlaniem: uproszczenie wzorca
92   projektowego Model-Widok-Kontroler (MVC),
93 * stan: sk³adnia wyra¿ania elementów jêzyka xml w czystym pythonie w
94   oparciu o s-wyra¿enia,
95 * formless: opisywanie typów obiektów mog±cych byæ argumentami
96   tworzonych przez Ciebie metod klas, weryfikacji i poprawiania
97   znakowych danych wej¶ciowych od klientów www lub innych ¼róde³ oraz
98   automatyczne wywo³ywanie Twoich metod po poprawnej weryfikacji,
99 * freeform: renderowanie formularzy HTML oparte o opisy typów
100   formless, akceptacja formularzy dostarczonych przez klienta, analiza
101   ich zawarto¶ci w oparciu o mechanizm weryfikatorów formless oraz
102   tworzenie komunikatów o b³êdach podczas nieudanej weryfikacji
103   formularza,
104 * livepage: miêdzyplatformowy "klej" JavaScript umo¿liwiaj±cy
105   przesy³anie efektów ubocznych pracy klienta do serwera i odwrotnie
106   po za³adowaniu strony bez konieczno¶ci jej od¶wie¿ania.
107
108 %package -n python-atop
109 Summary:        A simple transactional object database built on Berkeley DB
110 Summary(pl):    Prosta transakcyjna obiektowa baza danych oparta o Berkeley DB
111 Group:          Libraries/Python
112 Requires:       python-Twisted >= 1.1.1
113 Requires:       python-bsddb
114
115 %description -n python-atop
116 ATOP, the Atomic Transactional Object Persistor, is a Python object
117 database implemented atop the Berkeley DB and bsddb python module,
118 with functional similarities to other python packages such as ZODB and
119 COG.
120
121 Atop was designed in support of the Quotient messaging server. The
122 primary requirement was for a low-latency data store that was still
123 reliable and transactional, and still amenable to on-the-fly upgrading
124 and rapid code iterations.
125
126 %description -n python-atop -l pl
127 ATOP (Atomic Transactional Object Persistor) jest obiektow± baz±
128 danych implementuj±c± interfejsy Berkeley DB i bsddb, z
129 funkcjonalno¶ci± podobn± do innych pakietów pythona takich jak ZODB i
130 COG.
131
132 Atop zosta³ rozwiniêty jako czê¶æ serwera komunikacyjnego Quotient.
133
134 %prep
135 %setup -q
136
137 %build
138 python setup.py build_ext
139
140 %install
141 rm -rf $RPM_BUILD_ROOT
142 install -d $RPM_BUILD_ROOT%{py_sitedir}
143
144 python setup.py install \
145         --root=$RPM_BUILD_ROOT \
146         --install-lib=%{py_sitedir} \
147         --optimize=2
148
149 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
150
151 %clean
152 rm -rf $RPM_BUILD_ROOT
153
154 %files
155 %defattr(644,root,root,755)
156 %doc LICENSE README doc
157 %{py_sitedir}/quotient
158
159 %files -n python-nevow
160 %defattr(644,root,root,755)
161 %{py_sitedir}/nevow
162
163 %files -n python-atop
164 %defattr(644,root,root,755)
165 %{py_sitedir}/atop
This page took 0.238065 seconds and 3 git commands to generate.