Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37561926
en ru br
Репозитории ALT
S:5.1.2-alt7
D:5.1.2-alt1
5.1: 5.1.2-alt3
4.1: 5.0.2-alt2
4.0: 5.0.2-alt1.M40.1
+backports:5.0.2-alt1.M40.1
3.0: 5.0.2-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: t1lib

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: t1lib
Version: 5.0.2
Release: alt1.M40.1

Summary: Type 1 font rasterizer
License: LGPL
Group: System/Libraries
Packager: Yury A. Zotov <yz at altlinux.ru>

Source0: ftp://ibiblio.org/pub/Linux/libs/graphics/%name-%version.tar.bz2
Source1: t1lib-CP1251.enc
Source2: t1lib-KOI8-R.enc
Source3: t1lib-KOI8-U.enc

Patch1: t1lib-5.0.2-alt-makefile-destdir.patch
Patch2: t1lib-5.0.2-alt-makefile-doc.patch
Patch3: t1lib-5.0.2-alt-config.patch
Patch4: t1lib-5.0.2-deb-alt-fixes.patch
Patch5: t1lib-5.0.2-debian-bounds.patch

%def_disable static

%set_autoconf_version 2.13
BuildPreReq: autoconf_2.13

# Automatically added by buildreq on Thu Nov 27 2003

BuildRequires: XFree86-devel tetex-context tetex-latex xpm

%package devel
Summary: Type 1 font rasterizer development files
Group: Development/C
Requires: %name = %version-%release

%package devel-static
Summary: Type 1 font rasterizer static libraries
Group: Development/C
Requires: %name-devel = %version-%release

%package utils
Summary: Utilities for manipulating Type 1 fonts
License: GPL
Group: Graphics
Requires: %name = %version-%release

%description
T1lib is a library for generating character and string-glyphs from
Adobe Type 1 fonts under UNIX.  T1lib uses most of the code of the X11
rasterizer donated by IBM to the X11-project.  But some disadvantages of
the rasterizer being included in X11 have been eliminated.  T1lib also
includes a support for antialiasing.

%description devel
This package contains development files required for building
%name-based software.

%description devel-static
This package contains static libraries required for building
statically linked %name-based software.

%description utils
This package contains the programs "xglyph" and "type1afm"
It also contains the "t1libconfig" script used to configure %name.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1

%build
autoconf
%configure %{subst_enable static}
%make_build without_doc

pushd doc
make clean
make pdf
bzip2 -9 t1lib_doc.pdf
popd

%install
%make_install install
%__mkdir -p $RPM_BUILD_ROOT%_datadir/t1lib/enc
%__install -m 644 Fonts/enc/*  $RPM_BUILD_ROOT%_datadir/%name/enc
%__install -m 644 %SOURCE1 $RPM_BUILD_ROOT%_datadir/%name/enc/CP1251.enc
%__install -m 644 %SOURCE2 $RPM_BUILD_ROOT%_datadir/%name/enc/KOI8-R.enc
%__install -m 644 %SOURCE3 $RPM_BUILD_ROOT%_datadir/%name/enc/KOI8-U.enc

%define docdir %_docdir/%name-%version
%__mkdir -p $RPM_BUILD_ROOT%docdir
%__install -p -m644 Changes README.t* doc/t1lib_doc.pdf.bz2 $RPM_BUILD_ROOT%docdir/

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/%name.config
%dir %_datadir/%name
%_datadir/%name/*
%dir %docdir
%doc %docdir/[A-Z]*

%files devel
%_libdir/*.so
%_includedir/*
%dir %docdir
%doc %docdir/t1lib_doc.pdf.bz2

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%files utils
%_bindir/*

# TODO:

# - update to 5.1.1+
# - spec cleanup

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin