diff --git a/.cvsignore b/.cvsignore index e69de29..5b351e8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +TeX-Hyphen-0.140.tar.gz diff --git a/perl-TeX-Hyphen.spec b/perl-TeX-Hyphen.spec new file mode 100644 index 0000000..b169f5f --- /dev/null +++ b/perl-TeX-Hyphen.spec @@ -0,0 +1,57 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-TeX-Hyphen +Version: 0.140 +Release: 0.fdr.1.rh90 +Epoch: 0 +Summary: Hyphenate words using TeX's patterns + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/TeX-Hyphen/ +Source0: http://www.cpan.org/authors/id/J/JA/JANPAZ/TeX-Hyphen-0.140.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +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 +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/TeX/ +%{_mandir}/man3/*.3* + + +%changelog +* Fri Jun 11 2004 Jose Pedro Oliveira - 0:0.140-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..a018e15 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0ee75a22525461e72ceab8e82377d617 TeX-Hyphen-0.140.tar.gz