source: projects/specs/trunk/p/perl-Module-Find/perl-Module-Find-vl.spec @ 9106

Revision 9106, 2.1 KB checked in by inagaki, 6 years ago (diff)

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

  • perl-Archive-{Any, Zip}, perl-Devel-StackTrace?, perl-Exception-Class, perl-Module-Find, perl-PAR-Dist, perl-PPIx-Regexp, perl-String-Format: updated
  • perl-Class-Data-Inheritable, perl-Module-Info, perl-PPIx-Utilities: rebuilt


Line 
1%define pkgname Module-Find
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        0.12
6Release:        1%{?_dist_release}
7Summary:        Find and use installed modules in a (sub)category
8Summary(ja):    (サブ)カテゴリー内にインストールされたモジュールを見つけて利用する
9
10License:        Artistic or GPL
11Group:          Development/Libraries
12URL:            http://search.cpan.org/~crenz/Module-Find/
13
14Source0:        http://search.cpan.org/CPAN/authors/id/C/CR/CRENZ/%{pkgname}-%{version}.tar.gz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildArch:      noarch
18BuildRequires:  perl(ExtUtils::MakeMaker)
19# Dependency
20Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24Packager:       yasumichi
25
26
27%description
28Module::Find lets you find and use modules in categories. This can be very
29useful for auto-detecting driver or plugin modules. You can differentiate
30between looking in the category itself or in all subcategories.
31
32If you want Module::Find to search in a certain directory on your harddisk
33(such as the plugins directory of your software installation), make sure you
34modify @INC before you call the Module::Find functions.
35
36#%%description -l ja
37#ここに日本語で詳細を記述してください。
38
39%prep
40%setup -q -n Module-Find-%{version}
41
42%build
43perl Makefile.PL INSTALLDIRS=vendor
44make %{?_smp_mflags}
45
46%install
47%{__rm} -rf $RPM_BUILD_ROOT
48make pure_install DESTDIR=%{buildroot}
49
50find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
51find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
52%{_fixperms} $RPM_BUILD_ROOT
53
54#%{__rm} ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
55#%{__rm} ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Module/Find/.packlist
56
57%check
58make test
59
60%clean
61%{__rm} -rf $RPM_BUILD_ROOT
62
63
64%files
65%defattr(-,root,root)
66%doc Changes README
67%{perl_vendorlib}/Module
68%{_mandir}/man3/*
69
70
71%changelog
72* Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.12-1
73- updated to 0.12
74- built with perl 5.16.3
75- installed module to vendor_perl
76- added URL tag
77
78* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.10-1
79- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.