%global pkg_name String-LCSS %global pkg_version 0.12 %global rpm_pkg_version 0.12 %global rpm_pkg_release 1.n0i.1 Summary: Find The Longest Common Substring of Two Strings Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/String/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl %description String::LCSS provides the function "lcss" to ferret out the longest common substring shared by two strings passed as arguments. "undef" is returned if the susbstring length is one char or less. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf %{buildroot} %{perl_install} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Thu Nov 22 2007 Marius Feraru - 0.12-1.n0i.1 - resurrected