Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 84 lines (61 sloc) 2.366 kB
71bb406 @dagwieers Initial import.
dagwieers authored
1 # $Id$
f88a094 @dagwieers Cosmetic changes
dagwieers authored
2 # Authority: dries
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
3 # Upstream: David F. Skoll <dfs+pause$roaringpenguin,com>
71bb406 @dagwieers Initial import.
dagwieers authored
4
c45a1ea @dagwieers Move perl packages to RPMforge-extras.
dagwieers authored
5 ### EL6 ships with perl-IO-stringy-2.110-10.1.el6
6 %{?el6:# Tag: rfx}
7
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
8 %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
9 %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
6384022 @dagwieers Cosmetic cleanup.
dagwieers authored
10
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
11 %define real_name IO-stringy
71bb406 @dagwieers Initial import.
dagwieers authored
12
13 Summary: IO-Stringy - I/O on in-core objects like strings and arrays
14 Name: perl-IO-stringy
81bf1ef @DriesVerachtert some updates
DriesVerachtert authored
15 Version: 2.110
cf42a5f @dagwieers Added %{?dist} tag to all SPEC files (finally)
dagwieers authored
16 Release: 1.2%{?dist}
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
17 License: GPL
71bb406 @dagwieers Initial import.
dagwieers authored
18 Group: Applications/CPAN
19 URL: http://search.cpan.org/dist/IO-stringy/
20
21 Source: http://www.cpan.org/modules/by-module/IO/IO-stringy-%{version}.tar.gz
6384022 @dagwieers Cosmetic cleanup.
dagwieers authored
22 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
71bb406 @dagwieers Initial import.
dagwieers authored
23
24 BuildArch: noarch
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
25 BuildRequires: perl >= 0:5.00503
26 BuildRequires: perl(ExtUtils::MakeMaker)
71bb406 @dagwieers Initial import.
dagwieers authored
27 Requires: perl >= 0:5.00503
28
6384022 @dagwieers Cosmetic cleanup.
dagwieers authored
29 Obsoletes: perl-IO-Stringy <= %{version}-%{release}
71bb406 @dagwieers Initial import.
dagwieers authored
30 Provides: perl-IO-Stringy
31
32 %description
33 This toolkit primarily provides modules for performing both traditional
34 and object-oriented i/o) on things *other* than normal filehandles; in
35 particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
36
37 In the more-traditional IO::Handle front, we have IO::AtomicFile which
38 may be used to painlessly create files which are updated atomically.
39
40 %prep
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
41 %setup -n %{real_name}-%{version}
71bb406 @dagwieers Initial import.
dagwieers authored
42
43 %build
6895373 @dagwieers Updates
dagwieers authored
44 %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
71bb406 @dagwieers Initial import.
dagwieers authored
45 %{__make} %{?_smp_mflags}
46
47 %install
48 %{__rm} -rf %{buildroot}
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
49 %{__make} pure_install
71bb406 @dagwieers Initial import.
dagwieers authored
50
51 ### Clean up buildroot
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
52 find %{buildroot} -name .packlist -exec %{__rm} {} \;
53
54 ### Clean up docs
55 find contrib/ examples/ -type f -exec %{__chmod} a-x {} \;
71bb406 @dagwieers Initial import.
dagwieers authored
56
63a62ff @DriesVerachtert cleanup of %clean
DriesVerachtert authored
57 %clean
71bb406 @dagwieers Initial import.
dagwieers authored
58 %{__rm} -rf %{buildroot}
59
60 %files
61 %defattr(-, root, root, 0755)
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
62 %doc COPYING MANIFEST META.yml README contrib/ examples/
63 %doc %{_mandir}/man3/IO::*.3pm*
6384022 @dagwieers Cosmetic cleanup.
dagwieers authored
64 %{perl_vendorlib}/IO/
71bb406 @dagwieers Initial import.
dagwieers authored
65
66 %changelog
81bf1ef @DriesVerachtert some updates
DriesVerachtert authored
67 * Sat Nov 5 2005 Dries Verachtert <dries@ulyssis.org> - 2.110-1
68 - Updated to release 2.110.
69
6384022 @dagwieers Cosmetic cleanup.
dagwieers authored
70 * Sun Aug 08 2004 Dag Wieers <dag@wieers.com> - 2.109-1
71 - Cosmetic cleanup.
72
73 * Mon May 17 2004 Dag Wieers <dag@wieers.com> - 2.109-0
74 - Updated to release 2.109.
75
71bb406 @dagwieers Initial import.
dagwieers authored
76 * Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 2.108-4
77 - Renamed to perl-IO-stringy to satisfy Axel Thimm.
78
79 * Wed Aug 27 2003 Dag Wieers <dag@wieers.com> - 2.108-3
80 - Provide perl-IO-stringy too.
81
82 * Sun Jan 26 2003 Dag Wieers <dag@wieers.com> - 2.108-0
83 - Initial package. (using DAR)
Something went wrong with that request. Please try again.