[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/perl-Declare-Constraints-Simple/devel perl-Declare-Constraints-Simple.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: cweyl

Update of /cvs/extras/rpms/perl-Declare-Constraints-Simple/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20630/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Declare-Constraints-Simple.spec 
Log Message:
initial import



--- NEW FILE perl-Declare-Constraints-Simple.spec ---
Name:           perl-Declare-Constraints-Simple
Version:        0.03
Release:        1%{?dist}
Summary:        Declarative Validation of Data Structures
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Declare-Constraints-Simple/
Source0:        http://www.cpan.org/authors/id/P/PH/PHAYLON/Declare-Constraints-Simple-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# core
BuildRequires:  perl(ExtUtils::MakeMaker) 
BuildRequires:  perl(Scalar::Util)
BuildRequires:  perl(Test::More) 
# cpan
BuildRequires:  perl(aliased)
BuildRequires:  perl(Carp::Clan)
BuildRequires:  perl(Class::Inspector)
# test -- optional
BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)


%description
The main purpose of this module is to provide an easy way to build a
profile to validate a data structure. It does this by giving you a set of
declarative keywords in the importing namespace.

%prep
%setup -q -n Declare-Constraints-Simple-%{version}

# Filter unwanted Requires:
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
  sed -e '/perl(Declare::Constraints::Simple-Library)/d'
EOF

%define __perl_requires %{_builddir}/Declare-Constraints-Simple-%{version}/%{name}-req
chmod +x %{__perl_requires}

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

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

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

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

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

%changelog
* Tue May 01 2007 Chris Weyl <cweyl alumni drew edu> 0.03-1
- Specfile autogenerated by cpanspec 1.71.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Declare-Constraints-Simple/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 May 2007 01:31:52 -0000	1.1
+++ .cvsignore	4 May 2007 15:01:19 -0000	1.2
@@ -0,0 +1 @@
+Declare-Constraints-Simple-0.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Declare-Constraints-Simple/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 May 2007 01:31:52 -0000	1.1
+++ sources	4 May 2007 15:01:19 -0000	1.2
@@ -0,0 +1 @@
+abcd5e9f2dd034deed975601b38d684e  Declare-Constraints-Simple-0.03.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]