summaryrefslogtreecommitdiff
path: root/pango.spec.in
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-06-30 22:08:26 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-06-30 22:08:26 +0000
commitb49e8181c16e91afc0b2e771243f9adab9bc8b5d (patch)
treef3b463eec927649a43bd0b22464a5118f0b0d4a7 /pango.spec.in
parent036da71c38c9d81a087f20079cc7b96154fc5a3c (diff)
downloadpango-b49e8181c16e91afc0b2e771243f9adab9bc8b5d.tar.gz
A bunch of simple functions for reading from files, manipulating strings
Fri Jun 30 16:46:31 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.[ch] Makefile.am: A bunch of simple functions for reading from files, manipulating strings as necessary for config files. Also, a simple gnome-config/win.ini style config file reader. * pango/modules.c: Remove DOTFILES stuff. Instead, read names of modules file from pangorc. (Which can be set from PANGO_RC_FILE). Rewrite parsing code using pango-utils.c. * pango/pangox-fontmap.c: Read list of files from PangoX/AliasFiles key. Rewrite parsing code for alias files using pango-utils.c. * examples/pangox.aliases: Move to new name from pangox_aliases, reformat using new parsing code. * examples/pangorc (AliasFiles) examples/pango-viewer: Add a pangorc file for in-place testing. * pango/querymodules.c (main): Add comment to the top of the output indicating that the file should not be hand-edited.
Diffstat (limited to 'pango.spec.in')
-rw-r--r--pango.spec.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/pango.spec.in b/pango.spec.in
index dccdaca0..853a9e4b 100644
--- a/pango.spec.in
+++ b/pango.spec.in
@@ -49,10 +49,7 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
-if ! test -d /var/lib/pango ; then
- mkdir -p /var/lib/pango/
-fi
-/usr/bin/pango-querymodules /usr/lib/pango/modules/*.so > /var/lib/pango/pango.modules
+/usr/bin/pango-querymodules > /etc/pango/pango.modules
%postun -p /sbin/ldconfig
@@ -63,7 +60,7 @@ fi
%{prefix}/bin/pango-querymodules
%{prefix}/bin/pango-viewer
%{prefix}/lib/pango/modules/*
-%config /etc/pango/pangox_aliases
+%config /etc/pango/pangox.aliases
%files devel
%defattr(-, root, root)