rpms/perl-MooseX-MarkAsMethods/devel perl-MooseX-MarkAsMethods.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

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

 



Author: ppisar

Update of /cvs/pkgs/rpms/perl-MooseX-MarkAsMethods/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8925

Modified Files:
	.cvsignore sources 
Added Files:
	perl-MooseX-MarkAsMethods.spec 
Log Message:
0.10 import


--- NEW FILE perl-MooseX-MarkAsMethods.spec ---
Name:           perl-MooseX-MarkAsMethods
Version:        0.10
Release:        1%{?dist}
Summary:        Mark overload code symbols as methods
License:        LGPLv2+
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/MooseX-MarkAsMethods/
Source0:        http://www.cpan.org/authors/id/R/RS/RSRCHBOY/MooseX-MarkAsMethods-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(B::Hooks::EndOfScope)
BuildRequires:  perl(CPAN)
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires:  perl(Moose) >= 0.94
BuildRequires:  perl(namespace::autoclean) >= 0.09
BuildRequires:  perl(Perl6::Junction)
BuildRequires:  perl(Test::Moose)
BuildRequires:  perl(Test::More)
# perl(Moose) and (namespace::autoclean) because of version, other run time
# dependecies are detected by rpmbuild correctly.
Requires:       perl(Moose) >= 0.94
Requires:       perl(namespace::autoclean) >= 0.09
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
MooseX::MarkAsMethods allows one to easily mark certain functions as Moose
methods. This will allow other packages such as namespace::autoclean to
operate without blowing away your overloads. After using
MooseX::MarkAsMethods your overloads will be recognized by Class::MOP as
being methods, and class extension as well as composition from roles with
overloads will "just work".

%prep
%setup -q -n MooseX-MarkAsMethods-%{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 ChangeLog README README.mkdn
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri Jun 18 2010 Petr Pisar <ppisar@xxxxxxxxxx> 0.10-1
- Specfile autogenerated by cpanspec 1.78.
- Remove explicit perl(B::Hooks::EndOfScope) requires because rpmbuild can
  infer them.
- Add perl(CPAN) build require.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-MooseX-MarkAsMethods/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	18 Jun 2010 07:59:42 -0000	1.1
+++ .cvsignore	18 Jun 2010 09:08:32 -0000	1.2
@@ -0,0 +1 @@
+MooseX-MarkAsMethods-0.10.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-MooseX-MarkAsMethods/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	18 Jun 2010 07:59:43 -0000	1.1
+++ sources	18 Jun 2010 09:08:32 -0000	1.2
@@ -0,0 +1 @@
+50ab3727c11ffc064e11fc410860533b  MooseX-MarkAsMethods-0.10.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[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