[5803] | 1 | Name: perl-Devel-Refcount |
---|
| 2 | Version: 0.09 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Obtain the REFCNT value of a referent |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Devel-Refcount/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Devel-Refcount-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 10 | BuildRequires: perl(ExtUtils::CBuilder) |
---|
| 11 | BuildRequires: perl(Module::Build) |
---|
| 12 | BuildRequires: perl(Test::Exception) |
---|
| 13 | BuildRequires: perl(Test::Fatal) |
---|
| 14 | BuildRequires: perl(Test::More) |
---|
| 15 | BuildRequires: perl(Test::Pod) |
---|
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | This module provides a single function which obtains the reference count of |
---|
| 20 | the object being pointed to by the passed reference value. |
---|
| 21 | |
---|
| 22 | %prep |
---|
| 23 | %setup -q -n Devel-Refcount-%{version} |
---|
| 24 | |
---|
| 25 | %build |
---|
| 26 | %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" |
---|
| 27 | ./Build |
---|
| 28 | |
---|
| 29 | %install |
---|
| 30 | rm -rf %{buildroot} |
---|
| 31 | |
---|
| 32 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
| 33 | find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
| 34 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 35 | |
---|
| 36 | %{_fixperms} %{buildroot}/* |
---|
| 37 | |
---|
| 38 | %check |
---|
| 39 | ./Build test |
---|
| 40 | |
---|
| 41 | %clean |
---|
| 42 | rm -rf %{buildroot} |
---|
| 43 | |
---|
| 44 | %files |
---|
| 45 | %defattr(-,root,root,-) |
---|
| 46 | %doc Changes LICENSE README |
---|
| 47 | %{perl_vendorarch}/auto/* |
---|
| 48 | %{perl_vendorarch}/Devel* |
---|
| 49 | %{_mandir}/man3/* |
---|
| 50 | |
---|
| 51 | %changelog |
---|
| 52 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.09-1 |
---|
| 53 | - initial build for Vine Linux |
---|
| 54 | |
---|
| 55 | * Tue Jan 17 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.09-1 |
---|
| 56 | - Update to 0.09 |
---|
| 57 | - Add missing BR |
---|
| 58 | |
---|
| 59 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-7 |
---|
| 60 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 61 | |
---|
| 62 | * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-6 |
---|
| 63 | - Perl mass rebuild |
---|
| 64 | |
---|
| 65 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5 |
---|
| 66 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 67 | |
---|
| 68 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-4 |
---|
| 69 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 70 | |
---|
| 71 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-3 |
---|
| 72 | - Mass rebuild with perl-5.12.0 |
---|
| 73 | |
---|
| 74 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2 |
---|
| 75 | - Mass rebuild with perl-5.12.0 |
---|
| 76 | |
---|
| 77 | * Mon Apr 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.07-1 |
---|
| 78 | - Update to 0.07 |
---|
| 79 | |
---|
| 80 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-2 |
---|
| 81 | - rebuild against perl 5.10.1 |
---|
| 82 | |
---|
| 83 | * Tue Jul 21 2009 Nicolas Chauvet (kwizart) 0.06-1 |
---|
| 84 | - Specfile autogenerated by cpanspec 1.78. |
---|