You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.4 KiB
58 lines
1.4 KiB
Name: perl-Encode-Newlines
|
|
Version: 0.05
|
|
Release: 1%{?dist}
|
|
Summary: Normalize line ending sequences
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/Encode-Newlines/
|
|
Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Encode-Newlines-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: coreutils
|
|
BuildRequires: findutils
|
|
BuildRequires: make
|
|
BuildRequires: perl
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Run-time
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(Encode::Encoding)
|
|
BuildRequires: perl(parent)
|
|
# Tests
|
|
BuildRequires: perl(Encode)
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(Carp)
|
|
|
|
%description
|
|
This module provides the CR, LF, CRLF and Native encodings, to aid in
|
|
normalizing line endings.
|
|
|
|
%prep
|
|
%setup -q -n Encode-Newlines-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc Changes README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 0.05-1
|
|
- 0.05 bump
|
|
|
|
* Mon Nov 30 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.04-1
|
|
- Initial release
|