1 Summary: Programmer's documentation reader
2 Summary(pl.UTF-8): Czytnik dokumentacji programisty
7 Group: Applications/Publishing
8 Source0: http://dl.sourceforge.net/documancer/%{name}-%{version}.tar.gz
9 # Source0-md5: f570655370c232a2947699258fc6fae0
10 URL: http://documancer.sourceforge.net/
11 Requires: python-wxPython
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Documancer is programmer's documentation reader with very fast
19 %description -l pl.UTF-8
20 Documancer to czytnik dokumentacji programisty z bardzo szybkim
21 wyszukiwaniem pełnotekstowym.
32 rm -rf $RPM_BUILD_ROOT
35 DESTDIR=$RPM_BUILD_ROOT
37 mv $RPM_BUILD_ROOT%{_datadir}/documancer/providers/man/man2html/man2html \
38 $RPM_BUILD_ROOT%{_bindir}
39 ln -sf %{_bindir}/man2html $RPM_BUILD_ROOT%{_datadir}/documancer/providers/man/man2html/man2html
41 rm -f $RPM_BUILD_ROOT%{_bindir}/documancer
42 echo '#!/usr/bin/python %{_datadir}/documancer/documancer.py' > $RPM_BUILD_ROOT%{_bindir}/documancer
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/documancer
50 %attr(755,root,root) %{_bindir}/man2html
51 %{_datadir}/documancer
52 # /usr/share/documancer/indexers/java/documancer-java-indexer needs to be 755
54 %{_desktopdir}/*.desktop