- updated fontconfig provide script - fc-query does all the hard work now
This commit is contained in:
parent
61eecfc649
commit
0d875cb9bb
@ -16,22 +16,4 @@ fcquery=/usr/bin/fc-query
|
|||||||
|
|
||||||
# filter out anything outside main fontconfig path
|
# filter out anything outside main fontconfig path
|
||||||
grep /usr/share/fonts/ |
|
grep /usr/share/fonts/ |
|
||||||
xargs $fcquery --format '%{family}\n:lang=%{lang}\n' 2> /dev/null |
|
xargs $fcquery --format '%{=pkgkit}' 2> /dev/null
|
||||||
while read line; do
|
|
||||||
case $line in
|
|
||||||
:lang=*)
|
|
||||||
langs=${line#:lang=}
|
|
||||||
OLDIFS=$IFS
|
|
||||||
IFS='|'
|
|
||||||
for lang in $langs; do
|
|
||||||
echo :lang=$lang
|
|
||||||
done
|
|
||||||
IFS=$OLDIFS
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "$line" | tr 'A-Z_' 'a-z-' | tr -d -c 'a-z0-9-\n'
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done |
|
|
||||||
sed 's/\(.*\)/Font(\1)/' |
|
|
||||||
sort -u
|
|
||||||
|
5
rpm.spec
5
rpm.spec
@ -18,7 +18,7 @@
|
|||||||
Summary: The RPM package management system
|
Summary: The RPM package management system
|
||||||
Name: rpm
|
Name: rpm
|
||||||
Version: %{rpmver}
|
Version: %{rpmver}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Url: http://www.rpm.org/
|
Url: http://www.rpm.org/
|
||||||
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
|
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
|
||||||
@ -373,6 +373,9 @@ exit 0
|
|||||||
%doc doc/librpm/html/*
|
%doc doc/librpm/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 16 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-3
|
||||||
|
- updated fontconfig provide script - fc-query does all the hard work now
|
||||||
|
|
||||||
* Mon Feb 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-2
|
* Mon Feb 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-2
|
||||||
- build against db 4.7.x
|
- build against db 4.7.x
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user