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

Revision 521, 1.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: A perlish implementation of Java like inner classes
2Name: perl-Class-Inner
3Version: 0.1
4Release: 1%{?_dist_release}
5Group: Development/Libraries
6License: GOL+ 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 >= 5.004
16Vendor: Project Vine
17Distribution: Vine Linux
18
19%description
20Yet another implementation of an anonymous class with per object
21overrideable methods, but with the added attraction of sort of working
22dispatch to the parent class's method.
23
24%prep
25%setup -q -n Class-Inner-%{version}
26%patch0 -p1
27
28%build
29CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
30make
31
32%install
33rm -rf %{buildroot}
34make DESTDIR=%{buildroot} pure_install
35
36find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
37find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
38chmod -R u+w $RPM_BUILD_ROOT/*
39
40%check
41make test
42
43%clean
44rm -rf %{buildroot}
45
46%files
47%defattr(-,root,root)
48%doc README Changes
49%dir %{perl_vendorlib}/Class
50%{perl_vendorlib}/Class/*
51%{_mandir}/man3/*.3*
52
53%changelog
54* Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1-1vl5
55- applied new versioning policy
56- added Patch0 from Fedora for fixing test on perl 5.10
57
58* Thu Feb 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1-0vl2
59- changed Group Development/Libraries
60
61* Sat May 10 2003 IWAI Masaharu <iwai@alib.jp> 0.1-0vl1
62- first build for Vine Linux
Note: See TracBrowser for help on using the repository browser.