OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 22-Jun-2006 17:14:06 Branch: HEAD Handle: 2006062216140500 Modified files: openpkg-src/lcdf-typetools lcdf-typetools.spec Log: add FonTools Summary: Revision Changes Path 1.2 +27 -6 openpkg-src/lcdf-typetools/lcdf-typetools.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/lcdf-typetools/lcdf-typetools.spec ============================================================================ $ cvs diff -u -r1.1 -r1.2 lcdf-typetools.spec --- openpkg-src/lcdf-typetools/lcdf-typetools.spec 22 Jun 2006 13:38:18 -0000 1.1 +++ openpkg-src/lcdf-typetools/lcdf-typetools.spec 22 Jun 2006 15:14:05 -0000 1.2 @@ -26,6 +26,7 @@ %define V_typetools 2.38 %define V_t1utils 1.32 %define V_autofont 0.94 +%define V_fontools 20051003 # package information Name: lcdf-typetools @@ -44,22 +45,23 @@ Source0: http://www.lcdf.org/type/lcdf-typetools-%{V_typetools}.tar.gz Source1: http://www.lcdf.org/type/t1utils-%{V_t1utils}.tar.gz Source2: http://www.lcdf.org/type/Autofont-%{V_autofont}.tar.gz +Source3: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/fontools/fontools-%{V_fontools}.zip # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130, perl, perl-openpkg, gcc +BuildPreReq: OpenPKG, openpkg >= 20040130, perl, perl-openpkg, gcc, infozip PreReq: OpenPKG, openpkg >= 20040130, perl AutoReq: no AutoReqProv: no %description The LCDF Typetools package contains several command-line programs - for manipulating PostScript Type 1 and PostScript-flavored - OpenType fonts. It also contains additional command-line tools for - dealing with Type 1 fonts from a revision of I. Lee Hetheringtons - beloved t1utils. Finally, it contains Autofont, a set of tools for - automating the font generation for TeX. + for manipulating PostScript Type 1 and PostScript-flavored OpenType + fonts. It also contains additional command-line tools for dealing + with Type 1 fonts from a revision of I. Lee Hetheringtons beloved + t1utils. Finally, it contains Autofont and FonTools, a set of tools + for automating the font generation for TeX. %track prog lcdf-typetools:typetools = { @@ -77,11 +79,17 @@ url = http://www.lcdf.org/type/ regex = Autofont-(__VER__)\.tar\.gz } + prog lcdf-typetools:fontools = { + version = %{V_fontools} + url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/fontools/ + regex = fontools-(__VER__)\.zip + } %prep %setup -q -c %setup -q -T -D -a1 %setup -q -T -D -a2 + %{l_prefix}/bin/unzip -x %{SOURCE3} %build # build LCDF TypeTools @@ -133,6 +141,19 @@ %{l_prefix}/bin/perl-openpkg install ) || exit $? + # install FonTools + ( cd fontools + %{l_shtool} install -c -m 755 \ + -e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \ + bin/* $RPM_BUILD_ROOT%{l_prefix}/bin/ + %{l_shtool} install -c -m 644 \ + doc/*.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/ + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/share/lcdf-typetools/fontools + %{l_shtool} install -c -m 644 \ + share/* $RPM_BUILD_ROOT%{l_prefix}/share/lcdf-typetools/fontools/ + ) || exit $? + # post-adjust installation area %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org