source: projects/specs/branches/6/p/perl-IO-stringy/perl-IO-stringy-vl.spec @ 521

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

import VineSeed package specs

Line 
1Summary: I/O on in-core objects like strings and arrays with Perl
2Name: perl-IO-stringy
3Version: 2.110
4Release: 1%{_dist_release}
5License: Artistic
6Group: Development/Libraries
7Source0: http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/IO-stringy-%{version}.tar.gz
8Url: http://search.cpan.org/author/ERYQ/IO-stringy/
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10BuildRequires: perl >= 5.004
11Requires: perl >= 5.004
12Vendor: Project Vine
13Distribution: Vine Linux
14BuildArch: noarch
15
16%description
17This toolkit primarily provides modules for performing both traditional
18and object-oriented i/o) on things *other* than normal filehandles; in
19particular, IO::Scalar, IO::ScalarArray, and IO::Lines
20
21%prep
22%setup -q -n IO-stringy-%{version}
23
24%build
25CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
26make
27
28%install
29rm -rf $RPM_BUILD_ROOT
30mkdir -p $RPM_BUILD_ROOT%{_prefix}
31make DESTDIR=$RPM_BUILD_ROOT install
32
33find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
34
35find $RPM_BUILD_ROOT%{_prefix} -type f -print |
36        sed "s@^$RPM_BUILD_ROOT@@g" |
37        grep -v ^%{_mandir} |
38        grep -v perllocal.pod |
39        grep -v "\.packlist" > %{name}.files
40if [ "$(cat %{name}.files)X" = "X" ] ; then
41    echo "ERROR: EMPTY FILE LIST"
42    exit -1
43fi
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%check
49make test
50
51%files -f %{name}.files
52%defattr(-,root,root)
53%doc README COPYING examples contrib
54%dir %{perl_vendorlib}/IO
55%{_mandir}/man3/*
56
57%changelog
58* Thu May  1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.110-1
59- built with perl-5.10.0.
60
61* Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.110-0vl2
62- changed Group to Development/Libraries
63
64* Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.110-0vl1
65- updated to 2.110
66- build with perl-5.8.6
67
68* Wed Apr 30 2003 IWAI Masaharu <iwai@alib.jp> 2.108-0vl2
69- build with perl-5.8.0
70
71* Sat Nov  2 2002 IWAI Masaharu <iwai@alib.jp> 2.108-0vl1
72- first build for Vine Linux
73
Note: See TracBrowser for help on using the repository browser.