File perl-Filter.spec of Package perl-Filter

#
# spec file for package perl-Filter (Version 1.34)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           perl-Filter
Version:        1.34
Release:        1
Requires:       perl = %{perl_version}
Autoreqprov:    on
Group:          Development/Libraries/Perl
License:        Artistic License
URL:            http://cpan.org/modules/by-module/Filter/
Summary:        Source Filters
Source:         Filter-%{version}.tar.bz2
Patch0:         Filter-%{version}.diff
Patch1:         Filter-%{version}-Call.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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 -n Filter-%{version} -q
%patch0
%patch1

%build
rm -f perlfilter.pod
rm -f Call/Makefile.PL
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test

%install
rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist
find -name "*.bak" | xargs rm -rf
find $RPM_BUILD_ROOT -name "*.bak" | xargs rm -rf

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc Changes README examples
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Filter/
%{perl_vendorarch}/Filter/
%{perl_vendorarch}/filter-util.pl
/var/adm/perl-modules/%{name}

%changelog
* Mon Jul 09 2007 - anicka@suse.cz
- update to 1.34
  * support perl 5.10 for Filter::Util::Call
  * equivalent changes for the other filters
* Wed Mar 07 2007 - anicka@suse.cz
- update to 1.33
  * fixed ninstr issue for 5.8.9
  * added t/pod.t
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 06 2006 - anicka@suse.cz
- update to 1.32
* Tue Jan 03 2006 - anicka@suse.cz
- update to 1.31
* Thu Mar 18 2004 - mjancar@suse.cz
- don't package backup files (#36312)
* Thu Oct 30 2003 - mjancar@suse.cz
- update to 1.30
- no root for build
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Tue Jul 15 2003 - mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Tue May 20 2003 - mjancar@suse.cz
- remove unpackaged files
* Fri Dec 20 2002 - prehak@suse.cz
- updated to version 1.29
- adjusted .packlist
* Mon Jul 29 2002 - mls@suse.de
- deleted Filter::Util::Call as it's in perl-5.8.0
* Tue Jul 02 2002 - mls@suse.de
- remove race in .packlist generation
* Wed Jan 16 2002 - rvasice@suse.cz
- initial package release (version 1.28)
openSUSE Build Service is sponsored by