forked from pool/perl-MouseX-Types
Compare commits
10 Commits
5d4abfebcb
...
c2699e06cd
Author | SHA256 | Date | |
---|---|---|---|
c2699e06cd | |||
|
6a243d242a | ||
|
2df195d76b | ||
|
fbf82f3c64 | ||
|
9dfbab8ac3 | ||
|
e84286ef16 | ||
|
12eec5b6ff | ||
|
e73896cd79 | ||
|
28ff855b2a | ||
|
2b5c23d0ff |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e0525da9e6168c45765f8e7dd69999ffc228da51816e77b5a82a6fb23278199b
|
||||
size 20581
|
3
MouseX-Types-0.06.tar.gz
Normal file
3
MouseX-Types-0.06.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:77288441fdadd15beeec9a0813ece8aec1542f1d8ceaaec14755b3f316fbcf8b
|
||||
size 30141
|
3
cpanspec.yml
Normal file
3
cpanspec.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
post_prep:
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 08:19:01 UTC 2017 - coolo@suse.com
|
||||
|
||||
- patch the Makefile to build with perl 5.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:58:12 UTC 2011 - coolo@suse.com
|
||||
|
||||
- update to 0.06
|
||||
- Add Any::Moose compatibility (simoes)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 14:40:05 CET 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
|
@@ -1,59 +1,66 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package perl-MouseX-Types
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-MouseX-Types
|
||||
Version: 0.05
|
||||
Version: 0.06
|
||||
Release: 0
|
||||
%define cpan_name MouseX-Types
|
||||
Summary: Organize your Mouse types in libraries
|
||||
Source: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/MouseX-Types-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/MouseX-Types
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: make
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||
BuildRequires: perl(Mouse) >= 0.41
|
||||
Requires: perl(Mouse) >= 0.41
|
||||
%if 0%{?suse_version} >= 1120
|
||||
Url: http://search.cpan.org/dist/MouseX-Types/
|
||||
Source0: https://cpan.metacpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Any::Moose) >= 0.15
|
||||
BuildRequires: perl(Mouse) >= 0.77
|
||||
BuildRequires: perl(Test::Exception)
|
||||
Requires: perl(Any::Moose) >= 0.15
|
||||
Requires: perl(Mouse) >= 0.77
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Perl module for Mouse to organize your types into libraries.
|
||||
Organize your Mouse types in libraries
|
||||
|
||||
%prep
|
||||
%setup -q -n "MouseX-Types-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
|
||||
find . -type f -name '*.pm' -exec %__chmod 0644 {} \;
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%check
|
||||
%__make test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%dir %{perl_vendorlib}/MouseX
|
||||
%{perl_vendorlib}/MouseX/Types.pm
|
||||
%dir %{perl_vendorlib}/MouseX/Types
|
||||
%{perl_vendorlib}/MouseX/Types/Mouse.pm
|
||||
%{perl_vendorlib}/MouseX/Types/TypeDecorator.pm
|
||||
%doc %{perl_man3dir}/MouseX::Types.%{perl_man3ext}%{ext_man}
|
||||
%doc %{perl_man3dir}/MouseX::Types::*.%{perl_man3ext}%{ext_man}
|
||||
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user