| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package perl-MouseX-Types-Path-Class
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2017-10-12 05:55:32 +00:00
										 |  |  | # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # 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/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | Name:           perl-MouseX-Types-Path-Class
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | Version:        0.07
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | %define cpan_name MouseX-Types-Path-Class
 | 
					
						
							| 
									
										
										
										
											2017-10-12 05:55:32 +00:00
										 |  |  | Summary:        Path::Class type library for Mouse
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | License:        Artistic-1.0 or GPL-1.0+
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | Group:          Development/Libraries/Perl
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | Url:            http://search.cpan.org/dist/MouseX-Types-Path-Class/
 | 
					
						
							| 
									
										
										
										
											2017-10-12 05:55:32 +00:00
										 |  |  | Source0:        https://cpan.metacpan.org/authors/id/M/MA/MASAKI/%{cpan_name}-%{version}.tar.gz
 | 
					
						
							|  |  |  | Source1:        cpanspec.yml
 | 
					
						
							| 
									
										
										
										
											2025-08-12 18:15:53 +02:00
										 |  |  | Source100:      README.md
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							|  |  |  | BuildRequires:  perl
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | BuildRequires:  perl-macros
 | 
					
						
							|  |  |  | BuildRequires:  perl(Mouse) >= 0.39
 | 
					
						
							|  |  |  | BuildRequires:  perl(MouseX::Types) >= 0.02
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | BuildRequires:  perl(Path::Class)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Test::More) >= 0.94
 | 
					
						
							|  |  |  | BuildRequires:  perl(Test::UseAllModules)
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | Requires:       perl(Mouse) >= 0.39
 | 
					
						
							|  |  |  | Requires:       perl(MouseX::Types) >= 0.02
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | Requires:       perl(Path::Class)
 | 
					
						
							|  |  |  | Recommends:     perl(MouseX::Getopt) >= 0.2200
 | 
					
						
							|  |  |  | %{perl_requires}
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2017-10-12 05:55:32 +00:00
										 |  |  | MouseX::Types::Path::Class creates common Mouse types, coercions and option
 | 
					
						
							|  |  |  | specifications useful for dealing with Path::Class objects as Mouse
 | 
					
						
							|  |  |  | attributes.
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-12 05:55:32 +00:00
										 |  |  | Coercions (see Mouse::Util::TypeConstraints) are made from both 'Str' and
 | 
					
						
							|  |  |  | 'ArrayRef' to both Path::Class::Dir and Path::Class::File objects. If you
 | 
					
						
							|  |  |  | have MouseX::Getopt installed, the Getopt option type ("=s") will be added
 | 
					
						
							|  |  |  | for both Path::Class::Dir and Path::Class::File.
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | %setup -q -n %{cpan_name}-%{version}
 | 
					
						
							| 
									
										
										
										
											2017-10-12 05:55:32 +00:00
										 |  |  | # MANUAL BEGIN
 | 
					
						
							|  |  |  | sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
 | 
					
						
							|  |  |  | # MANUAL END
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | %{__perl} Makefile.PL INSTALLDIRS=vendor
 | 
					
						
							|  |  |  | %{__make} %{?_smp_mflags}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							|  |  |  | %{__make} test
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | %perl_make_install
 | 
					
						
							|  |  |  | %perl_process_packlist
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | %perl_gen_filelist
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | %files -f %{name}.files
 | 
					
						
							|  |  |  | %defattr(-,root,root,755)
 | 
					
						
							|  |  |  | %doc Changes README README.mkdn
 | 
					
						
							| 
									
										
										
										
											2011-02-17 14:43:09 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-31 12:22:50 +00:00
										 |  |  | %changelog
 |