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