# $Revision: 1.1 $ Summary: FAQtor - a FAQ generator Summary(pl): FAQtor - generaor FAQ Name: faqtor Version: 0.7 Release: 1 License: GPLv2 Group: Applications/Text Source0: http://dl.sourceforge.net/faqtor/%{name}-%{version}.tgz # Source0-md5: 32c3aa742fc5fca90ea4cc2739ed9069 URL: http://faqtor.sourceforge.net/ Requires: python >= 2.3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description FAQtor is a FAQ generator. It is a simple but powerfull Python script that can convert custom XML files into professional looking FAQs. %description -l pl FAQtor jest generatorem plików FAQ. Jest to prosty, lecz wyposażony w duże możliwości skrypt Pythona konwertujący pliki XML opisujące sekcje, pytania i odpowiedzi FAQ w profesjonalnie wyglądający dokument. %prep %setup -q -c %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} cat faqtor.py | sed -e 's!/bin/env!/usr/bin/env!' > faqtor.py.pld mv faqtor.py.pld faqtor.py cp -a faqtor.py $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/faqtor.py %doc README* sample*