Mandrake Linux Archives: changelog@mandrivalinux.org
Mandrake Linux: changelog@mandrivalinux.org
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Guillaume Rousse
- Subject: [Contrib-Rpm] perl-Lingua-Stem-Snowball-Da-1.01-4mdk
- Date: 30 Nov 2005 14:41:00 -0000
[Contrib-RPM] -=-=-=- Name : perl-Lingua-Stem-Snowball-Da Relocations: (not relocatable) Version : 1.01 Vendor: Mandriva Release : 4mdk Build Date: Wed Nov 30 15:32:06 2005 Install Date: (not installed) Build Host: n2.mandriva.com Group : Development/Perl Source RPM: (none) Size : 139630 License: GPL or Artistic Signature : (none) Packager : Guillaume Rousse <guillomovitch@mandriva.org> URL : http://search.cpan.org/dist/Lingua-Stem-Snowball-Da/ Summary : Porters stemming algorithm for Denmark Description : The stem function takes a scalar as a parameter and stems the word according to Martin Porters Danish stemming algorithm, which can be found at the Snowball website: http://snowball.tartarus.org/. Buildarchs: noarch -=-=-=- Guillaume Rousse <guillomovitch@mandriva.org> 1.01-4mdk - spec cleanup - fix directory ownership - %mkrel - rpmbuildupdate aware - better summary - better description - better url -=-=-=- No rpmlint error, happy (wo)man :-) -=-=-=- http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/contrib-SPECS/perl-Lingua-Stem-Snowball-Da/ perl-Lingua-Stem-Snowball-Da.spec changed --- perl-Lingua-Stem-Snowball-Da-1.01-3mdk.src.rpm/perl-Lingua-Stem-Snowball-Da.spec 2005-11-30 15:41:01.232932927 +0100 +++ perl-Lingua-Stem-Snowball-Da-1.01-4mdk.src.rpm/perl-Lingua-Stem-Snowball-Da.spec 2005-11-30 15:41:01.310923284 +0100 @@ -1,52 +1,64 @@ -%define name perl-Lingua-Stem-Snowball-Da +%define module Lingua-Stem-Snowball-Da +%define name perl-%{module} %define version 1.01 -%define release 3mdk +%define release %mkrel 4 -Summary: Lingua-Stem-Snowball-Da module for perl Name: %{name} Version: %{version} Release: %{release} +Summary: Porters stemming algorithm for Denmark License: GPL or Artistic Group: Development/Perl -Source0: Lingua-Stem-Snowball-Da-%{version}.tar.bz2 -URL: http://www.cpan.org -Requires: locales-da +Source0: http://search.cpan.org/CPAN/authors/id/C/CI/CINE/%{module}-%{version}.tar.bz2 +Url: http://search.cpan.org/dist/%{module}/ +%if %{mdkversion} < 1010 BuildRequires: perl-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +%endif +Requires: locales-da BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version} %description -Lingua-Stem-Snowball-Da module for perl +The stem function takes a scalar as a parameter and stems the word according to +Martin Porters Danish stemming algorithm, which can be found at the Snowball +website: http://snowball.tartarus.org/. %prep -%setup -q -n Lingua-Stem-Snowball-Da-%{version} -# perl path hack -find . -type f | xargs %{__perl} -p -i -e "s|^#\!/usr/local/bin/perl|#\!/usr/bin/perl|g" +%setup -q -n %{module}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX=%{_prefix} </dev/null -%{__make} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%make + +%check %{__make} test %install -[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} - -%{__make} PREFIX=%{buildroot}/%{_prefix} install +rm -rf %{buildroot} +%makeinstall_std mv %{buildroot}%{perl_vendorlib}/Lingua/Stem/Snowball/stemmer.pl \ %{buildroot}%{perl_vendorlib}/Lingua/Stem/Snowball/stemmer-Da.pl %clean -[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} +rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README -%{perl_vendorlib}/Lingua/Stem/Snowball/Da.pm -%{perl_vendorlib}/Lingua/Stem/Snowball/stemmer-Da.pl +%{perl_vendorlib}/Lingua %{_mandir}/man3*/* %changelog +* Wed Nov 30 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.01-4mdk +- spec cleanup +- fix directory ownership +- %%mkrel +- rpmbuildupdate aware +- better summary +- better description +- better url + * Fri Oct 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.01-3mdk - fix deps -- http://www.mandrivalinux.com/en/cookerdevel.php3
- Prev by Date: [Contrib-Rpm] clusterscripts-1.3-1mdk
- Next by Date: [Contrib-Rpm] perl-Snowball-Norwegian-1.0-3mdk
- Previous by thread: [Contrib-Rpm] clusterscripts-1.3-1mdk
- Next by thread: [Contrib-Rpm] perl-Snowball-Norwegian-1.0-3mdk
- Index(es):
