source: projects/specs/trunk/p/perl-Data-Phrasebook-Loader-YAML/perl-Data-Phrasebook-Loader-YAML-vl.spec @ 9343

Revision 9343, 1.7 KB checked in by inagaki, 9 years ago (diff)

2015-02-08 Ryoichi INAGAKI <ryo1@…>

  • automoc4, cagibi, gtkglext: rebuilt
  • libgphoto2, perl-{Clagg-Gomor, Data-Phrasebook-Loader-YAML, Net-MAC-Vendor}: updated


Line 
1%define real_name Data-Phrasebook-Loader-YAML
2
3Summary:        Absract your phrases with YAML
4Name:           perl-%{real_name}
5Version:        0.13
6Release:        1%{?_dist_release}
7License:        Artistic 2.0
8Group:          Development/Libraries
9URL:            http://search.cpan.org/dist/Data-Phrasebook-Loader-YAML/
10Source0:        http://www.cpan.org/modules/by-module/Data/Data-Phrasebook-Loader-YAML-%{version}.tar.gz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12
13BuildArch:      noarch
14BuildRequires:  perl
15BuildRequires:  perl(ExtUtils::MakeMaker)
16BuildRequires:  perl(Data::Phrasebook) >= 0.18
17BuildRequires:  perl(Test::More) >= 0.47
18BuildRequires:  perl(YAML) >= 0.35
19Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23
24%description
25Absract your phrases with YAML.
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
42%clean
43rm -rf %{buildroot}
44
45%files
46%defattr(-, root, root, -)
47%doc Changes LICENSE MANIFEST MANIFEST.SKIP README examples
48%{_mandir}/man3/*
49%{perl_vendorlib}/*
50
51%changelog
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
56* Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.09-1
57- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.