source: projects/specs/trunk/p/perl-Class-Inspector/perl-Class-Inspector-vl.spec @ 9089

Revision 9089, 2.1 KB checked in by inagaki, 9 years ago (diff)

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

  • perl-Algorithm-C3, perl-Class-Inspector, perl-Hook-LexWrap?, perl-Tie-IxHash?: updated
  • perl-Algorithm-Diff, perl-JSON-XS, perl-PPI, perl-Test-SubCalls?, perl-Text-Diff: rebuilt


Line 
1%define pkgname Class-Inspector
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        1.28
6Release:        1%{?_dist_release}
7Summary:        Get information about a class and its structure
8Summary(ja):    クラスおよびその構造について情報を得る
9
10License:        Artistic or GPL
11Group:          Development/Libraries
12URL:            http://search.cpan.org/~adamk/Class-Inspector/
13
14Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/%{pkgname}-%{version}.tar.gz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildArch:      noarch
18# Dependency
19BuildRequires:  perl(ExtUtils::MakeMaker)
20Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24Packager:       yasumichi
25
26%description
27Class::Inspector allows you to get information about a loaded class. Most or
28all of this information can be found in other ways, but they aren't always
29very friendly, and usually involve a relatively high level of Perl wizardry,
30or strange and unusual looking code. Class::Inspector attempts to provide an
31easier, more friendly interface to this information.
32
33#%%description -l ja
34#ここに日本語で詳細を記述してください。
35
36%prep
37%setup -q -n %{pkgname}-%{version}
38
39%build
40%{__perl} Makefile.PL INSTALLDIRS=vendor
41make %{?_smp_mflags}
42
43%install
44%{__rm} -rf ${RPM_BUILD_ROOT}
45%{__make} pure_install DESTDIR=${RPM_BUILD_ROOT}
46
47find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
48find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
49chmod -R u+w $RPM_BUILD_ROOT/*
50
51# remove unnecessary files.
52%{__rm} -f ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
53%{__rm} -f ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/Class/Inspector/.packlist
54
55%check
56make test
57
58%clean
59%{__rm} -rf ${RPM_BUILD_ROOT}
60
61
62%files
63%defattr(-,root,root)
64%doc Changes LICENSE README
65%{perl_vendorlib}/Class
66%{_mandir}/*/*
67
68
69%changelog
70* Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.28-1
71- updated to 1.28
72- built with perl 5.16.3
73- installed modules to vendor_perl directory
74- added URL
75
76* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.25-1
77- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.