* Versions being seperate from Module versions results in dependency confusion
Bumped all versions to match the distribution version number.
[RT #67655]
* Fix decrypt to work with Perl 5.14
[RT #67656]
* Update the Filter-Simple URL
[RT #49778]
- corrected license
- removed author from spec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Filter?expand=0&rev=12
77 lines
2.1 KiB
RPMSpec
77 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package perl-Filter (Version 1.38)
|
|
#
|
|
# 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.38
|
|
Release: 2
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/Filter/
|
|
Source: Filter-%{version}.tar.bz2
|
|
Patch0: Filter-1.37.diff
|
|
Patch1: Filter-1.37-Call.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
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.
|
|
|
|
|
|
|
|
%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
|