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