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

RevLine 
[4914]1%define pkgname Class-Data-Inheritable
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        0.08
[12120]6Release:        3%{?_dist_release}
[9106]7Summary:        Inheritable, overridable class data
8Summary(ja):    クラスデータを継承可能、オーバーライド可能にする
9
[4914]10License:        Artistic or GPL
11Group:          Development/Libraries
[9106]12URL:            http://search.cpan.org/~tmtm/Class-Data-Inheritable/
13
[4914]14Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/%{pkgname}-%{version}.tar.gz
[9106]15
[4914]16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[9106]17BuildArch:      noarch
18# Dependency
19BuildRequires:  perl(ExtUtils::MakeMaker)
20Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
[4914]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
[9106]39perl Makefile.PL INSTALLDIRS=vendor
40make %{?_smp_mflags}
[4914]41
42%install
43%{__rm} -rf ${RPM_BUILD_ROOT}
44%{__make} install DESTDIR=${RPM_BUILD_ROOT}
45
[9106]46%{__rm} -rf $RPM_BUILD_ROOT
47make pure_install DESTDIR=%{buildroot}
[4914]48
[9106]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
[4914]52
53%clean
54%{__rm} -rf ${RPM_BUILD_ROOT}
55
56
[9106]57%files
[4914]58%defattr(-,root,root)
59%doc Changes README
[9106]60%{perl_vendorlib}/Class
[4914]61%{_mandir}/*/*
62
63%changelog
[12120]64* Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.08-3
65- rebuilt with perl-5.26.
66
[9106]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
[4914]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.