source: projects/specs/trunk/p/perl-Class-Data-Inheritable/perl-Class-Data-Inheritable-vl.spec @ 9106

Revision 9106, 1.8 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


Line 
1%define pkgname Class-Data-Inheritable
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        0.08
6Release:        2%{?_dist_release}
7Summary:        Inheritable, overridable class data
8Summary(ja):    クラスデータを継承可能、オーバーライド可能にする
9
10License:        Artistic or GPL
11Group:          Development/Libraries
12URL:            http://search.cpan.org/~tmtm/Class-Data-Inheritable/
13
14Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/%{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::Data::Inheritable is for creating accessor/mutators to class data.
28That is, if you want to store something about your class as a whole (instead
29of about a single object). This data is then inherited by your subclasses
30and can be overriden.
31
32#%%description -l ja
33#ここに日本語で詳細を記述してください。
34
35%prep
36%setup -q -n Class-Data-Inheritable-0.08
37
38%build
39perl Makefile.PL INSTALLDIRS=vendor
40make %{?_smp_mflags}
41
42%install
43%{__rm} -rf ${RPM_BUILD_ROOT}
44%{__make} install DESTDIR=${RPM_BUILD_ROOT}
45
46%{__rm} -rf $RPM_BUILD_ROOT
47make pure_install DESTDIR=%{buildroot}
48
49find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
50find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
51%{_fixperms} $RPM_BUILD_ROOT
52
53%clean
54%{__rm} -rf ${RPM_BUILD_ROOT}
55
56
57%files
58%defattr(-,root,root)
59%doc Changes README
60%{perl_vendorlib}/Class
61%{_mandir}/*/*
62
63%changelog
64* Thu Nov 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.08-2
65- rebuilt with perl 5.16.3
66- installed module to vendor_perl
67- added URL tag
68
69* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.08-1
70- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.