Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 65 lines (48 sloc) 1.717 kb
7210708 @DriesVerachtert add
DriesVerachtert authored
1 # $Id$
2 # Authority: dries
3 # Upstream: Damian Conway <damian$conway,org>
4
47a69a4 @dagwieers Mass update making perl defines consistent.
dagwieers authored
5 %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
6 %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
899dd95 @dagwieers Big perl cleanup, not nearly there yet.
dagwieers authored
7
8 %define real_name Perl6-Export
7210708 @DriesVerachtert add
DriesVerachtert authored
9
10 Summary: Implements the Perl 6 is export trait
11 Name: perl-Perl6-Export
12 Version: 0.07
cf42a5f @dagwieers Added %{?dist} tag to all SPEC files (finally)
dagwieers authored
13 Release: 2%{?dist}
7210708 @DriesVerachtert add
DriesVerachtert authored
14 License: Artistic
15 Group: Applications/CPAN
16 URL: http://search.cpan.org/dist/Perl6-Export/
17
899dd95 @dagwieers Big perl cleanup, not nearly there yet.
dagwieers authored
18 Source: http://www.cpan.org/modules/by-module/Perl6/Perl6-Export-%{version}.tar.gz
7210708 @DriesVerachtert add
DriesVerachtert authored
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
20
21 BuildArch: noarch
4fa12c6 @dagwieers Fourth set of perl package updates. And mass Perl SPEC file changes.
dagwieers authored
22 BuildRequires: perl
23 BuildRequires: perl(ExtUtils::MakeMaker)
7210708 @DriesVerachtert add
DriesVerachtert authored
24
25 %description
4d29aea @DriesVerachtert fix, thanks to Bill McGonigle
DriesVerachtert authored
26 This module prototypes the Perl 6 'exported' and 'exportable' traits
27 in Perl 5.
28
29 Instead of messing around with @EXPORT arrays, you just declare which subs
30 are to be exported (or are exportable on request) as part of those subs.
7210708 @DriesVerachtert add
DriesVerachtert authored
31
32 %prep
33 %setup -n %{real_name}-%{version}
34
35 %build
899dd95 @dagwieers Big perl cleanup, not nearly there yet.
dagwieers authored
36 %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
7210708 @DriesVerachtert add
DriesVerachtert authored
37 %{__make} %{?_smp_mflags}
38
39 %install
40 %{__rm} -rf %{buildroot}
4fa12c6 @dagwieers Fourth set of perl package updates. And mass Perl SPEC file changes.
dagwieers authored
41 %{__make} pure_install
7210708 @DriesVerachtert add
DriesVerachtert authored
42
899dd95 @dagwieers Big perl cleanup, not nearly there yet.
dagwieers authored
43 ### Clean up buildroot
5bd9d00 @dagwieers Seventh set of perl package updates. And mass Perl SPEC file changes.
dagwieers authored
44 find %{buildroot} -name .packlist -exec %{__rm} {} \;
899dd95 @dagwieers Big perl cleanup, not nearly there yet.
dagwieers authored
45
7210708 @DriesVerachtert add
DriesVerachtert authored
46 %clean
47 %{__rm} -rf %{buildroot}
48
49 %files
50 %defattr(-, root, root, 0755)
62aa6b3 @DriesVerachtert small fixes in %doc
DriesVerachtert authored
51 %doc Changes README
7210708 @DriesVerachtert add
DriesVerachtert authored
52 %doc %{_mandir}/man3/*
899dd95 @dagwieers Big perl cleanup, not nearly there yet.
dagwieers authored
53 %dir %{perl_vendorlib}/Perl6/
7210708 @DriesVerachtert add
DriesVerachtert authored
54 %{perl_vendorlib}/Perl6/Export.pm
55
56 %changelog
4d29aea @DriesVerachtert fix, thanks to Bill McGonigle
DriesVerachtert authored
57 * Thu Feb 21 2008 Dries Verachtert <dries@ulyssis.org> - 0.07-2
58 - Fixed the description, thanks to Bill McGonigle.
59
206fe5c @DriesVerachtert small release bump for a rebuild for fedora core 5
DriesVerachtert authored
60 * Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.07-1.2
61 - Rebuild for Fedora Core 5.
62
7210708 @DriesVerachtert add
DriesVerachtert authored
63 * Tue Dec 07 2004 Dries Verachtert <dries@ulyssis.org> - 0.07-1
64 - Initial package.
Something went wrong with that request. Please try again.