rpms/perl-MooseX-Types/F-9 import.log, NONE, 1.1 perl-MooseX-Types.spec, NONE, 1.1 sources, 1.1, 1.2

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

 



Author: cweyl

Update of /cvs/extras/rpms/perl-MooseX-Types/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5306

Modified Files:
	sources 
Added Files:
	import.log perl-MooseX-Types.spec 
Log Message:
pseudo-branch of perl-MooseX-Types to F-9


--- NEW FILE import.log ---
perl-MooseX-Types-0_04-1_fc9:HEAD:perl-MooseX-Types-0.04-1.fc9.src.rpm:1223870375


--- NEW FILE perl-MooseX-Types.spec ---
Name:       perl-MooseX-Types 
Version:    0.04 
Release:        2%{?dist}
# see Makefile.PL, lib/MooseX/Types.pm
License:    GPL+ or Artistic 
Group:      Development/Libraries
Summary:    Organise your Moose types in libraries 
Source:     http://search.cpan.org/CPAN/authors/id/P/PH/PHAYLON/MooseX-Types-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/MooseX-Types
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker) 
BuildRequires: perl(Carp)
BuildRequires: perl(Carp::Clan)
BuildRequires: perl(Class::MOP)
BuildRequires: perl(FindBin)
BuildRequires: perl(Moose) >= 0.24
BuildRequires: perl(namespace::clean) >= 0.04
BuildRequires: perl(Sub::Install) >= 0.922
BuildRequires: perl(Sub::Uplevel) >= 0.14
BuildRequires: perl(Test::More) >= 0.62


%description
The types provided with the Moose manpage are by design global. This
package helps you to organise and selectively import your own and the
built-in types in libraries. As a nice side effect, it catches typos at
compile-time too.

However, the main reason for this module is to provide an easy way to not
have conflicts with your type names, since the internal fully qualified
names of the types will be prefixed with the library's name.

This module will also provide you with some helper functions to make it
easier to use Moose types in your code.

%prep
%setup -q -n MooseX-Types-%{version}

# make sure doc/tests don't generate provides
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
EOF

%define __perl_provides %{_builddir}/MooseX-Types-%{version}/%{name}-prov
chmod +x %{__perl_provides}

cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
EOF

%define __perl_requires %{_builddir}/MooseX-Types-%{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/*.3*

%changelog
* Sun Oct 12 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.04-2
- bump

* Tue Oct 07 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.04-1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.1)



Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MooseX-Types/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Oct 2008 02:14:26 -0000	1.1
+++ sources	13 Oct 2008 04:07:16 -0000	1.2
@@ -0,0 +1 @@
+f8ac0ad1bb431a3dfae25e5ade184619  MooseX-Types-0.04.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux