Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
fonts-config
fonts-config.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fonts-config.spec of Package fonts-config
# # spec file for package fonts-config # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: fonts-config Provides: xf86tools:/usr/sbin/fonts-config Requires: fontconfig >= 2.3.93.20060103 Requires: perl(English) Requires(pre): %suseconfig_fonts_prereq Recommends: ft2demos PreReq: %fillup_prereq Version: 20080121 Release: 0 Summary: Configures Fonts for X Windows and other applications License: GPL-2.0+ Group: System/X11/Fonts Source: fonts-config Source1: SuSEconfig.fonts Source2: sysconfig.fonts-config Source3: Common.xcu.template Source5: fontconfig.SuSE.properties.template Source6: suse-hinting.conf.template Source7: suse-bitmaps.conf.template Source8: suse-font-dirs.conf.template BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Configures Fonts for X Windows and other applications. Usually fonts-config is called automatically via SuSEconfig (SuSEconfig --module fonts), which is usually automatically called by YaST2. You can also execute fonts-config directly, which is mainly useful for debugging it. %prep %build %install mkdir -p $RPM_BUILD_ROOT/sbin/conf.d mkdir -p $RPM_BUILD_ROOT/usr/sbin mkdir -p $RPM_BUILD_ROOT/usr/share/fonts-config mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 755 $RPM_SOURCE_DIR/SuSEconfig.fonts $RPM_BUILD_ROOT/sbin/conf.d install -m 755 $RPM_SOURCE_DIR/fonts-config $RPM_BUILD_ROOT/usr/sbin install -m 644 $RPM_SOURCE_DIR/*.template $RPM_BUILD_ROOT/usr/share/fonts-config pod2man --section 1 --center=" " $RPM_SOURCE_DIR/fonts-config > \ $RPM_BUILD_ROOT/%{_mandir}/man1/fonts-config.1 install -m 644 $RPM_SOURCE_DIR/sysconfig.fonts-config \ $RPM_BUILD_ROOT/var/adm/fillup-templates/ # mkdir -p $RPM_BUILD_ROOT/etc/fonts/conf.d mkdir -p $RPM_BUILD_ROOT/etc/fonts/conf.avail sed -e's/_BYTECODE_BW_MAX_PIXEL_/0/' %{S:6} \ > $RPM_BUILD_ROOT/etc/fonts/conf.avail/12-suse-hinting-bc.conf sed -e's/_USE_EMBEDDED_BITMAPS_PLACEHOLDER_//' %{S:7} \ > $RPM_BUILD_ROOT/etc/fonts/conf.avail/17-suse-bitmaps.conf ln -s ../conf.avail/12-suse-hinting-bc.conf \ $RPM_BUILD_ROOT/etc/fonts/conf.d/12-suse-hinting-bc.conf ln -s ../conf.avail/17-suse-bitmaps.conf \ $RPM_BUILD_ROOT/etc/fonts/conf.d/17-suse-bitmaps.conf %post %{fillup_only -n fonts-config} %run_suseconfig_fonts exit 0 %files %defattr(-,root,root) /usr/sbin/fonts-config %dir /usr/share/fonts-config/ /usr/share/fonts-config/* /sbin/conf.d/SuSEconfig.fonts %{_mandir}/man1/fonts-config.1.gz /var/adm/fillup-templates/sysconfig.fonts-config /etc/fonts %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor