ALT Linux repositórios
S: | 5.1.2-alt7 |
D: | 5.1.2-alt1 |
5.0: | 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 |
Group :: Sistema/Bibliotecas
RPM: t1lib
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: t1lib
Version: 5.1.2
Release: alt3
Summary: Type 1 font rasterizer
License: LGPL
Group: System/Libraries
Url: https://bollin.googlecode.com/svn/t1lib/trunk
Source0: ftp://ibiblio.org/pub/Linux/libs/graphics/%name-%version.tar.gz
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.1.2-alt-makefile-doc.patch
Patch3: t1lib-5.1.2-alt-config.patch
Patch4: t1lib-5.1.2-deb-alt-fixes.patch
#Patch5: t1lib-5.0.2-debian-bounds.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Sat May 10 2008
BuildRequires: imake libXaw-devel libXpm-devel tetex-context tetex-latex xorg-cf-files libXext-devel
%def_disable static
%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 DESTDIR=%buildroot install
mkdir -p %buildroot%_datadir/t1lib/enc
install -m 644 Fonts/enc/* %buildroot%_datadir/%name/enc
install -m 644 %SOURCE1 %buildroot%_datadir/%name/enc/CP1251.enc
install -m 644 %SOURCE2 %buildroot%_datadir/%name/enc/KOI8-R.enc
install -m 644 %SOURCE3 %buildroot%_datadir/%name/enc/KOI8-U.enc
%define docdir %_docdir/%name-%version
mkdir -p %buildroot%docdir
install -p -m644 Changes README.t* doc/t1lib_doc.pdf.bz2 %buildroot%docdir/
%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:
# - merge type1afm.1 manpage from debian patch
%changelog
…
Todas as alterações você pod ver aqui
Version: 5.1.2
Release: alt3
Summary: Type 1 font rasterizer
License: LGPL
Group: System/Libraries
Url: https://bollin.googlecode.com/svn/t1lib/trunk
Source0: ftp://ibiblio.org/pub/Linux/libs/graphics/%name-%version.tar.gz
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.1.2-alt-makefile-doc.patch
Patch3: t1lib-5.1.2-alt-config.patch
Patch4: t1lib-5.1.2-deb-alt-fixes.patch
#Patch5: t1lib-5.0.2-debian-bounds.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Sat May 10 2008
BuildRequires: imake libXaw-devel libXpm-devel tetex-context tetex-latex xorg-cf-files libXext-devel
%def_disable static
%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 DESTDIR=%buildroot install
mkdir -p %buildroot%_datadir/t1lib/enc
install -m 644 Fonts/enc/* %buildroot%_datadir/%name/enc
install -m 644 %SOURCE1 %buildroot%_datadir/%name/enc/CP1251.enc
install -m 644 %SOURCE2 %buildroot%_datadir/%name/enc/KOI8-R.enc
install -m 644 %SOURCE3 %buildroot%_datadir/%name/enc/KOI8-U.enc
%define docdir %_docdir/%name-%version
mkdir -p %buildroot%docdir
install -p -m644 Changes README.t* doc/t1lib_doc.pdf.bz2 %buildroot%docdir/
%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:
# - merge type1afm.1 manpage from debian patch
%changelog
…
Todas as alterações você pod ver aqui