[projects/template-specs] - minor updates, mostly descriptions
qboosh
qboosh at pld-linux.org
Fri Jun 9 22:49:00 CEST 2017
commit 2bd7838de8e5a7791c7ba599136d4621b303b103
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jun 9 22:50:11 2017 +0200
- minor updates, mostly descriptions
ghc-package.spec | 2 +-
lib.spec | 6 +++++-
ocaml.spec | 2 +-
python.spec | 8 ++++----
ruby.spec | 16 ++++++++--------
5 files changed, 19 insertions(+), 15 deletions(-)
---
diff --git a/ghc-package.spec b/ghc-package.spec
index c40584e..513cd74 100644
--- a/ghc-package.spec
+++ b/ghc-package.spec
@@ -35,7 +35,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%package prof
Summary: Profiling %{pkgname} library for GHC
-Summary(pl.UTF-8): Biblioteka profilująca %{pkgname} dla GHC.
+Summary(pl.UTF-8): Biblioteka profilująca %{pkgname} dla GHC
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
#Requires: ghc-OTHERMODULE-prof
diff --git a/lib.spec b/lib.spec
index c8e0b28..ec2cf39 100644
--- a/lib.spec
+++ b/lib.spec
@@ -85,9 +85,13 @@ Static %{name} library.
Statyczna biblioteka %{name}.
%package apidocs
-Summary: %{name} API documentation
+Summary: API documentation for %{name} library
Summary(pl.UTF-8): Dokumentacja API biblioteki %{name}
Group: Documentation
+# if not arch-dependent
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
API documentation for %{name} library.
diff --git a/ocaml.spec b/ocaml.spec
index 38eda45..41a410f 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -3,7 +3,7 @@
%bcond_without ocaml_opt # skip building native optimized binaries (bytecode is always built)
# not yet available on x32 (ocaml 4.02.1), update when upstream will support it
-%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
+%ifnarch %{ix86} %{x8664} %{arm} aarch64 ppc sparc sparcv9
%undefine with_ocaml_opt
%endif
diff --git a/python.spec b/python.spec
index 7fbf872..e9beeae 100644
--- a/python.spec
+++ b/python.spec
@@ -59,15 +59,15 @@ Requires: python3-modules
%description -n python3-%{module} -l pl.UTF-8
%package apidocs
-Summary: %{module} API documentation
-Summary(pl.UTF-8): Dokumentacja API %{module}
+Summary: API documentation for Python %{module} module
+Summary(pl.UTF-8): Dokumentacja API modułu Pythona %{module}
Group: Documentation
%description apidocs
-API documentation for %{module}.
+API documentation for Pythona %{module} module.
%description apidocs -l pl.UTF-8
-Dokumentacja API %{module}.
+Dokumentacja API modułu Pythona %{module}.
%prep
%setup -q -n %{pypi_name}-%{version}
diff --git a/ruby.spec b/ruby.spec
index 8c3186f..d836993 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -34,28 +34,28 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
...
%package rdoc
-Summary: HTML documentation for %{pkgname}
-Summary(pl.UTF-8): Dokumentacja w formacie HTML dla %{pkgname}
+Summary: HTML documentation for Ruby %{pkgname} module
+Summary(pl.UTF-8): Dokumentacja w formacie HTML dla modułu języka Ruby %{pkgname}
Group: Documentation
Requires: ruby >= 1:1.8.7-4
%description rdoc
-HTML documentation for %{pkgname}.
+HTML documentation for Ruby %{pkgname} module.
%description rdoc -l pl.UTF-8
-Dokumentacja w formacie HTML dla %{pkgname}.
+Dokumentacja w formacie HTML dla modułu języka Ruby %{pkgname}.
%package ri
-Summary: ri documentation for %{pkgname}
-Summary(pl.UTF-8): Dokumentacja w formacie ri dla %{pkgname}
+Summary: ri documentation for Ruby %{pkgname} module
+Summary(pl.UTF-8): Dokumentacja w formacie ri dla modułu języka Ruby %{pkgname}
Group: Documentation
Requires: ruby
%description ri
-ri documentation for %{pkgname}.
+ri documentation for Ruby %{pkgname} module.
%description ri -l pl.UTF-8
-Dokumentacji w formacie ri dla %{pkgname}.
+Dokumentacja w formacie ri dla modułu języka Ruby %{pkgname}.
%prep
%setup -q -n %{pkgname}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/2bd7838de8e5a7791c7ba599136d4621b303b103
More information about the pld-cvs-commit
mailing list