]> git.pld-linux.org Git - packages/python-HTMLgen.git/blob - python-HTMLgen.spec
- added using CVS keywords in %changelog (for automating them).
[packages/python-HTMLgen.git] / python-HTMLgen.spec
1 Summary: class library to create HTML documents from within Python  
2 Name: python-HTMLgen
3 Version: 2.1 
4 Release: 3
5 Copyright: distributable
6 Group: Development/Languages/Python
7 Group(pl): Proggramowanie/Jêzyki/Python
8 Source0: HTMLgen.tar.gz 
9 Source1: HTMLgen.pth
10 Patch0: python-HTMLgen-fixpaths.patch
11 Icon: linux-python-small.gif 
12 BuildRoot:      /tmp/%{name}-%{version}-root
13 Requires: python >= 1.5
14 BuildArchitectures: noarch
15 Summary(pl): Modul do tworzenia domumentów w HTML przy uzyciu Pythona  
16
17 %description
18 HTMLgen is a class library for the generation of HTML documents with
19 Python scripts. It's used when you want to create HTML pages
20 containing information which changes from time to time. For example
21 you might want to have a page which provides an overall system summary
22 of data collected nightly. Or maybe you have a catalog of data and
23 images that you would like formed into a spiffy set of web pages for
24 the world to browse. Python is a great scripting language for these
25 tasks and with HTMLgen it's very straightforward to construct objects
26 which are rendered out into consistently structured web pages. Of
27 course, CGI scripts written in Python can take advantage of these
28 classes as well.
29
30 This software should work on both Unix and Macintosh and Win32
31 platforms running Python 1.3 or greater. (HTMLcalendar.py requires
32 1.4) If you are running 1.5 the new re and string module enhancements
33 are used for performance.
34
35 %description -l pl 
36 HTMLGen jest modu³em do tworzenia dokumentów w HTML'u za pomoc± skryptów
37 w Pythonie. Jest przydatny do generowania stron WWW zawieraj±cych okresowo
38 zmieniaj±ce sie informacje. Na przyk³ad stronê zawieraj±c± dzienne 
39 podsumowania statystyki wykorzystania serwera. Innym typowym zastosowaniem 
40 jest przygotowywanie strony zawieraj±cej opis i odnosniki do rysunków 
41 znajduj±cych sie w okreslonym katalogu, tak aby mo¿na je by³o ³ato ogl±daæ 
42 przez www. Python jest dobrym jêzykiem do programowania takich zadañ,
43 a wyko¿ystanie biblioteki HTMLGen znacznie u³atwia konstruowanie obiektów
44 które po przetwo¿eniu przez tê bibliotekê utworz± spójn± stronê www.
45 Oczywi¶cie sktypty CGI pisane w Pythonie równie¿ mog± robiæ u¿ytek z tej 
46 bilioteki.
47
48 %prep
49 %setup -n HTMLgen
50 %patch -p0
51
52 %build
53
54 %install
55 mkdir -p $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/HTMLgen
56 install -m 555 $RPM_SOURCE_DIR/HTMLgen.pth $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/
57 install -m 555 *.py $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/HTMLgen
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61                                         
62 %files
63 %doc data html image README ChangeLog *.rc *.css
64 %{_libdir}/python1.5/site-packages/HTMLgen
65 %{_libdir}/python1.5/site-packages/HTMLgen.pth
This page took 0.026749 seconds and 4 git commands to generate.