| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2012-02-20 12:32:00 +00:00
										 |  |  | # spec file for package perl-Filter
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +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/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Name:           perl-Filter
 | 
					
						
							| 
									
										
										
										
											2015-07-29 09:13:01 +00:00
										 |  |  | Version:        1.55
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | Release:        0
 | 
					
						
							|  |  |  | %define cpan_name Filter
 | 
					
						
							|  |  |  | Summary:        Source Filters
 | 
					
						
							|  |  |  | License:        Artistic-1.0 or GPL-1.0+
 | 
					
						
							| 
									
										
										
										
											2012-02-20 12:32:00 +00:00
										 |  |  | Group:          Development/Libraries/Perl
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | Url:            http://search.cpan.org/dist/Filter/
 | 
					
						
							|  |  |  | Source0:        http://www.cpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
 | 
					
						
							|  |  |  | Source1:        cpanspec.yml
 | 
					
						
							|  |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | BuildRequires:  perl
 | 
					
						
							|  |  |  | BuildRequires:  perl-macros
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | Recommends:     perl(Filter::Simple) >= 0.88
 | 
					
						
							|  |  |  | Recommends:     perl(Filter::Simple::Compile) >= 0.02
 | 
					
						
							| 
									
										
										
										
											2012-02-20 12:32:00 +00:00
										 |  |  | %{perl_requires}
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | Source Filters
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | %setup -q -n %{cpan_name}-%{version}
 | 
					
						
							|  |  |  | find . -type f -print0 | xargs -0 chmod 644
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 | 
					
						
							|  |  |  | %{__make} %{?_smp_mflags}
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | %{__make} test
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | %perl_make_install
 | 
					
						
							|  |  |  | %perl_process_packlist
 | 
					
						
							|  |  |  | %perl_gen_filelist
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -f %{name}.files
 | 
					
						
							| 
									
										
										
										
											2015-05-02 09:35:36 +00:00
										 |  |  | %defattr(-,root,root,755)
 | 
					
						
							|  |  |  | %doc Changes examples mytest README
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |