source: projects/specs/trunk/p/perl-Data-Phrasebook/perl-Data-Phrasebook-vl.spec @ 9081

Revision 9081, 1.8 KB checked in by inagaki, 8 years ago (diff)

2014-11-12 Ryoichi INAGAKI <ryo1@…>


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