do own interface description directory /usr/share/idl(#451719), add a few
missing lang-exceptions to filelist(#508309)
This commit is contained in:
parent
cde73065be
commit
dd06d6014d
@ -1,6 +1,6 @@
|
|||||||
Summary: The basic directory layout for a Linux system
|
Summary: The basic directory layout for a Linux system
|
||||||
Name: filesystem
|
Name: filesystem
|
||||||
Version: 2.4.21
|
Version: 2.4.22
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: https://fedorahosted.org/filesystem
|
URL: https://fedorahosted.org/filesystem
|
||||||
@ -32,7 +32,7 @@ mkdir -p mnt/{floppy,cdrom} \
|
|||||||
bin boot dev \
|
bin boot dev \
|
||||||
etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,xinetd.d,skel,sysconfig,pki} \
|
etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,xinetd.d,skel,sysconfig,pki} \
|
||||||
home lib/modules %{_lib}/tls media mnt opt proc root sbin selinux srv sys tmp \
|
home lib/modules %{_lib}/tls media mnt opt proc root sbin selinux srv sys tmp \
|
||||||
usr/{bin,etc,games,include,%{_lib}/{games,sse2,tls,X11},lib/{games,locale,X11},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,icons,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,themes,xsessions},src,src/kernels} \
|
usr/{bin,etc,games,include,%{_lib}/{games,sse2,tls,X11},lib/{games,locale,X11},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,icons,idl,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,themes,xsessions},src,src/kernels} \
|
||||||
var/{empty,lib/{games,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd},tmp,db,cache,opt,games,yp}
|
var/{empty,lib/{games,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd},tmp,db,cache,opt,games,yp}
|
||||||
|
|
||||||
ln -snf ../var/tmp usr/tmp
|
ln -snf ../var/tmp usr/tmp
|
||||||
@ -51,15 +51,21 @@ done
|
|||||||
cat %{SOURCE1} | grep -v "^#" | grep -v "^$" | while read loc ; do
|
cat %{SOURCE1} | grep -v "^#" | grep -v "^$" | while read loc ; do
|
||||||
locale=$loc
|
locale=$loc
|
||||||
locality=
|
locality=
|
||||||
|
special=
|
||||||
[[ "$locale" =~ "@" ]] && locale=${locale%%@*}
|
[[ "$locale" =~ "@" ]] && locale=${locale%%@*}
|
||||||
[[ "$locale" =~ "_" ]] && locality=${locale##*_}
|
[[ "$locale" =~ "_" ]] && locality=${locale##*_}
|
||||||
|
[[ "$locality" =~ "." ]] && locality=${locality%%.*}
|
||||||
|
[[ "$loc" =~ "_" ]] || [[ "$loc" =~ "@" ]] || special=$loc
|
||||||
|
|
||||||
# If the locality is not official, skip it
|
# If the locality is not official, skip it
|
||||||
if [ -n "$locality" ]; then
|
if [ -n "$locality" ]; then
|
||||||
grep -q "^$locality" /usr/share/iso-codes/iso_3166.tab || continue
|
grep -q "^$locality" /usr/share/iso-codes/iso_3166.tab || continue
|
||||||
fi
|
fi
|
||||||
# If the locale is not official, skip it
|
# If the locale is not official and not special, skip it
|
||||||
egrep -q "[[:space:]]${locale%_*}[[:space:]]" /usr/share/iso-codes/iso_639.tab || continue
|
if [ -z "$special" ]; then
|
||||||
|
egrep -q "[[:space:]]${locale%_*}[[:space:]]" \
|
||||||
|
/usr/share/iso-codes/iso_639.tab || continue
|
||||||
|
fi
|
||||||
echo "%lang(${locale}) /usr/share/locale/${loc}" >> $RPM_BUILD_DIR/filelist
|
echo "%lang(${locale}) /usr/share/locale/${loc}" >> $RPM_BUILD_DIR/filelist
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -110,6 +116,7 @@ rm -rf %{buildroot}
|
|||||||
/usr/share/ghostscript
|
/usr/share/ghostscript
|
||||||
/usr/share/gnome
|
/usr/share/gnome
|
||||||
/usr/share/icons
|
/usr/share/icons
|
||||||
|
/usr/share/idl
|
||||||
/usr/share/info
|
/usr/share/info
|
||||||
%dir /usr/share/locale
|
%dir /usr/share/locale
|
||||||
/usr/share/man
|
/usr/share/man
|
||||||
@ -142,6 +149,10 @@ rm -rf %{buildroot}
|
|||||||
/var/yp
|
/var/yp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 08 2009 Ondrej Vasik <ovasik@redhat.com> - 2.4.22-1
|
||||||
|
- do own interface description directory /usr/share/idl(#451719)
|
||||||
|
- add a few missing lang-exceptions to filelist(#508309)
|
||||||
|
|
||||||
* Wed Mar 04 2009 Phil Knirsch <pknirsch@redhat.com> - 2.4.21-1
|
* Wed Mar 04 2009 Phil Knirsch <pknirsch@redhat.com> - 2.4.21-1
|
||||||
- Added /usr/share/backgrounds (#487957)
|
- Added /usr/share/backgrounds (#487957)
|
||||||
- Added /usr/share/ghostscript/{conf.d} (#302521)
|
- Added /usr/share/ghostscript/{conf.d} (#302521)
|
||||||
|
@ -12,12 +12,14 @@ am_ET
|
|||||||
ast_ES
|
ast_ES
|
||||||
az_IR
|
az_IR
|
||||||
bn_IN
|
bn_IN
|
||||||
|
ca@valencia
|
||||||
ca_ES
|
ca_ES
|
||||||
ca_ES@valencian
|
ca_ES@valencian
|
||||||
cs_CZ
|
cs_CZ
|
||||||
de_AT
|
de_AT
|
||||||
de_CH
|
de_CH
|
||||||
de_DE
|
de_DE
|
||||||
|
default
|
||||||
el_GR
|
el_GR
|
||||||
en_AU
|
en_AU
|
||||||
en_CA
|
en_CA
|
||||||
@ -54,8 +56,10 @@ it_CH
|
|||||||
it_IT
|
it_IT
|
||||||
ja_JP
|
ja_JP
|
||||||
ko_KR
|
ko_KR
|
||||||
|
ks@devanagari
|
||||||
my_MM
|
my_MM
|
||||||
nb_NO
|
nb_NO
|
||||||
|
nds_DE
|
||||||
nl_BE
|
nl_BE
|
||||||
nl_NL
|
nl_NL
|
||||||
pl_PL
|
pl_PL
|
||||||
@ -66,13 +70,17 @@ sl_SI
|
|||||||
sq_AL
|
sq_AL
|
||||||
sv_SE
|
sv_SE
|
||||||
uk_UA
|
uk_UA
|
||||||
|
ur_PK
|
||||||
zh_CN
|
zh_CN
|
||||||
zh_HK
|
zh_HK
|
||||||
zh_TW
|
zh_TW
|
||||||
|
zh_TW.Big5
|
||||||
en@boldquot
|
en@boldquot
|
||||||
en@quot
|
en@quot
|
||||||
nds@NFE
|
nds@NFE
|
||||||
sr@ije
|
sr@ije
|
||||||
sr@latin
|
sr@latin
|
||||||
|
sr@Latn
|
||||||
|
uz@cyrillic
|
||||||
uz@Latn
|
uz@Latn
|
||||||
be@latin
|
be@latin
|
||||||
|
Loading…
Reference in New Issue
Block a user