]> git.pld-linux.org Git - packages/documancer.git/blame - documancer.spec
- tabs in preamble
[packages/documancer.git] / documancer.spec
CommitLineData
cc79d3f9 1Summary: Programmer's documentation reader
daf3991f 2Summary(pl.UTF-8): Czytnik dokumentacji programisty
cc79d3f9
AM
3Name: documancer
4Version: 0.2.6
5Release: 0.1
6License: GPL v2+
7Group: Applications/Publishing
8Source0: http://dl.sourceforge.net/documancer/%{name}-%{version}.tar.gz
9# Source0-md5: f570655370c232a2947699258fc6fae0
10URL: http://documancer.sourceforge.net/
11Requires: python-wxPython
b3481467 12Requires: wxMozilla
cc79d3f9
AM
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
b3481467
JB
16Documancer is programmer's documentation reader with very fast
17fulltext searching.
18
2cd31ab7 19%description -l pl.UTF-8
b3481467 20Documancer to czytnik dokumentacji programisty z bardzo szybkim
2cd31ab7 21wyszukiwaniem pełnotekstowym.
cc79d3f9
AM
22
23%prep
24%setup -q
25
26%build
27%configure \
28 --libdir=%{_datadir}
29%{__make}
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34%{__make} install \
35 DESTDIR=$RPM_BUILD_ROOT
36
37mv $RPM_BUILD_ROOT%{_datadir}/documancer/providers/man/man2html/man2html \
38 $RPM_BUILD_ROOT%{_bindir}
39ln -sf %{_bindir}/man2html $RPM_BUILD_ROOT%{_datadir}/documancer/providers/man/man2html/man2html
40
41rm -f $RPM_BUILD_ROOT%{_bindir}/documancer
42echo '#!/usr/bin/python %{_datadir}/documancer/documancer.py' > $RPM_BUILD_ROOT%{_bindir}/documancer
43
44%clean
45rm -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.110873 seconds and 4 git commands to generate.