source: projects/specs/trunk/p/perl-Class-Inner/perl-Class-Inner-vl.spec @ 9165

Revision 9165, 1.8 KB checked in by inagaki, 9 years ago (diff)

2014-12-18 Ryoichi INAGAKI <ryo1@…>

  • clearsilver, perl-AppConfig?, perl-Class-Inner, perl-DateTime?-{Calendar-Mayan, Locale}, perl-Goo-Canvas, perl-Test-Unit: rebuilt
  • perl-DateTime?, perl-Test-Manifest: updated


Line 
1Summary: A perlish implementation of Java like inner classes
2Name: perl-Class-Inner
3Version: 0.1
4Release: 3%{?_dist_release}
5Group: Development/Libraries
6License: GPL+ or Artistic
7URL: http://search.cpan.org/dist/Class-Inner/
8Source0: http://search.cpan.org/CPAN/authors/id/P/PD/PDCAWLEY/Class-Inner-%{version}.tar.gz
9# Upstream RT bug 33533
10Patch0: perl-Class-Inner-0.1-perl510-testfix.patch
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildArch: noarch
14BuildRequires: perl >= 5.004
15Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21Yet another implementation of an anonymous class with per object
22overrideable methods, but with the added attraction of sort of working
23dispatch to the parent class's method.
24
25%prep
26%setup -q -n Class-Inner-%{version}
27%patch0 -p1
28
29%build
30CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
31make
32
33%install
34rm -rf %{buildroot}
35make DESTDIR=%{buildroot} pure_install
36
37find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
38find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
39chmod -R u+w $RPM_BUILD_ROOT/*
40
41%check
42make test
43
44%clean
45rm -rf %{buildroot}
46
47%files
48%defattr(-,root,root)
49%doc README Changes
50%dir %{perl_vendorlib}/Class
51%{perl_vendorlib}/Class/*
52%{_mandir}/man3/*.3*
53
54%changelog
55* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1-3
56- rebuilt with perl 5.16.3
57
58* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-2
59- rebuild with perl-5.12.3
60
61* Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1-1vl5
62- applied new versioning policy
63- added Patch0 from Fedora for fixing test on perl 5.10
64
65* Thu Feb 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1-0vl2
66- changed Group Development/Libraries
67
68* Sat May 10 2003 IWAI Masaharu <iwai@alib.jp> 0.1-0vl1
69- first build for Vine Linux
Note: See TracBrowser for help on using the repository browser.