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

Revision 9106, 2.1 KB checked in by inagaki, 9 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


RevLine 
[4917]1%define pkgname Module-Find
2
3# Basic Information
4Name:           perl-%{pkgname}
[9106]5Version:        0.12
[4917]6Release:        1%{?_dist_release}
[9106]7Summary:        Find and use installed modules in a (sub)category
8Summary(ja):    (サブ)カテゴリー内にインストールされたモジュールを見つけて利用する
9
[4917]10License:        Artistic or GPL
11Group:          Development/Libraries
[9106]12URL:            http://search.cpan.org/~crenz/Module-Find/
13
[4917]14Source0:        http://search.cpan.org/CPAN/authors/id/C/CR/CRENZ/%{pkgname}-%{version}.tar.gz
[9106]15
[4917]16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[9106]17BuildArch:      noarch
18BuildRequires:  perl(ExtUtils::MakeMaker)
19# Dependency
20Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
[4917]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
[9106]40%setup -q -n Module-Find-%{version}
[4917]41
42%build
[9106]43perl Makefile.PL INSTALLDIRS=vendor
44make %{?_smp_mflags}
[4917]45
46%install
[9106]47%{__rm} -rf $RPM_BUILD_ROOT
48make pure_install DESTDIR=%{buildroot}
[4917]49
[9106]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
[4917]53
[9106]54#%{__rm} ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
55#%{__rm} ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Module/Find/.packlist
[4917]56
[9106]57%check
58make test
[4917]59
60%clean
[9106]61%{__rm} -rf $RPM_BUILD_ROOT
[4917]62
63
[9106]64%files
[4917]65%defattr(-,root,root)
66%doc Changes README
[9106]67%{perl_vendorlib}/Module
68%{_mandir}/man3/*
[4917]69
70
71%changelog
[9106]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
[4917]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.