]>
Commit | Line | Data |
---|---|---|
5a78d998 | 1 | Summary: FAQtor - a FAQ generator |
cefe2594 | 2 | Summary(pl.UTF-8): FAQtor - generator FAQ |
5a78d998 | 3 | Name: faqtor |
85dda455 | 4 | Version: 0.8 |
5 | Release: 1 | |
a632e3dd | 6 | License: GPL v2 |
5a78d998 MG |
7 | Group: Applications/Text |
8 | Source0: http://dl.sourceforge.net/faqtor/%{name}-%{version}.tgz | |
85dda455 | 9 | # Source0-md5: c3901c2b0f630963c324c9ebd591a834 |
5a78d998 | 10 | URL: http://faqtor.sourceforge.net/ |
85dda455 | 11 | BuildRequires: rpm-pythonprov |
a632e3dd | 12 | Requires: python >= 1:2.3 |
e0b8f28b | 13 | Requires: python-PyXML |
5a78d998 MG |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | FAQtor is a FAQ generator. It is a simple but powerfull Python script | |
18 | that can convert custom XML files into professional looking FAQs. | |
19 | ||
ba9f837d JR |
20 | %description -l pl.UTF-8 |
21 | FAQtor jest generatorem plików FAQ. Jest to prosty, lecz wyposażony | |
22 | w duże możliwości skrypt Pythona konwertujący pliki XML opisujące | |
23 | sekcje, pytania i odpowiedzi FAQ w profesjonalnie wyglądający | |
5a78d998 MG |
24 | dokument. |
25 | ||
26 | %prep | |
27 | %setup -q -c | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
5a78d998 | 31 | |
85dda455 | 32 | install -d $RPM_BUILD_ROOT%{_bindir} |
a632e3dd | 33 | sed -e 's!/bin/env python!/usr/bin/python!' faqtor.py > $RPM_BUILD_ROOT%{_bindir}/faqtor.py |
5a78d998 MG |
34 | |
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
5a78d998 | 40 | %doc README* sample* |
a632e3dd | 41 | %attr(755,root,root) %{_bindir}/faqtor.py |