573b839
Name:           perl-DBIx-Class-EncodedColumn
fe50d93
Version:        0.00006
fe50d93
Release:        1%{?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/
fe50d93
Source0:        http://search.cpan.org/CPAN/authors/id/F/FR/FREW/DBIx-Class-EncodedColumn-%{version}.tar.gz
573b839
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
573b839
BuildArch:      noarch
573b839
BuildRequires:  perl(DBD::SQLite)
573b839
BuildRequires:  perl(DBIx::Class) >= 0.06002
573b839
BuildRequires:  perl(Digest::SHA)
573b839
BuildRequires:  perl(ExtUtils::MakeMaker)
fe50d93
BuildRequires:  perl(SQL::Translator) >= 0.11002
573b839
BuildRequires:  perl(Sub::Name) >= 0.04
573b839
BuildRequires:  perl(Test::More)
573b839
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
573b839
# undetected
573b839
Requires:       perl(DBIx::Class)
573b839
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
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
573b839
rm -rf $RPM_BUILD_ROOT
573b839
573b839
make pure_install PERL_INSTALL_ROOT=$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
%clean
573b839
rm -rf $RPM_BUILD_ROOT
573b839
573b839
%files
573b839
%defattr(-,root,root,-)
573b839
%doc Changes README
0c08e99
%{perl_vendorlib}/DBIx/Class/*
573b839
%{_mandir}/man3/*
573b839
573b839
%changelog
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