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

Revision 12120, 1.9 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1%define pkgname Class-Data-Inheritable
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        0.08
6Release:        3%{?_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* Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.08-3
65- rebuilt with perl-5.26.
66
67* Thu Nov 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.08-2
68- rebuilt with perl 5.16.3
69- installed module to vendor_perl
70- added URL tag
71
72* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.08-1
73- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.