]> git.pld-linux.org Git - packages/Quotient.git/blobdiff - Quotient.spec
- admin tools added to -utils subpackage
[packages/Quotient.git] / Quotient.spec
index 02838985d3f8edb3bfbdcd4b5952a8045d430536..61206ef6f1ec5b9572a833cfa243429695d98c13 100644 (file)
@@ -2,21 +2,24 @@
 Summary:       A conversation server built using Twisted
 Summary(pl):   Serwer konwersacyjny tworzony przy u¿yciu ¶rodowiska Twisted
 Name:          Quotient
-Version:       0.8.8
-Release:       1
+Version:       0.9.1
+Release:       4
 License:       LGPL
 Group:         Applications/Communications
-Source0:       http://dl.sourceforge.net/divmod/%{name}-%{version}.tar.gz
-# Source0-md5: 650cdb4ae2b59a0f432e49804f2923a9
+Source0:       http://www.divmod.org/users/release/divmod/%{name}-%{version}.tar.gz
+# Source0-md5: 406fdd2160843bc3be43486b8e30273f
 URL:           http://www.divmod.org/Home/
 BuildRequires: python-devel >= 2.3
 %pyrequires_eq python-modules
 Requires:      python >= 2.3
-Requires:      python-Imaging
-Requires:      python-Lupy >= 0.1.5.5
-Requires:      python-Twisted >= 1.1.1
-Requires:      python-nevow = %{version}-%{release}
+Requires:      python-Imaging >= 1.1.4
+Requires:      python-Lupy >= 0.2.1
+Requires:      python-Twisted >= 1.3.0
+Requires:      python-atop = %{version}-%{release}
+Requires:      python-nevow >= 0.2.0
+Requires:      python-pyOpenSSL
 Requires:      spambayes >= 1.0a7-0.2
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -43,73 +46,11 @@ W przysz
 aplikacji. Quotient bêdzie ¶ledzi³ i utrzymywa³ informacje o
 kontaktach oraz umo¿liwia³ ³atwe zarz±dzanie stopniem zaanga¿owania.
 
-%package -n python-nevow
-Summary:       Web application templating system
-Summary(pl):   System szablonów do tworzenia stron www
-Group:         Libraries/Python
-Requires:      python-atop = %{version}-%{release}
-Requires:      python-Twisted >= 1.1.1
-
-%description -n python-nevow
-Nevow is a next-generation web application templating system, based on
-the ideas developed in the Twisted Woven package. Its main focus is on
-separating the HTML template from both the business logic and the
-display logic, while allowing the programmer to write pure Python code
-as much as possible. It separates your code into 'data' and 'render'
-functions, a simplified implementation of traditional MVC. It has
-various parts which can be used individually or as a whole, integrated
-web solution:
-
-* XHTML templates: contain no programming logic, only nodes tagged
-  with nevow attributes,
-* data/render methods: simplified MVC,
-* stan: An s-expression-like syntax for expressing xml in pure python,
-* formless: For describing the types of objects which may be passed to
-  methods of your classes, validating and coercing string input from
-  either web or command-line sources, and calling your methods
-  automatically once validation passes,
-* freeform: For rendering web forms based on formless type
-  descriptions, accepting form posts and passing them to formless
-  validators, and rendering error forms in the event validation fails,
-* livepage: Cross-browser JavaScript glue for sending client side
-  events to the server and server side events to the client after the
-  page has loaded, without causing the entire page to refresh.
-
-%description -n python-nevow -l pl
-Nevow jest systemem szblonów wspomagaj±cym tworzenie aplikacji
-webowych, bazuj±cym na pomys³ach zawartych w rozwijanym w ramach
-projektu Twisted pakiecie Woven. G³ównym zadaniem Nevow jest
-umo¿liwienie deweloperowi odseparowanie kodu szablonu HTML od logiki
-biznesowej i logiki prezentacyjnej tworzonego systemu. Nevow rozdziela
-Twój kod na funkcje zarz±dzania danymi oraz ich wy¶wietlania, co jest
-uproszczon± wersj± wzroca projektowego MVC. Na Nevow sk³ada siê zbiór
-ró¿nych funkcjonalno¶ci, które mog± byæ u¿ywane osobno albo jako
-ca³o¶ciwe rozwi±zanie wspomagaj±ce tworzenie aplikacji webowych:
-
-* szablony XHTML: nie zawieraj± logiki programistycznej, jedynie
-  wierzcho³ki tagowane atrybutami przestrzeni nazw nevow,
-* funkcje zarz±dzania danymi i wy¶wietlaniem: uproszczenie wzorca
-  projektowego Model-Widok-Kontroler (MVC),
-* stan: sk³adnia wyra¿ania elementów jêzyka xml w czystym pythonie w
-  oparciu o s-wyra¿enia,
-* formless: opisywanie typów obiektów mog±cych byæ argumentami
-  tworzonych przez Ciebie metod klas, weryfikacji i poprawiania
-  znakowych danych wej¶ciowych od klientów www lub innych ¼róde³ oraz
-  automatyczne wywo³ywanie Twoich metod po poprawnej weryfikacji,
-* freeform: renderowanie formularzy HTML oparte o opisy typów
-  formless, akceptacja formularzy dostarczonych przez klienta, analiza
-  ich zawarto¶ci w oparciu o mechanizm weryfikatorów formless oraz
-  tworzenie komunikatów o b³êdach podczas nieudanej weryfikacji
-  formularza,
-* livepage: miêdzyplatformowy "klej" JavaScript umo¿liwiaj±cy
-  przesy³anie efektów ubocznych pracy klienta do serwera i odwrotnie
-  po za³adowaniu strony bez konieczno¶ci jej od¶wie¿ania.
-
 %package -n python-atop
 Summary:       A simple transactional object database built on Berkeley DB
 Summary(pl):   Prosta transakcyjna obiektowa baza danych oparta o Berkeley DB
 Group:         Libraries/Python
-Requires:      python-Twisted >= 1.1.1
+Requires:      python-Twisted >= 1.3.0
 Requires:      python-bsddb
 
 %description -n python-atop
@@ -131,6 +72,32 @@ COG.
 
 Atop zosta³ rozwiniêty jako czê¶æ serwera komunikacyjnego Quotient.
 
+%package doc
+Summary:       Documentation for Quotient conversation server
+Summary(pl):   Dokumentacja dla serwera komunikacyjnego Quotient
+Group:         Applications/Communications
+Requires:      %{name} = %{version}-%{release}
+
+%description doc
+This package contains documentation files for Quotient conversation
+server.
+
+%description doc -l pl
+Pakiet zawieraj±cy dokumentacjê dla serwera komunikacyjnego Quotient.
+
+%package utils
+Summary:       Tools for Quotient conversation server
+Summary(pl):   Programy narzêdziowe dla serwera komunikacyjnego Quotient
+Group:         Applications/Communications
+Requires:      %{name} = %{version}-%{release}
+
+%description utils
+This package contains tools for Quotient conversation server.
+
+%description utils -l pl
+Pakiet zawieraj±cy programy narzêdziowe dla serwera komunikacyjnego
+Quotient.
+
 %prep
 %setup -q
 
@@ -139,27 +106,33 @@ python setup.py build_ext
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{py_sitedir}
+install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_datadir}/quotient}
 
 python setup.py install \
         --root=$RPM_BUILD_ROOT \
-       --install-lib=%{py_sitedir} \
+       --install-lib=%{py_sitescriptdir} \
        --optimize=2
 
-find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
+
+cp -ar tools/* admin $RPM_BUILD_ROOT%{_datadir}/quotient
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE README doc
-%{py_sitedir}/quotient
+%doc README
+%{py_sitescriptdir}/quotient
 
-%files -n python-nevow
+%files -n python-atop
 %defattr(644,root,root,755)
-%{py_sitedir}/nevow
+%{py_sitescriptdir}/atop
 
-%files -n python-atop
+%files doc
+%defattr(644,root,root,755)
+%doc doc/*
+
+%files utils
 %defattr(644,root,root,755)
-%{py_sitedir}/atop
+%{_datadir}/quotient
This page took 0.25259 seconds and 4 git commands to generate.