From 8c858d1b0ad20c76d697f5422da0e9bf53f2a81aa063edd31a41358dbc6b2ce4 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 4 Sep 2012 13:54:41 +0000 Subject: [PATCH] - move directories for man page translations from man package to filesystem OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=85 --- filesystem.changes | 6 ++++++ filesystem.spec | 15 ++++++++++----- languages.man | 21 +++++++++++++++++++++ 3 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 languages.man diff --git a/filesystem.changes b/filesystem.changes index f580a47..e008d34 100644 --- a/filesystem.changes +++ b/filesystem.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 4 13:54:01 UTC 2012 - coolo@suse.com + +- move directories for man page translations from man package to + filesystem + ------------------------------------------------------------------- Thu Jul 12 08:49:21 UTC 2012 - lnussel@suse.de diff --git a/filesystem.spec b/filesystem.spec index 2d8cbf9..606fd45 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -20,7 +20,7 @@ Name: filesystem Summary: Basic Directory Layout License: GPL-2.0+ Group: System/Fhs -Version: 12.2 +Version: 12.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: aaa_dir @@ -29,6 +29,7 @@ Source: directory.list Source1: filesystem.links Source2: languages Source3: ghost.list +Source4: languages.man Source64: directory.list64 %prep @@ -124,6 +125,14 @@ while read LANG ; do create_dir 0755 root root /usr/share/locale/$LANG/LC_MESSAGES create_dir 0755 root root /usr/share/help/$LANG done < %{SOURCE2} +# Create the locale directories for man: +while read LANG ; do + create_dir 0755 root root /usr/share/man/$LANG + for sec in 1 2 3 4 5 6 7 8 9 n; do + create_dir 0755 root root /usr/share/man/$LANG/man$sec + done +done < %{SOURCE4} + RPM_INSTALL_PREFIX=$RPM_BUILD_ROOT export RPM_BUILD_ROOT # check, if all home directories are present. @@ -185,8 +194,4 @@ the home directories of system users. - - - - %changelog diff --git a/languages.man b/languages.man new file mode 100644 index 0000000..3faf0ca --- /dev/null +++ b/languages.man @@ -0,0 +1,21 @@ +ca +cs +da +de +el +eo +es +fr +hu +it +ja +nl +pl +pt +pt_BR +ru +sk +sv +zh +zh_CN +zh_TW