SPECS: documancer.spec (NEW) - raw; docs viewer

arekm arekm at pld-linux.org
Thu Dec 8 21:42:46 CET 2005


Author: arekm                        Date: Thu Dec  8 20:42:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- raw; docs viewer

---- Files affected:
SPECS:
   documancer.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/documancer.spec
diff -u /dev/null SPECS/documancer.spec:1.1
--- /dev/null	Thu Dec  8 21:42:46 2005
+++ SPECS/documancer.spec	Thu Dec  8 21:42:41 2005
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+Summary:	Programmer's documentation reader
+Name:		documancer
+Version:	0.2.6
+Release:	0.1
+License:	GPL v2+
+Group:		Applications/Publishing
+Source0:	http://dl.sourceforge.net/documancer/%{name}-%{version}.tar.gz
+# Source0-md5:	f570655370c232a2947699258fc6fae0
+URL:		http://documancer.sourceforge.net/
+Requires:	python-wxPython
+requires:	wxMozilla
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Documancer is programmer's documentation reader with very fast fulltext searching.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--libdir=%{_datadir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+mv $RPM_BUILD_ROOT%{_datadir}/documancer/providers/man/man2html/man2html \
+	$RPM_BUILD_ROOT%{_bindir}
+ln -sf %{_bindir}/man2html $RPM_BUILD_ROOT%{_datadir}/documancer/providers/man/man2html/man2html
+
+rm -f $RPM_BUILD_ROOT%{_bindir}/documancer
+echo '#!/usr/bin/python %{_datadir}/documancer/documancer.py' > $RPM_BUILD_ROOT%{_bindir}/documancer
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/documancer
+%attr(755,root,root) %{_bindir}/man2html
+%{_datadir}/documancer
+# /usr/share/documancer/indexers/java/documancer-java-indexer needs to be 755
+%{_pixmapsdir}/*.png
+%{_desktopdir}/*.desktop
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/12/08 20:42:41  arekm
+- raw; docs viewer
+
================================================================



More information about the pld-cvs-commit mailing list