automatic update by autodist [release 1.123-1mamba;Tue Sep 10 2013]
This commit is contained in:
parent
96facd1066
commit
29dd863571
@ -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.
|
||||
|
||||
|
11
perl-Convert-BinHex-1.121-dont_require_Mac_Files.patch
Normal file
11
perl-Convert-BinHex-1.121-dont_require_Mac_Files.patch
Normal file
@ -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
|
||||
|
75
perl-Convert-BinHex.spec
Normal file
75
perl-Convert-BinHex.spec
Normal file
@ -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 <aleph0@openmamba.org>
|
||||
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 <autodist@mambasoft.it> 1.123-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Sep 01 2013 Automatic Build System <autodist@mambasoft.it> 1.122-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Aug 25 2013 Automatic Build System <autodist@mambasoft.it> 1.121-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.119-4mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.119-3mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Tue Nov 13 2007 Aleph0 <aleph0@openmamba.org> 1.119-2mamba
|
||||
- rebuilt
|
||||
|
||||
* Mon May 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.119-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user