source: projects/specs/trunk/p/perl-UNIVERSAL-require/perl-UNIVERSAL-require-vl.spec @ 5875

Revision 5875, 3.4 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-UNIVERSAL-require
2Version:        0.13
3Release:        1%{?_dist_release}
4Summary:        Require() modules from a variable
5Group:          Development/Libraries
6License:        GPL+ or Artistic
7URL:            http://search.cpan.org/dist/UNIVERSAL-require/
8Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11BuildRequires:  perl(Test::More)
12Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13
14%if "%{_dist_release}" > "vl6"
15# Filter bogus provide for perl(UNIVERSAL) (rpm 4.9 onwards)
16%global __provides_exclude ^perl\\(UNIVERSAL\\)
17%else
18# Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9)
19%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'"
20%define __perl_provides %{provfilt}
21%endif
22
23Vendor:         Project Vine
24Distribution:   Vine Linux
25
26%description
27%{summary}.
28
29%prep
30%setup -q -n UNIVERSAL-require-%{version}
31
32%build
33%{__perl} Makefile.PL INSTALLDIRS=vendor
34make
35
36%install
37rm -rf %{buildroot}
38make pure_install PERL_INSTALL_ROOT=%{buildroot}
39find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
40find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
41chmod -R u+w %{buildroot}/*
42
43%check
44make test
45
46%clean
47rm -rf %{buildroot}
48
49%files
50%defattr(-,root,root,-)
51%doc Changes
52%{perl_vendorlib}/UNIVERSAL/
53%{_mandir}/man3/UNIVERSAL::require.3pm*
54
55
56%changelog
57* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.13-1
58- initial build for Vine Linux
59
60* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-8
61- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
62
63* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-7
64- Perl mass rebuild
65
66* Thu Apr 14 2011 Paul Howarth <paul@city-fan.org> - 0.13-6
67- Tweak provides filter to work with rpm >= 4.9 too
68
69* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-5
70- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
71
72* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-4
73- Rebuild to fix problems with vendorarch/lib (#661697)
74
75* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-3
76- Mass rebuild with perl-5.12.0
77
78* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2
79- rebuild against perl 5.10.1
80
81* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-1
82- update to new upstream release
83
84* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
86
87* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
88- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
89
90* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-4
91- Rebuild for perl 5.10 (again)
92
93* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-3
94- rebuild for new perl
95
96* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-2
97- license tag fix
98
99* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-1
100- bump to 0.11
101
102* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-2
103- get rid of false provide
104
105* Mon Sep  4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-1
106- initial package for Fedora
Note: See TracBrowser for help on using the repository browser.