From 29dd8635717bdc88f72c9cf834b7a54548970269 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:43:54 +0100 Subject: [PATCH] automatic update by autodist [release 1.123-1mamba;Tue Sep 10 2013] --- README.md | 3 + ...-BinHex-1.121-dont_require_Mac_Files.patch | 11 +++ perl-Convert-BinHex.spec | 75 +++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 perl-Convert-BinHex-1.121-dont_require_Mac_Files.patch create mode 100644 perl-Convert-BinHex.spec diff --git a/README.md b/README.md index 16e9e8f..cb0c7b7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-Convert-BinHex +BinHex is a format used by Macintosh for transporting Mac files safely through electronic mail, as short-lined, 7-bit, semi-compressed data streams. +Ths module provides a means of converting those data streams back into into binary data. + diff --git a/perl-Convert-BinHex-1.121-dont_require_Mac_Files.patch b/perl-Convert-BinHex-1.121-dont_require_Mac_Files.patch new file mode 100644 index 0000000..8388a82 --- /dev/null +++ b/perl-Convert-BinHex-1.121-dont_require_Mac_Files.patch @@ -0,0 +1,11 @@ +diff -Nru Convert-BinHex-1.121.orig/bin/binhex.pl Convert-BinHex-1.121/bin/binhex.pl +--- Convert-BinHex-1.121.orig/bin/binhex.pl 2013-08-23 16:53:49.000000000 +0200 ++++ Convert-BinHex-1.121/bin/binhex.pl 2013-08-26 16:14:05.290425582 +0200 +@@ -43,7 +43,6 @@ + use Fcntl; + use File::Basename; + use Carp; +-require Mac::Files if (($^O||'') eq "MacOS"); + + our $VERSION = '1.121'; # VERSION + diff --git a/perl-Convert-BinHex.spec b/perl-Convert-BinHex.spec new file mode 100644 index 0000000..d7ef4a3 --- /dev/null +++ b/perl-Convert-BinHex.spec @@ -0,0 +1,75 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Convert-BinHex +Version: 1.123 +Release: 1mamba +Summary: Convert::BinHex - Extract data from Macintosh BinHex files +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Convert/Convert-BinHex-%{version}.tar.gz +Patch0: perl-Convert-BinHex-1.121-dont_require_Mac_Files.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-devel >= %perl_major_ver +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/perl-root + +%description +BinHex is a format used by Macintosh for transporting Mac files safely through electronic mail, as short-lined, 7-bit, semi-compressed data streams. +Ths module provides a means of converting those data streams back into into binary data. + +%prep +%setup -q -n Convert-BinHex-%{version} +%patch0 -p1 + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test || : + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Tue Sep 10 2013 Automatic Build System 1.123-1mamba +- automatic update by autodist + +* Sun Sep 01 2013 Automatic Build System 1.122-1mamba +- automatic update by autodist + +* Sun Aug 25 2013 Automatic Build System 1.121-1mamba +- automatic update by autodist + +* Tue Nov 13 2012 Silvan Calarco 1.119-4mamba +- perl 5.16 mass rebuild + +* Tue Nov 04 2008 Silvan Calarco 1.119-3mamba +- automatic rebuild by autodist + +* Tue Nov 13 2007 Aleph0 1.119-2mamba +- rebuilt + +* Mon May 09 2005 Davide Madrisan 1.119-1qilnx +- package created by autospec