e8fd95b
Name:           perl-Class-DBI-Loader-Relationship
44a46a2
Version:        1.3
0840831
Release:        10%{?dist}
e8fd95b
Summary:        Easier relationship specification in CDBI::L
e8fd95b
Group:          Development/Libraries
611a6d5
License:        GPL+ or Artistic
e8fd95b
URL:            http://search.cpan.org/dist/Class-DBI-Loader-Relationship/
0840831
Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHUNZI/Class-DBI-Loader-Relationship-%{version}.tar.gz
e8fd95b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e8fd95b
e8fd95b
BuildArch:      noarch
e8fd95b
BuildRequires:	perl(Class::DBI::Loader), perl(Lingua::EN::Inflect::Number)
74b17ab
BuildRequires:	perl(Test::More)
e8fd95b
Requires:  perl(Class::DBI::Loader), perl(Lingua::EN::Inflect::Number)
e8fd95b
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e8fd95b
e8fd95b
%description
e8fd95b
%{summary}.
e8fd95b
e8fd95b
%prep
e8fd95b
%setup -q -n Class-DBI-Loader-Relationship-%{version}
e8fd95b
5301707
# Filter false positive provides.
5301707
cat <<EOF > %{name}-prov
5301707
#!/bin/sh
5301707
%{__perl_provides} \
5301707
| grep -v 'perl(Class::DBI::Loader::Generic)'
5301707
EOF
5301707
%define __perl_provides %{_builddir}/Class-DBI-Loader-Relationship-%{version}/%{name}-prov
5301707
chmod +x %{__perl_provides}
5301707
e8fd95b
%build
e8fd95b
%{__perl} Makefile.PL INSTALLDIRS=vendor
e8fd95b
make %{?_smp_mflags}
e8fd95b
e8fd95b
%install
e8fd95b
rm -rf $RPM_BUILD_ROOT
e8fd95b
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
e8fd95b
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
e8fd95b
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
e8fd95b
chmod -R u+w $RPM_BUILD_ROOT/*
e8fd95b
e8fd95b
%check
e8fd95b
make test
e8fd95b
e8fd95b
%clean
e8fd95b
rm -rf $RPM_BUILD_ROOT
e8fd95b
e8fd95b
%files
e8fd95b
%defattr(-,root,root,-)
e8fd95b
%doc Changes
e8fd95b
%{perl_vendorlib}/Class/DBI/Loader
e8fd95b
%{_mandir}/man3/*.3*
e8fd95b
e8fd95b
e8fd95b
%changelog
0840831
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-10
0840831
- fix source0 url
0840831
9441bb6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
9441bb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9441bb6
961edd6
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-8
961edd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
961edd6
4147f14
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3-7
4147f14
- Rebuild for perl 5.10 (again)
4147f14
909f336
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.3-6
909f336
- rebuild for new perl
909f336
611a6d5
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3-5
611a6d5
- license fix
611a6d5
74b17ab
* Thu Jul  5 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3-4.1
74b17ab
- missing BR for devel (Test::More)
74b17ab
5301707
* Thu Jul  5 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3-4
5301707
- fix false provide (Class::DBI::Loader::Generic)
5301707
81a5fb8
* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3-3
81a5fb8
- bump for FC-6
81a5fb8
8b24015
* Mon Apr 24 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3-2
48f86e9
- correct license, should be GPL+ or Artistic
8b24015
44a46a2
* Mon Jan  9 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3-1
44a46a2
- bump to 1.3
44a46a2
e8fd95b
* Wed Sep 14 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-4
e8fd95b
- set license to Distributable
e8fd95b
e8fd95b
* Wed Sep  7 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-3
e8fd95b
- remove redundant BR: perl
e8fd95b
- honor %%{_smp_mflags}
e8fd95b
- include license text
e8fd95b
e8fd95b
* Fri Jul  8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-2
e8fd95b
- cleanups
e8fd95b
e8fd95b
* Wed Jul  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-1
e8fd95b
- Initial package for Fedora Extras