cedilla/cedilla.spec

113 lines
3.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package cedilla (Version 0.6)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: cedilla
BuildRequires: clisp
License: GPL
Group: Productivity/Publishing/PS
%if %suse_version > 910
Requires: clisp tetex ghostscript-fonts-std xorg-x11-fonts-scalable
%else
Requires: clisp tetex ghostscript-fonts-std XFree86-fonts-scalable
%endif
Autoreqprov: on
Version: 0.6
Release: 1
URL: http://www.pps.jussieu.fr/~jch/software/cedilla/
Source0: http://www.pps.jussieu.fr/~jch/software/files/cedilla-0.6.tar.bz2
Source1: cedilla-pipe
Patch0: cedilla-destdir.patch
Patch1: cedilla-config.lisp.patch
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A Best-Effort Text Printer (Works in UTF-8 and Can Replace a2ps)
%description
Cedilla is a "best-effort" text printer that uses Unicode internally.
Using Unicode means that the set of characters that can appear in the
input is very large and the user may very well have no font available
that contains glyphs for the characters that the user wants to print.
Cedilla attempts to at least partially solve this problem using a
number of techniques:
1. 1. Cedilla can use an arbitrary number of downloadable fonts. For
any given print job, only the necessary fonts are downloaded.
1. 2. Cedilla uses its own built-in font, which contains a number of
useful glyphs that are missing from standard fonts.
1. 3. Cedilla modifies existing glyphs in order to, for example, remove
dots or add bars.
1. 4. Cedilla attempts to build composite glyphs (for accented
characters, for example) on the fly.
1. 5. Cedilla uses fallbacks for characters that are not supported by the
available fonts.
Authors:
--------
Juliusz Chroboczek <jch@pps.jussieu.fr>
%prep
%setup
%patch0 -p 1 -b .destdir
%patch1 -p 1 -b .config.lisp
%build
./compile-cedilla
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
TARGET=$RPM_BUILD_ROOT ./install-cedilla
install -m 755 $RPM_SOURCE_DIR/cedilla-pipe $RPM_BUILD_ROOT/usr/bin/
%clean
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-, root,root)
%doc COPYING INSTALL* NEWS README* vietnamese-sample.text
%config /etc/*
/usr/bin/*
/usr/lib/cedilla/
%{_mandir}/man1/*
%changelog -n cedilla
* Thu Jul 20 2006 - mfabian@suse.de
- fix paths to the TeX fonts.
* Thu Jul 20 2006 - mfabian@suse.de
- update to 0.6
Fixed support for ZapfDingbats and the Omega fonts.
Updated AFM paths to point at the new version of teTeX.
Added Symbol and ZapfDingbats to the Omega fontsets.
Added Delta as an alternate name for Deltagreek.
More complete support for OmegaSerif Cyrillic.
Added entries for the Nimbus fonts to the config file.
Implemented magic types :lowercase, :rotate-right and :simplify.
Added /whitesquare to the built-in font.
Added a number of new fallbacks, including Kalaallisut kra.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 - dmueller@suse.de
- add norootforbuild
* Wed Dec 29 2004 - mfabian@suse.de
- update to 0.5.
* Tue Aug 17 2004 - mfabian@suse.de
- adjust "Requires:"
XFree86-fonts-scalable --> xorg-x11-fonts-scalable
* Mon Feb 17 2003 - mfabian@suse.de
- new package: cedilla 0.3