forked from pool/perl-Convert-BinHex
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-BinHex?expand=0&rev=13
74 lines
2.1 KiB
RPMSpec
74 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package perl-Convert-BinHex (Version 1.119)
|
|
#
|
|
# Copyright (c) 2010 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: GPL+ or Artistic
|
|
Version: 1.119
|
|
Release: 8
|
|
Source: %{real_name}-%{version}.tar.bz2
|
|
Patch1: Convert-BinHex-1.119-enable-checker.patch
|
|
BuildRequires: perl-macros
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
|
|
%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
|