[5894] | 1 | %define real_name Data-Phrasebook-Loader-YAML |
---|
| 2 | |
---|
| 3 | Summary: Absract your phrases with YAML |
---|
| 4 | Name: perl-%{real_name} |
---|
[9343] | 5 | Version: 0.13 |
---|
[5894] | 6 | Release: 1%{?_dist_release} |
---|
[9343] | 7 | License: Artistic 2.0 |
---|
[5894] | 8 | Group: Development/Libraries |
---|
| 9 | URL: http://search.cpan.org/dist/Data-Phrasebook-Loader-YAML/ |
---|
| 10 | Source0: http://www.cpan.org/modules/by-module/Data/Data-Phrasebook-Loader-YAML-%{version}.tar.gz |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | |
---|
| 13 | BuildArch: noarch |
---|
| 14 | BuildRequires: perl |
---|
| 15 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 16 | BuildRequires: perl(Data::Phrasebook) >= 0.18 |
---|
| 17 | BuildRequires: perl(Test::More) >= 0.47 |
---|
| 18 | BuildRequires: perl(YAML) >= 0.35 |
---|
[9343] | 19 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
[5894] | 20 | |
---|
[9343] | 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | |
---|
[5894] | 24 | %description |
---|
| 25 | Absract your phrases with YAML. |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q -n %{real_name}-%{version} |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 32 | make %{?_smp_mflags} OPTIMIZE="%{optflags}" |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf %{buildroot} |
---|
| 36 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 37 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 38 | find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
| 39 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 40 | chmod -R u+w %{buildroot}/* |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | rm -rf %{buildroot} |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %defattr(-, root, root, -) |
---|
[9343] | 47 | %doc Changes LICENSE MANIFEST MANIFEST.SKIP README examples |
---|
[5894] | 48 | %{_mandir}/man3/* |
---|
| 49 | %{perl_vendorlib}/* |
---|
| 50 | |
---|
| 51 | %changelog |
---|
[9343] | 52 | * Sun Feb 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.13-1 |
---|
| 53 | - updated to 0.13 |
---|
| 54 | - built with perl 5.16.3 |
---|
| 55 | |
---|
[5894] | 56 | * Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.09-1 |
---|
| 57 | - initial build for Vine Linux |
---|