| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package perl-Filter (Version 1.37)
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # Copyright (c) 2010 SUSE LINUX Products 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/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # norootforbuild
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Name:           perl-Filter
 | 
					
						
							|  |  |  | Summary:        Perl Source Filter Utility Module
 | 
					
						
							|  |  |  | Version:        1.37
 | 
					
						
							|  |  |  | Release:        2
 | 
					
						
							|  |  |  | License:        GPL, Artistic License ..
 | 
					
						
							|  |  |  | Group:          Development/Libraries/Perl
 | 
					
						
							|  |  |  | Url:            http://search.cpan.org/dist/Filter/
 | 
					
						
							|  |  |  | Source:         Filter-%{version}.tar.bz2
 | 
					
						
							|  |  |  | Patch0:         Filter-%{version}.diff
 | 
					
						
							|  |  |  | Patch1:         Filter-%{version}-Call.diff
 | 
					
						
							|  |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							| 
									
										
										
										
											2010-12-03 14:05:42 +00:00
										 |  |  | %{perl_requires}
 | 
					
						
							| 
									
										
										
										
											2010-06-18 14:12:23 +00:00
										 |  |  | BuildRequires:  perl
 | 
					
						
							|  |  |  | BuildRequires:  perl-macros
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							|  |  |  | This package consists of a number of Source Filters. For more details
 | 
					
						
							|  |  |  | see the pod documentation embedded in the .pm files.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | If you intend using the Filter::Call functionality, I would strongly
 | 
					
						
							|  |  |  | recommend that you check out Damian Conway's excellent Filter::Simple
 | 
					
						
							|  |  |  | module. This module provides a much cleaner interface than
 | 
					
						
							|  |  |  | Filter::Util::Call. Although it doesn't allow the fine control that
 | 
					
						
							|  |  |  | Filter::Util::Call does, it should be adequate for the majority of
 | 
					
						
							|  |  |  | applications.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Authors:
 | 
					
						
							|  |  |  | --------
 | 
					
						
							|  |  |  |     Paul Marquess <Paul.Marquess@btinternet.com>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							|  |  |  | %setup -q -n Filter-%{version}
 | 
					
						
							|  |  |  | %patch0
 | 
					
						
							|  |  |  | %patch1
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							|  |  |  | #rm -f perlfilter.pod
 | 
					
						
							|  |  |  | #rm -f Call/Makefile.PL
 | 
					
						
							|  |  |  | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS -Wall"
 | 
					
						
							|  |  |  | %{__make} %{?_smp_mflags}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							|  |  |  | %{__make} test
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | %perl_make_install
 | 
					
						
							|  |  |  | %perl_process_packlist
 | 
					
						
							|  |  |  | find examples -name "*.bak" | xargs rm -rf
 | 
					
						
							|  |  |  | %perl_gen_filelist
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %clean
 | 
					
						
							|  |  |  | %{__rm} -rf $RPM_BUILD_ROOT
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -f %{name}.files
 | 
					
						
							|  |  |  | %defattr(-, root, root)
 | 
					
						
							|  |  |  | %doc Changes README examples
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |