]> git.pld-linux.org Git - packages/documancer.git/blob - documancer.spec
- tabs in preamble
[packages/documancer.git] / documancer.spec
1 Summary:        Programmer's documentation reader
2 Summary(pl.UTF-8):      Czytnik dokumentacji programisty
3 Name:           documancer
4 Version:        0.2.6
5 Release:        0.1
6 License:        GPL v2+
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
12 Requires:       wxMozilla
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Documancer is programmer's documentation reader with very fast
17 fulltext searching.
18
19 %description -l pl.UTF-8
20 Documancer to czytnik dokumentacji programisty z bardzo szybkim
21 wyszukiwaniem pełnotekstowym.
22
23 %prep
24 %setup -q
25
26 %build
27 %configure \
28         --libdir=%{_datadir}
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT
36
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
40
41 rm -f $RPM_BUILD_ROOT%{_bindir}/documancer
42 echo '#!/usr/bin/python %{_datadir}/documancer/documancer.py' > $RPM_BUILD_ROOT%{_bindir}/documancer
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
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
53 %{_pixmapsdir}/*.png
54 %{_desktopdir}/*.desktop
This page took 0.095418 seconds and 3 git commands to generate.