forked from pool/perl-Convert-BinHex
Accepting request 17363 from devel:languages:perl
Copy from devel:languages:perl/perl-Convert-BinHex based on submit request 17363 from user anicka OBS-URL: https://build.opensuse.org/request/show/17363 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Convert-BinHex?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
20
Convert-BinHex-1.119-enable-checker.patch
Normal file
20
Convert-BinHex-1.119-enable-checker.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Index: t/comp2bin.t
|
||||||
|
===================================================================
|
||||||
|
--- t/comp2bin.t.orig
|
||||||
|
+++ t/comp2bin.t
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-use lib "./blib/lib", "./lib", "./t";
|
||||||
|
+use lib "./blib/lib", "./lib", "./t",".";
|
||||||
|
|
||||||
|
use Checker;
|
||||||
|
use Convert::BinHex;
|
||||||
|
Index: t/Checker.pm
|
||||||
|
===================================================================
|
||||||
|
--- t/Checker.pm.orig
|
||||||
|
+++ t/Checker.pm
|
||||||
|
@@ -1,4 +1,5 @@
|
||||||
|
package Checker;
|
||||||
|
+use Exporter;
|
||||||
|
|
||||||
|
@ISA = qw(Exporter);
|
||||||
|
@EXPORT = qw($CHECK okay_if note check filter_warnings);
|
3
Convert-BinHex-1.119.tar.bz2
Normal file
3
Convert-BinHex-1.119.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d3efca25279eed9c033ffcc52620bcd21e79129fa33d2d26e57419bb44e7cff8
|
||||||
|
size 78796
|
10
perl-Convert-BinHex.changes
Normal file
10
perl-Convert-BinHex.changes
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 10 17:45:21 CEST 2009 - anicka@suse.cz
|
||||||
|
|
||||||
|
- removed dependency on perl-Exporter, not needed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 6 17:54:28 CEST 2009 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- initial version 1.119
|
||||||
|
|
73
perl-Convert-BinHex.spec
Normal file
73
perl-Convert-BinHex.spec
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Convert-BinHex (Version 1.119)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
|
Name: perl-Convert-BinHex
|
||||||
|
%define real_name Convert-BinHex
|
||||||
|
Summary: Extract data from Macintosh BinHex files
|
||||||
|
Url: http://search.cpan.org/perldoc?Convert::BinHex
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
License: Artistic License ..
|
||||||
|
Version: 1.119
|
||||||
|
Release: 1
|
||||||
|
Source: %{real_name}-%{version}.tar.bz2
|
||||||
|
Patch1: Convert-BinHex-1.119-enable-checker.patch
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
Author:
|
||||||
|
-------
|
||||||
|
Written by Eryq, http://www.enteract.com/~eryq / eryq@enteract.com
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n %{real_name}-%{version}
|
||||||
|
%patch1 -p0
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL
|
||||||
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
install -Dm755 bin/binhex.pl %{buildroot}/%{_bindir}/binhex.pl
|
||||||
|
install -m755 bin/debinhex.pl %{buildroot}/%{_bindir}/
|
||||||
|
find docs/ -type f -exec chmod -x {} \;
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc COPYING README* MANIFEST
|
||||||
|
%doc docs/Convert/*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user