Add a fontconfig config to force the scalable font.
This commit is contained in:
parent
44695d1ff6
commit
246be3119f
21
29-paps.conf
Normal file
21
29-paps.conf
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<match target="pattern">
|
||||
<test name="prgname" compare="eq">
|
||||
<string>paps</string>
|
||||
</test>
|
||||
<edit name="scalable" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<test name="prgname" compare="eq">
|
||||
<string>texttopaps</string>
|
||||
</test>
|
||||
<edit name="scalable" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
||||
|
12
paps.spec
12
paps.spec
@ -1,11 +1,12 @@
|
||||
Name: paps
|
||||
Version: 0.6.8
|
||||
Release: 30%{?dist}
|
||||
Release: 31%{?dist}
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://paps.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: paps.convs
|
||||
Source2: 29-paps.conf
|
||||
BuildRequires: pango-devel automake autoconf libtool doxygen cups-devel
|
||||
## https://sourceforge.net/tracker/index.php?func=detail&aid=1832897&group_id=153049&atid=786241
|
||||
Patch0: paps-0.6.8-shared.patch
|
||||
@ -39,7 +40,7 @@ Patch59: %{name}-ft-header.patch
|
||||
Summary: Plain Text to PostScript converter
|
||||
Group: Applications/Publishing
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: cups-filesystem
|
||||
Requires: cups-filesystem fontpackages-filesystem
|
||||
%description
|
||||
paps is a PostScript converter from plain text file using Pango.
|
||||
|
||||
@ -101,6 +102,9 @@ ln -s %{_bindir}/paps $RPM_BUILD_ROOT%{_cups_serverbin}/filter/texttopaps
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/cups/mime
|
||||
install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/cups/mime/
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
|
||||
install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/
|
||||
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
@ -111,6 +115,7 @@ install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/cups/mime/
|
||||
%{_mandir}/man1/paps.1*
|
||||
%{_cups_serverbin}/filter/texttopaps
|
||||
%{_datadir}/cups/mime/paps.convs
|
||||
%{_sysconfdir}/fonts/conf.d/29-paps.conf
|
||||
|
||||
%files libs
|
||||
%doc COPYING.LIB
|
||||
@ -122,6 +127,9 @@ install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/cups/mime/
|
||||
%{_libdir}/libpaps.so
|
||||
|
||||
%changelog
|
||||
* Fri Oct 31 2014 Akira TAGOH <tagoh@redhat.com> - 0.6.8-31
|
||||
- Add a fontconfig config to force the scalable font.
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user