%define pkg_name I18N-LangTags %define pkg_version 0.35 %define rpm_pkg_version 0.35 %define rpm_pkg_release 1.n0i.5 Summary: Compare & extract language tags 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/S/SB/SBURKE/%{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 Language tags are a formalism, described in RFC 3066 (obsoleting 1766), for declaring what language form (language and possibly dialect) a given chunk of information is in. This library provides functions for common tasks involving language tags (notably the extraction of them, comparing them, and testing the formal validity of them) as is needed in a variety of protocols and applications. %prep %setup -q -n %{pkg_name}-%{pkg_version} %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 * Tue May 22 2007 Marius Feraru - 0:0.35-1.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.35 * Fri Jul 09 2004 Marius Feraru 0:0.33-1.n0i.4 - version 0.33 * Fri Apr 30 2004 Marius Feraru 0:0.30-3.n0i.3 - automatic rebuild * Wed Apr 21 2004 Marius Feraru 0:0.30-2.n0i.2 - automatic rebuild * Sat Apr 03 2004 Marius Feraru 0:0.30-1.n0i.1 - version 0.30 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101