LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File cedilla.spec of Package cedilla (Project openSUSE:Factory)

#
# spec file for package cedilla (Version 0.6)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           cedilla
BuildRequires:  clisp
License:        GPL-2.0+
Group:          Productivity/Publishing/PS
%if %suse_version > 910
Requires:       clisp ghostscript-fonts-std xorg-x11-fonts-scalable
%else
Requires:       clisp ghostscript-fonts-std XFree86-fonts-scalable
%endif
%if %suse_version > 1020
Requires:       texlive
%else
Requires:       tetex
%endif
AutoReqProv:    on
Version:        0.6
Release:        194
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
BuildArch:      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
* Mon Apr 23 2007 ro@suse.de
- require texlive instead of tetex
* 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