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