Info2: << Package: mac-glue-pm%type_pkg[perl] Version: 1.30 Revision: 2 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, (%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6 Type: perl (5.8.1 5.8.4 5.8.6 5.8.8 5.10.0) Depends: << perl%type_pkg[perl]-core, mac-carbon-pm%type_pkg[perl] (>= 0.74-1), mac-errors-pm, mac-apps-launch-pm%type_pkg[perl], mac-appleevents-simple-pm%type_pkg[perl], mldbm-pm, time-epoch-pm, uri-pm%type_pkg[perl] << Replaces: %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin, %{Ni}588-bin Conflicts: %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin, %{Ni}588-bin DescPort: << No longer patch for per-domain glues, too difficult to maintain the patch. May not build as nobody, requires access to the WindowServer to create the glues. I guess we could do that in PostInst if it ever becomes something we care about. << DescPackaging: << %N-bin merged back into %N as of 1.30-2 << BuildDepends: fink (>= 0.24.12) Description: Perl Module - Control Mac apps License: Artistic/GPL Maintainer: Dave Vasilevsky Source: mirror:cpan:authors/id/C/CN/CNANDOR/Mac-Glue-%v.tar.gz Source-MD5: a8f203451bf666584b873c61c6ae8e46 UpdatePOD: True DocFiles: Changes README Homepage: http://search.cpan.org/dist/Mac-Glue PatchFile: %{ni}.patch PatchFile-MD5: 31b4f2579bb4725d0c25f9937d45e748 PatchScript: << #!/bin/sh -ev %{default_script} perlversion=%type_raw[perl] if dpkg --compare-versions "$perlversion" ">=" "5.10.0" && [ "%m" != "powerpc" ]; then export FULLPERL="/usr/bin/arch -%m perl$perlversion" else export FULLPERL="/usr/bin/env perl$perlversion" fi perl -pi.bak -e 's,^\$Config\{startperl\},#!'"$FULLPERL," scripts/*.PL << InstallScript: << #!/bin/sh -ev %{default_script} mv %i/share/man %i/lib/perl5/%type_raw[perl] for f in gluemac gluedialect gluescriptadds glueedit gluedoc; do mv "%i/bin/$f" "%i/bin/$f.%type_raw[perl]" done /usr/bin/install -d -m 0755 %i/share/doc/%n /bin/cp -R ex %i/share/doc/%n/examples << PostInstScript: << if [ "$1" = configure ]; then for f in gluemac gluedialect gluescriptadds glueedit gluedoc; do update-alternatives --install %p/bin/$f $f %p/bin/$f.%type_raw[perl] %type_pkg[perl] done fi if [ "$1" = "upgrade" ]; then echo "If you have created any glues with gluemac, run" echo " gluemac.%type_raw[perl] -c -r" echo "to update them." fi << PreRmScript: << if [ "$1" = remove ]; then for f in gluemac gluedialect gluescriptadds glueedit gluedoc; do update-alternatives --remove $f %p/bin/$f.%type_pkg[perl] done fi << <<