epel9
Petr Šabata 10 years ago
parent 21776750f4
commit 4e023a9748

@ -1,57 +1,51 @@
Name: perl-TeX-Hyphen
Version: 1.01
Release: 3%{?dist}
Version: 1.15
Release: 1%{?dist}
Summary: Hyphenate words using TeX's patterns
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://www.adelton.com/perl/TeX-Hyphen/
Source0: http://www.cpan.org/authors/id/J/JA/JANPAZ/TeX-Hyphen-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl(Benchmark)
BuildRequires: perl(ExtUtils::MakeMaker)
# Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(strict)
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Tests only
BuildRequires: perl(Benchmark)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
%{summary}.
%prep
%setup -q -n TeX-Hyphen-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} $RPM_BUILD_ROOT
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc Changes README
%{perl_vendorlib}/TeX/
%{_mandir}/man3/TeX::Hyphen.3pm*
%{_mandir}/man3/TeX::Hyphen::czech.3pm*
%{_mandir}/man3/TeX::Hyphen::german.3pm*
%{_mandir}/man3/TeX::Hyphen::utf8.3pm*
%changelog
* Tue Feb 03 2015 Petr Šabata <contyk@redhat.com> - 1.15-1
- 1.15 bump
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-3
- Perl 5.20 rebuild

@ -1 +1 @@
8b185cc681e1352334acc9c7b1cabbca TeX-Hyphen-1.01.tar.gz
a813af11c293d1240c3c812a10b6f5f6 TeX-Hyphen-1.15.tar.gz

Loading…
Cancel
Save