From c248f03339baccca3c1d4e722e90cc918fadf804 Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Mon, 3 Oct 2011 20:57:29 +0000 Subject: [PATCH] - added /usr/share/help and its subdirs - release 51 Changed files: filesystem.spec -> 1.131 --- filesystem.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/filesystem.spec b/filesystem.spec index abbab17..d178c7a 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -8,7 +8,7 @@ Summary: Common directories Summary(pl.UTF-8): Wspólne katalogi Name: filesystem Version: 3.0 -Release: 50 +Release: 51 License: GPL Group: Base BuildRequires: automake @@ -69,6 +69,15 @@ install -d \ $RPM_BUILD_ROOT%{_fontsdir}/{{100,75}dpi,OTF,Speedo,Type1/{afm,pfm},TTF,cyrillic,local,misc} \ $RPM_BUILD_ROOT{%{_idldir},%{_privsepdir}} + +> %{name}.lang +install -d $RPM_BUILD_ROOT/usr/share/help/C + +for lang in ar ca cs da de el en_GB es eu fi fr gl he hi hr hu id it ja lt nb nl oc pl ps pt_BR ru sl sr sr@latin sv th tr vi zh_CN zh_TW; do + install -d $RPM_BUILD_ROOT/usr/share/help/${lang} + echo "%%lang($lang) %dir /usr/share/help/${lang}" >> %{name}.lang +done + %if "%{_lib}" == "lib64" install -d \ $RPM_BUILD_ROOT/lib64/security \ @@ -136,7 +145,7 @@ if posix.stat("/usr/include/X11", "type") == "link" then end %endif -%files +%files -f %{name}.lang %defattr(644,root,root,755) %dir /etc/X11/xinit %dir /etc/X11/xinit/xinitrc.d @@ -184,6 +193,8 @@ end %dir /usr/share/color/icc %dir /usr/share/gnome %dir /usr/share/gnome/help +%dir /usr/share/help +%dir /usr/share/help/C %dir /usr/share/man/man[nl] %lang(pl) %dir /usr/share/man/pl/mann %dir /usr/share/pkgconfig -- 2.43.0