commit f339aad42c05f2c7380ade7b4d813f127d0d7d3b Author: Nicolas Chauvet <kwizart@xxxxxxxxxxxxxxxxx> Date: Wed Jul 2 20:33:32 2008 +0000 Initial import for devel .gitignore | 1 + import.log | 1 + perl-Lingua-Preferred.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 63 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..9fa992a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +Lingua-Preferred-0.2.4.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..55bc491 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Lingua-Preferred-0_2_4-2_fc8_kwizart:HEAD:perl-Lingua-Preferred-0.2.4-2.fc8.kwizart.src.rpm:1215030699 diff --git a/perl-Lingua-Preferred.spec b/perl-Lingua-Preferred.spec new file mode 100644 index 0000000..ca67cf4 --- /dev/null +++ b/perl-Lingua-Preferred.spec @@ -0,0 +1,60 @@ +Name: perl-Lingua-Preferred +Version: 0.2.4 +Release: 2%{?dist} +Summary: Perl extension to choose a language + +Group: Development/Libraries +License: GPLv2+ or Artistic +URL: http://search.cpan.org/dist/Lingua-Preferred/ +Source0: http://search.cpan.org/CPAN/authors/id/E/ED/EDAVIS/Lingua-Preferred-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +# Correct for lots of packages, other common choices include eg. Module::Build +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Many web browsers let you specify which languages you understand. +Then they negotiate with the web server to get documents in the best +language possible. This is something similar in Perl. + + +%prep +%setup -q -n Lingua-Preferred-%{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 {} ';' + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes +%{perl_vendorlib}/Lingua +%{perl_vendorlib}/auto/Lingua +%{_mandir}/man3/*.3* + + +%changelog +* Thu May 1 2008 kwizart < kwizart at gmail.com > - 0.2.4-2 +- Fix directory listed twice. + +* Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 0.2.4-1 +- Initial package for Fedora + diff --git a/sources b/sources index e69de29..96ea421 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +37e883fafb05b1439de1121f41e8ad75 Lingua-Preferred-0.2.4.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel