SPECS: pykota.spec - remove svn artefacts - build docs - some file...
baggins
baggins at pld-linux.org
Sat Dec 8 02:33:23 CET 2007
Author: baggins Date: Sat Dec 8 01:33:23 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- remove svn artefacts
- build docs
- some files cleanup
---- Files affected:
SPECS:
pykota.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/pykota.spec
diff -u SPECS/pykota.spec:1.14 SPECS/pykota.spec:1.15
--- SPECS/pykota.spec:1.14 Sat Dec 8 02:00:00 2007
+++ SPECS/pykota.spec Sat Dec 8 02:33:17 2007
@@ -12,6 +12,8 @@
Source0: %{name}-%{version}.tar.bz2
# Source0-md5: 6e4b3232420592695388cbb27511e668
URL: http://www.pykota.com/
+BuildRequires: docbook-utils
+BuildRequires: docbook-dtd41-sgml
BuildRequires: ghostscript
BuildRequires: net-snmp-utils
BuildRequires: python-chardet
@@ -51,17 +53,26 @@
mv -f man/{nb_NO,nb}
mv -f man/{sv_SE,sv}
+find -name .svn | xargs rm -rf
+
%build
python checkdeps.py
python setup.py build
+cd docs
+mkdir html
+docbook2html -o html pykota.sgml
+docbook2pdf pykota.sgml
+
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install \
--root=$RPM_BUILD_ROOT --optimize=2
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
+
%find_lang %{name}
%clean
@@ -69,6 +80,8 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
+%doc CREDITS FAQ LICENSE README SECURITY TODO
+%doc openoffice qa-assistant docs/*.sxi docs/*.pdf docs/html
%attr(755,root,root) %{_bindir}/*
%dir %{py_sitescriptdir}/%{name}
%{py_sitescriptdir}/%{name}/*.py[co]
@@ -80,13 +93,12 @@
%{py_sitescriptdir}/%{name}/loggers/*.py[co]
%dir %{py_sitescriptdir}/%{name}/accounters
%{py_sitescriptdir}/%{name}/accounters/*.py[co]
+%{py_sitescriptdir}/*.egg-info
%dir %{_datadir}/%{name}
%attr(755,root,root) %{_datadir}/%{name}/*.sh
-%attr(755,root,root) %{_datadir}/%{name}/*.php
%attr(755,root,root) %{_datadir}/%{name}/*.py
%attr(755,root,root) %{_datadir}/%{name}/cupspykota
%{_datadir}/%{name}/*.pjl
-%{_datadir}/%{name}/*.pl
%{_datadir}/%{name}/*.ps
%{_datadir}/%{name}/logos
%dir %{_datadir}/%{name}/cgi-bin
@@ -100,7 +112,7 @@
%lang(es) %{_mandir}/es/man?/*
%lang(fr) %{_mandir}/fr/man?/*
%lang(it) %{_mandir}/it/man?/*
-%lang(nb) %{_mandir}/nb_NO/man?/*
+%lang(nb) %{_mandir}/nb/man?/*
%lang(pl) %{_mandir}/pl/man?/*
%lang(pt) %{_mandir}/pt/man?/*
%lang(pt_BR) %{_mandir}/pt_BR/man?/*
@@ -115,6 +127,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2007-12-08 01:33:17 baggins
+- remove svn artefacts
+- build docs
+- some files cleanup
+
Revision 1.14 2007-12-08 01:00:00 baggins
- fix locale names in prep
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pykota.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list