rpms/perl-ORLite-Migrate/devel perl-ORLite-Migrate.spec,NONE,1.1

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Jan 23 09:40:18 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/perl-ORLite-Migrate/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21934

Added Files:
	perl-ORLite-Migrate.spec 
Log Message:
Add spec file.



--- NEW FILE perl-ORLite-Migrate.spec ---
Name:           perl-ORLite-Migrate
Version:        0.01
Release:        1%{?dist}
Summary:        Light weight SQLite-specific schema migration
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/ORLite-Migrate/
Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/ORLite-Migrate-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl >= 1:5.6.0
BuildRequires:  perl(DBD::SQLite) >= 1.14
BuildRequires:  perl(DBI) >= 1.58
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::pushd)
BuildRequires:  perl(IPC::Run3)
BuildRequires:  perl(ORLite) >= 1.16
BuildRequires:  perl(Params::Util) >= 0.33
BuildRequires:  perl(Probe::Perl)
BuildRequires:  perl(Test::More) >= 0.47
Requires:       perl(DBD::SQLite) >= 1.14
Requires:       perl(DBI) >= 1.58
Requires:       perl(File::pushd)
Requires:       perl(IPC::Run3)
Requires:       perl(ORLite) >= 1.16
Requires:       perl(Params::Util) >= 0.33
Requires:       perl(Probe::Perl)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
THIS CODE IS EXPERIMENTAL AND SUBJECT TO CHANGE WITHOUT NOTICE
SQLite is a light weight single file SQL database that provides an excellent platform for embedded
storage of structured data. ORLite is a light weight single class Object-Relational Mapper (ORM) 
system specifically designed for (and limited to only) work with SQLite. ORLite::Migrate is a light 
weight single class Database Schema Migration enhancement for ORLite.

%prep
%setup -q -n ORLite-Migrate-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Jan 12 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.01-1
- Specfile autogenerated by cpanspec 1.77.




More information about the fedora-extras-commits mailing list