[521] | 1 | %define real_name Convert-BinHex |
---|
| 2 | |
---|
| 3 | Summary: Extract data from Macintosh BinHex files |
---|
| 4 | Name: perl-Convert-BinHex |
---|
[8709] | 5 | Version: 1.123 |
---|
| 6 | Release: 1%{_dist_release} |
---|
[521] | 7 | License: distributable |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | URL: http://search.cpan.org/dist/Convert-BinHex/ |
---|
| 10 | |
---|
| 11 | Source: http://www.cpan.org/modules/by-module/Convert/Convert-BinHex-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildArch: noarch |
---|
| 15 | BuildRequires: perl >= 0:5.00503 |
---|
| 16 | Requires: perl >= 0:5.00503 |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Convert-BinHex is a set of Perl classes to extract data from Macintosh |
---|
| 20 | BinHex files. |
---|
| 21 | |
---|
| 22 | %prep |
---|
| 23 | %setup -q -n %{real_name}-%{version} |
---|
| 24 | |
---|
| 25 | %build |
---|
| 26 | %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
---|
| 27 | %{__make} %{?_smp_mflags} |
---|
| 28 | |
---|
| 29 | %install |
---|
| 30 | %{__rm} -rf %{buildroot} |
---|
| 31 | %makeinstall |
---|
| 32 | |
---|
| 33 | ### Clean up buildroot |
---|
| 34 | %{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch} |
---|
| 35 | |
---|
| 36 | %clean |
---|
| 37 | %{__rm} -rf %{buildroot} |
---|
| 38 | |
---|
| 39 | %files |
---|
| 40 | %defattr(-, root, root, 0755) |
---|
| 41 | %doc COPYING MANIFEST README* |
---|
| 42 | %doc %{_mandir}/man3/*.3pm* |
---|
| 43 | %dir %{perl_vendorlib}/Convert/ |
---|
| 44 | %{perl_vendorlib}/Convert/BinHex.pm |
---|
[8709] | 45 | %exclude %{_bindir}/* |
---|
| 46 | %exclude %doc %{_mandir}/man1/*.1* |
---|
| 47 | |
---|
| 48 | %changelog |
---|
| 49 | * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.123-1 |
---|
| 50 | - new upstream release. |
---|
[521] | 51 | |
---|
[3736] | 52 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.119-5 |
---|
| 53 | - rebuild with perl-5.12.3 |
---|
| 54 | |
---|
[521] | 55 | * Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.119-4 |
---|
| 56 | - changed Group to Development/Libraries |
---|
| 57 | |
---|
| 58 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.119-3 |
---|
| 59 | - rebuilt with Vine Linux. |
---|
| 60 | |
---|
| 61 | * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.119-2.2 |
---|
| 62 | - Rebuild for Fedora Core 5. |
---|
| 63 | |
---|
| 64 | * Fri Jan 13 2006 Dag Wieers <dag@wieers.com> - 1.119-2 |
---|
| 65 | - Cosmetic cleanup. |
---|
| 66 | |
---|
| 67 | * Sun Mar 06 2005 Dag Wieers <dag@wieers.com> - 1.119-1 |
---|
| 68 | - Initial package. (using DAR) |
---|