573b83
Name:           perl-DBIx-Class-EncodedColumn
Petr Šabata 7f6cb6
Version:        0.00013
Petr Šabata 7f6cb6
Release:        1%{?dist}
573b83
Summary:        Automatically encode columns
573b83
License:        GPL+ or Artistic
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
Petr Šabata 7f6cb6
# Build
Petr Šabata 7f6cb6
BuildRequires:  perl
Petr Šabata 7f6cb6
BuildRequires:  perl(base)
Petr Šabata 7f6cb6
BuildRequires:  perl(Carp)
Petr Šabata 7f6cb6
BuildRequires:  perl(Config)
Petr Šabata 7f6cb6
BuildRequires:  perl(CPAN)
Petr Šabata 7f6cb6
BuildRequires:  perl(Cwd)
Petr Šabata 7f6cb6
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
Petr Šabata 7f6cb6
BuildRequires:  perl(ExtUtils::MM_Unix)
Petr Šabata 7f6cb6
BuildRequires:  perl(Fcntl)
Petr Šabata 7f6cb6
BuildRequires:  perl(File::Find)
Petr Šabata 7f6cb6
BuildRequires:  perl(File::Path)
Petr Šabata 7f6cb6
BuildRequires:  perl(File::Spec)
Petr Šabata 7f6cb6
BuildRequires:  perl(strict)
Petr Šabata 7f6cb6
BuildRequires:  perl(vars)
Petr Šabata 7f6cb6
BuildRequires:  perl(warnings)
Petr Šabata 7f6cb6
# Runtime
24e46a
BuildRequires:  perl(Crypt::Eksblowfish::Bcrypt)
Petr Šabata 7f6cb6
# Unused BuildRequires:  perl(Crypt::OpenPGP)
Petr Šabata 7f6cb6
BuildRequires:  perl(DBIx::Class)
Petr Šabata 7f6cb6
BuildRequires:  perl(DBIx::Class::Core)
Petr Šabata 7f6cb6
BuildRequires:  perl(DBIx::Class::Schema)
Petr Šabata 7f6cb6
BuildRequires:  perl(Digest)
573b83
BuildRequires:  perl(Digest::SHA)
Petr Šabata 7f6cb6
BuildRequires:  perl(Encode)
Petr Šabata 7f6cb6
BuildRequires:  perl(Sub::Name)
Petr Šabata 7f6cb6
# Tests only
Petr Šabata 7f6cb6
BuildRequires:  perl(DBD::SQLite)
a00d16
BuildRequires:  perl(Dir::Self)
Petr Šabata 7f6cb6
BuildRequires:  perl(File::Temp)
Petr Šabata 7f6cb6
BuildRequires:  perl(lib)
24e46a
BuildRequires:  perl(Test::Exception)
573b83
BuildRequires:  perl(Test::More)
Petr Šabata 7f6cb6
BuildRequires:  perl(utf8)
Petr Šabata 7f6cb6
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Petr Šabata 7f6cb6
Requires:       perl(Digest::SHA)
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}
Petr Šabata 7f6cb6
# Crypt::OpenPGP is not available in Fedora.
Petr Šabata 7f6cb6
# It cannot be packaged because its dependency, Crypt::RIPEMD160,
Petr Šabata 7f6cb6
# cannot be packaged.  See rhbz#182235.
573b83
rm lib/DBIx/Class/EncodedColumn/Crypt/OpenPGP.pm
573b83
573b83
%build
Petr Šabata 7f6cb6
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
573b83
make %{?_smp_mflags}
573b83
573b83
%install
Petr Šabata 7f6cb6
make pure_install DESTDIR=%{buildroot}
Petr Šabata 7f6cb6
%{_fixperms} %{buildroot}/*
573b83
573b83
%check
573b83
make test
573b83
573b83
%files
573b83
%doc Changes README
0c08e9
%{perl_vendorlib}/DBIx/Class/*
573b83
%{_mandir}/man3/*
573b83
573b83
%changelog
Petr Šabata 7f6cb6
* Wed Dec 10 2014 Petr Šabata <contyk@redhat.com> - 0.00013-1
Petr Šabata 7f6cb6
- 0.00013 bump
Petr Šabata 7f6cb6
f19202
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.00011-9
f19202
- Perl 5.20 rebuild
f19202
91feeb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-8
91feeb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
91feeb
0c7e73
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-7
0c7e73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0c7e73
6a02f9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-6
6a02f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6a02f9
a3d55a
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-5
a3d55a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a3d55a
f819cc
* Sun Jul 01 2012 Petr Pisar <ppisar@redhat.com> - 0.00011-4
f819cc
- Perl 5.16 rebuild
f819cc
ad7cc9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.00011-3
ad7cc9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ad7cc9
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