perl-DBIx-HTMLView/perl-DBIx-HTMLView.spec

Name: perl-DBIx-HTMLView
Summary: Create web userinterfaces to DBI databases
Version: 0.2
Release: 1
License: GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/DBIx-HTMLView/
Description: This is a general propose module to simplify the creation of web userinterfaces to a DBI database, currently it can list, view, add, edit and delete entries in the databse using either input ... or textarea to gather the info.

CentOS 7 x86_64

The build could not start because the following file is missing: DBIx-HTMLView-0.2.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: DBIx-HTMLView-0.2.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Hakan Ardo <hakan$debian,org>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name DBIx-HTMLView

Summary: Create web userinterfaces to DBI databases
Name: perl-DBIx-HTMLView
Version: 0.2
Release: 1%{?dist}
License: GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/DBIx-HTMLView/

Source: http://www.cpan.org/modules/by-module/DBIx/DBIx-HTMLView-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This is a general propose module to simplify the creation of web
userinterfaces to a DBI database, currently it can list, view, add,
edit and delete entries in the databse using either input ... or
textarea to gather the info.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc README
%doc %{_mandir}/man3/*
%{perl_vendorlib}/DBIx/HTMLView.pm
%{perl_vendorlib}/DBIx/HTMLView

%changelog
* Wed Jul  8 2009 Christoph Maser <cmr@financial.com> - 0.2-1
- Updated to version 0.2.

* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.1-1.2
- Rebuild for Fedora Core 5.

* Sat Apr  9 2005 Dries Verachtert <dries@ulyssis.org> - 0.1-1
- Initial package.