573b839
Name:           perl-DBIx-Class-EncodedColumn
a63f3c1
Version:        0.00011
0c7e738
Release:        7%{?dist}
573b839
Summary:        Automatically encode columns
573b839
License:        GPL+ or Artistic
573b839
Group:          Development/Libraries
573b839
URL:            http://search.cpan.org/dist/DBIx-Class-EncodedColumn/
a63f3c1
Source0:        http://search.cpan.org/CPAN/authors/id/W/WR/WREIS/DBIx-Class-EncodedColumn-%{version}.tar.gz
573b839
BuildArch:      noarch
24e46ab
BuildRequires:  perl(Crypt::Eksblowfish::Bcrypt)
573b839
BuildRequires:  perl(DBD::SQLite)
573b839
BuildRequires:  perl(DBIx::Class) >= 0.06002
573b839
BuildRequires:  perl(Digest::SHA)
a00d16f
BuildRequires:  perl(Dir::Self)
573b839
BuildRequires:  perl(ExtUtils::MakeMaker)
fe50d93
BuildRequires:  perl(SQL::Translator) >= 0.11002
573b839
BuildRequires:  perl(Sub::Name) >= 0.04
24e46ab
BuildRequires:  perl(Test::Exception)
573b839
BuildRequires:  perl(Test::More)
573b839
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
573b839
# undetected
573b839
Requires:       perl(DBIx::Class)
573b839
a00d16f
%{?perl_default_filter}
a00d16f
573b839
%description
573b839
This DBIx::Class component can be used to automatically encode a column's
573b839
contents whenever the value of that column is set.
573b839
573b839
%prep
573b839
%setup -q -n DBIx-Class-EncodedColumn-%{version}
573b839
c16ec4e
sed -i -e '/auto_install/d' Makefile.PL
c16ec4e
573b839
# no Crypt::OpenPGP in Fedora
573b839
rm lib/DBIx/Class/EncodedColumn/Crypt/OpenPGP.pm
573b839
573b839
%build
573b839
%{__perl} Makefile.PL INSTALLDIRS=vendor
573b839
make %{?_smp_mflags}
573b839
573b839
%install
a00d16f
make pure_install DESTDIR=$RPM_BUILD_ROOT
573b839
573b839
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
573b839
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
573b839
573b839
%{_fixperms} $RPM_BUILD_ROOT/*
573b839
573b839
%check
573b839
make test
573b839
573b839
%files
573b839
%defattr(-,root,root,-)
573b839
%doc Changes README
0c08e99
%{perl_vendorlib}/DBIx/Class/*
573b839
%{_mandir}/man3/*
573b839
573b839
%changelog
0c7e738
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-7
0c7e738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0c7e738
6a02f91
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-6
6a02f91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6a02f91
a3d55a0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-5
a3d55a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a3d55a0
f819cc1
* Sun Jul 01 2012 Petr Pisar <ppisar@redhat.com> - 0.00011-4
f819cc1
- Perl 5.16 rebuild
f819cc1
ad7cc9a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-3
ad7cc9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ad7cc9a
Petr Sabata 8d7e333
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.00011-2
Petr Sabata 8d7e333
- Perl mass rebuild
Petr Sabata 8d7e333
a63f3c1
* Wed Apr 20 2011 Iain Arnell <iarnell@gmail.com> 0.00011-1
a63f3c1
- update to latest upstream version
a63f3c1
- clean up spec for modern rpmbuild
a63f3c1
c2c5ff5
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00010-4
c2c5ff5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c2c5ff5
7cbb91b
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.00010-3
7cbb91b
- 661697 rebuild for fixing problems with vendorach/lib
7cbb91b
c16ec4e
* Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 0.00010-2
c16ec4e
- disable Module::AutoInstall
c16ec4e
24e46ab
* Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 0.00010-1
24e46ab
- update to latest upstream
24e46ab
- new BR perl(Crypt::Eksblowfish::Bcrypt)
24e46ab
- new BR perl(Test::Exception)
24e46ab
c25f4c0
* Thu May 20 2010 Iain Arnell <iarnell@gmail.com> 0.00009-1
c25f4c0
- update to latest upstream
c25f4c0
a00d16f
* Sat May 01 2010 Iain Arnell <iarnell@gmail.com> 0.00008-1
a00d16f
- update to latest upstream
a00d16f
- use perl_default_filter and DESTDIR
a00d16f
- BR perl(Dir::Self)
a00d16f
d5f90a3
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.00006-2
d5f90a3
- Mass rebuild with perl-5.12.0
d5f90a3
fe50d93
* Sun Jan 17 2010 Iain Arnell <iarnell@gmail.com> 0.00006-1
fe50d93
- update to latest upstream version
fe50d93
7be7d35
* Mon Jan 11 2010 Iain Arnell <iarnell@gmail.com> 0.00005-3
7be7d35
- fix source0 location (was BADURL)
7be7d35
5f71804
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.00005-2
5f71804
- rebuild against perl 5.10.1
5f71804
85cc9cf
* Sun Oct 18 2009 Iain Arnell <iarnell@gmail.com> 0.00005-1
85cc9cf
- update to latest upstream
85cc9cf
c349e62
* Sat Sep 05 2009 Iain Arnell <iarnell@gmail.com> 0.00004-1
c349e62
- update to latest upstream (minor documentation fix)
c349e62
65dde09
* Wed Sep 02 2009 Iain Arnell <iarnell@gmail.com> 0.00003-1
65dde09
- update to latest upstream (copyright notice added)
65dde09
- remove temporary BRs due to BZ #499768
65dde09
3476d7c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00002-3
3476d7c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3476d7c
0c08e99
* Fri Jun 26 2009 Tom "spot" Callaway <tcallawa@redhat.com> 0.00002-2
0c08e99
- fix duplicate directory ownership (perl-DBIx-Class owns %{perl_vendorlib}/DBIx/Class/)
0c08e99
573b839
* Mon May 04 2009 Iain Arnell <iarnell@gmail.com> 0.00002-1
573b839
- Specfile autogenerated by cpanspec 1.77.
573b839
- Disable support for OpenPGP since it's not available in Fedora
573b839
- Additional BRs due to BZ #499768