packages: translate-toolkit/translate-toolkit.spec - update runtime deps, d...
glen
glen at pld-linux.org
Mon May 10 17:30:20 CEST 2010
Author: glen Date: Mon May 10 15:30:20 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- update runtime deps, doc subpackage
---- Files affected:
packages/translate-toolkit:
translate-toolkit.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/translate-toolkit/translate-toolkit.spec
diff -u packages/translate-toolkit/translate-toolkit.spec:1.2 packages/translate-toolkit/translate-toolkit.spec:1.3
--- packages/translate-toolkit/translate-toolkit.spec:1.2 Mon May 10 16:31:57 2010
+++ packages/translate-toolkit/translate-toolkit.spec Mon May 10 17:30:14 2010
@@ -1,12 +1,15 @@
# $Revision$, $Date$
+# TODO
+# - fc gettext-libs is contained in "gettext-devel, libasprintf", but which exactly?
#
# Conditional build:
-%bcond_without apidocs # do not build and package API docs
+%bcond_without apidocs # do not package API docs
+%bcond_without doc # do not package user docs
Summary: Tools to assist with translation and software localization
Name: translate-toolkit
Version: 1.6.0
-Release: 0.1
+Release: 0.2
License: GPL v2+
Group: Development/Tools
URL: http://translate.sourceforge.net/wiki/toolkit/index
@@ -20,11 +23,10 @@
BuildRequires: python-lxml
BuildRequires: python-simplejson
BuildRequires: python-vobject
-Requires: gettext-libs
Requires: python-Levenshtein
-Requires: python-enchant
Requires: python-iniparse
Requires: python-lxml
+Requires: python-pyenchant
%ifarch %{ix86}
Requires: python-psyco
%endif
@@ -61,6 +63,13 @@
new tools for the toolkit or to use the libraries in other
localization tools.
+%package doc
+Summary: User Manual for translate-toolkit
+Group: Documentation
+
+%description doc
+Documentation for translate-toolkit.
+
%prep
%setup -q
%patch0 -p1
@@ -137,7 +146,6 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc translate/ChangeLog translate/README
-%doc translate/doc/user/toolkit-[a-z]*
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
%dir %{_datadir}/translate-toolkit
@@ -215,9 +223,17 @@
%{py_sitescriptdir}/translate_toolkit-*.egg-info
%endif
+%if %{with doc}
+%files doc
+%defattr(644,root,root,755)
+%doc translate/doc/user/*
+%endif
+
+%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
%doc translate/doc/api/*
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -225,6 +241,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2010/05/10 15:30:14 glen
+- update runtime deps, doc subpackage
+
Revision 1.2 2010/05/10 14:31:57 glen
- more lang tags for langmodels
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/translate-toolkit/translate-toolkit.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list