[5707] | 1 | Name: perl-Readonly-XS |
---|
| 2 | Version: 1.05 |
---|
[9070] | 3 | Release: 2%{?_dist_release} |
---|
[5707] | 4 | Summary: Companion module for Readonly |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | License: Artistic or GPL+ |
---|
| 7 | URL: http://search.cpan.org/dist/Readonly-XS/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-%{version}.tar.gz |
---|
| 9 | Patch0: makefile.pl.patch |
---|
| 10 | |
---|
[9070] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5707] | 12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 13 | BuildRequires: perl(Test::More) |
---|
[9070] | 14 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[5707] | 15 | #Requires: perl(Readonly) >= 1.02 |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: shaolin |
---|
| 20 | |
---|
| 21 | %{?perl_default_filter} |
---|
| 22 | %{?perl_subpackage_tests_default} |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Readonly::XS is a companion module for Readonly, to speed up read-only |
---|
| 26 | scalar variables. |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q -n Readonly-XS-%{version} |
---|
| 31 | %patch0 |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %install |
---|
| 40 | rm -rf %{buildroot} |
---|
| 41 | |
---|
| 42 | make pure_install DESTDIR=%{buildroot} |
---|
| 43 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 44 | find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
| 45 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 46 | |
---|
| 47 | %{_fixperms} %{buildroot}/* |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %check |
---|
| 51 | make test |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf %{buildroot} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %files |
---|
| 59 | %defattr(-,root,root,-) |
---|
| 60 | %doc README Changes |
---|
| 61 | %{perl_vendorarch}/auto/* |
---|
| 62 | %{perl_vendorarch}/Readonly/ |
---|
| 63 | %{_mandir}/man3/*.3* |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %changelog |
---|
[9070] | 67 | * Sat Nov 8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.05-2 |
---|
| 68 | - rebuilt with perl 5.16.3 |
---|
| 69 | |
---|
[5707] | 70 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.05-1 |
---|
| 71 | - initial build for Vine Linux |
---|
| 72 | |
---|
| 73 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.05-8 |
---|
| 74 | - Perl mass rebuild |
---|
| 75 | |
---|
| 76 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-7 |
---|
| 77 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 78 | |
---|
| 79 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-6 |
---|
| 80 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 81 | |
---|
| 82 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-5 |
---|
| 83 | - Mass rebuild with perl-5.12.0 |
---|
| 84 | |
---|
| 85 | * Sun Feb 21 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.05-4 |
---|
| 86 | - add perl_default_filter, etc |
---|
| 87 | - PERL_INSTALL_ROOT => DESTDIR |
---|
| 88 | |
---|
| 89 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.05-3 |
---|
| 90 | - rebuild against perl 5.10.1 |
---|
| 91 | |
---|
| 92 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2 |
---|
| 93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 94 | |
---|
| 95 | * Fri Feb 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.05-1 |
---|
| 96 | - update to 1.05 |
---|
| 97 | - filter our provides to prevent private lib from showing up |
---|
| 98 | - drop patch1; incorporated upstream as of 1.05 |
---|
| 99 | |
---|
| 100 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-12 |
---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 102 | |
---|
| 103 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-11 |
---|
| 104 | - Rebuild for perl 5.10 (again) |
---|
| 105 | |
---|
| 106 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.04-10.2 |
---|
| 107 | - Autorebuild for GCC 4.3 |
---|
| 108 | |
---|
| 109 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-9.2 |
---|
| 110 | - patch Carp::croak call for new perl |
---|
| 111 | |
---|
| 112 | * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-9 |
---|
| 113 | - rebuild for new perl |
---|
| 114 | |
---|
| 115 | * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-8.2 |
---|
| 116 | - add BR: perl(Test::More) |
---|
| 117 | |
---|
| 118 | * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-8.1 |
---|
| 119 | - correct license tag |
---|
| 120 | - add BR: perl(ExtUtils::MakeMaker) |
---|
| 121 | |
---|
| 122 | * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.04-8 |
---|
| 123 | - bump |
---|
| 124 | |
---|
| 125 | * Fri Oct 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.04-7 |
---|
| 126 | - bump for missing patch... |
---|
| 127 | |
---|
| 128 | * Fri Oct 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.04-6 |
---|
| 129 | - drop br on perl(Readonly), patch Makefile.PL as well |
---|
| 130 | - rework spec to use macros |
---|
| 131 | |
---|
| 132 | * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.04-5 |
---|
| 133 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
---|
| 134 | |
---|
| 135 | * Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.04-4 |
---|
| 136 | - bump for mass rebuild |
---|
| 137 | |
---|
| 138 | * Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.04-3 |
---|
| 139 | - proper version on perl(Readonly) BuildRequires & Requires |
---|
| 140 | |
---|
| 141 | * Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.04-1 |
---|
| 142 | - New Version |
---|
| 143 | - BuildRequires perl(Readonly), remove explicit requires on |
---|
| 144 | - perl-Readonly version |
---|
| 145 | |
---|
| 146 | * Thu Dec 08 2005 Michael A. Peters <mpeters@mac.com> - 1.03-2 |
---|
| 147 | - Fix license and BuildRequires |
---|
| 148 | |
---|
| 149 | * Sat Nov 12 2005 Michael A. Peters <mpeters@mac.com> - 1.03-1 |
---|
| 150 | - created spec file |
---|