%define pkg_name Text-Tabs+Wrap %define pkg_version 2006.1117 %define rpm_pkg_version 2006.1117 %define rpm_pkg_release 1.n0i.1 Summary: Wraps lines to make simple paragraphs Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Epoch: 0 Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description Text::Tabs performs the same job that the unix expand(1) and unexpand(1) commands do: adding or removing tabs from a document. Text::Wrap::wrap() will reformat lines into paragraphs. All it does is break up long lines, it will not join short lines together. Text::Fill::fill() will reformat blocks of text into paragraphs. It uses Text::Wrap::wrap() to do the work Install them with: perl Makefile.PL make make test make install %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc CHANGELOG README %changelog * Thu May 31 2007 Marius Feraru - 0:2006.1117-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 2006.1117