123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- Name: perl-Readonly
- Version: 2.00
- Release: 1%{?_dist_release}
- Summary: Facility for creating read-only scalars, arrays, hashes
- Group: Development/Libraries
- License: GPL+ or Artistic
- URL: http://search.cpan.org/dist/Readonly/
- Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- BuildArch: noarch
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Test::More)
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- # perl-Readonly-XS builds for all current fedora architectures, so let's
- # require it.
- Requires: perl(Readonly::XS)
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: shaolin
- %{?perl_default_filter}
- %{?perl_default_subpackage_tests}
- %description
- Readonly provides a facility for creating non-modifiable scalars,
- arrays, and hashes. Any attempt to modify a Readonly variable throws
- an exception.
- Readonly:
- * Creates scalars, arrays (not lists), and hashes.
- * Creates variables that look and work like native perl variables.
- * Creates global or lexical variables.
- * Works at runtime or compile time.
- * Works with deep or shallow data structures.
- * Prevents reassignment of Readonly variables.
- %prep
- %setup -q -n Readonly-%{version}
- %build
- %{__perl} Build.PL installdirs=vendor
- ./Build
- %install
- rm -rf %{buildroot}
- ./Build pure_install destdir=%{buildroot}
- find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
- find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
- %{_fixperms} %{buildroot}/*
- %check
- ./Build test
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root,-)
- %doc Changes LICENSE README.md
- %{perl_vendorlib}/Readonly.pm
- %{_mandir}/man3/*
- %changelog
- * Sat Nov 8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.00-1
- - updated to 2.00
- - make -> ./Build
- - built with perl 5.16.3
- * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-2
- - rebuild
- * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-1
- - initial package for Vine Linux
- * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-17
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
- * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-16
- - Perl mass rebuild
- * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-15
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-14
- - 661697 rebuild for fixing problems with vendorach/lib
- * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-13
- - Mass rebuild with perl-5.12.0
- * Sun Feb 21 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.03-12
- - add perl_default_filter, etc
- - minor spec updates
- * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.03-11
- - rebuild against perl 5.10.1
- * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-10
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-9
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.03-8
- - Rebuild for perl 5.10 (again)
- * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.03-7
- - rebuild for new perl
- * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.03-6.2
- - add BR: perl(Test::More)
- * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.03-6.1
- - correct license tag
- - add BR: perl(ExtUtils::MakeMaker)
- * Wed Oct 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.03-6
- - add explict requires on perl(Readonly::XS). perl(Readonly::XS) is available
- for all architectures fedora supports, so there's no good reason to not
- require it.
- - spec file rework
- * Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.03-5
- - bump for mass rebuild
- * Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.03-3
- - Remove requires on perl-Readonly-XS
- * Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.03-3
- - Fix license and BuildRequires, use %%{?_smp_mflags} with make,
- * Sat Nov 12 2005 Michael A. Peters <mpeters@mac.com> - 1.03-2
- - separate out perl-Readonly-XS into its own package
- - package benchmark.pl as a doc
- * Mon Nov 7 2005 Michael A. Peters <mpeters@mac.com> - 1.03-1
- - Initial spec file
|