[perl-Snowball-Swedish] initial import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 184e1a602583d166a7822ea7c42c27a2e10861ed
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sat Aug 28 13:42:27 2010 +0200

    initial import

 .gitignore                 |    1 +
 perl-Snowball-Swedish.spec |   51 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..caef6f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Snowball-Swedish-1.2.tar.gz
diff --git a/perl-Snowball-Swedish.spec b/perl-Snowball-Swedish.spec
new file mode 100644
index 0000000..d9a7cc1
--- /dev/null
+++ b/perl-Snowball-Swedish.spec
@@ -0,0 +1,51 @@
+Name:           perl-Snowball-Swedish
+Version:        1.2
+Release:        2%{?dist}
+Summary:        Porter's stemming algorithm for Swedish
+License:        GPLv2 or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Snowball-Swedish/
+Source0:        http://www.cpan.org/authors/id/A/AS/ASKSH/Snowball-Swedish-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More) >= 0.42
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+The stem function takes a scalar as a parameter and stems the word according to
+Martin Porter's Swedish stemming algorithm, which can be found at the Snowball
+website: http://snowball.tartarus.org/.
+
+%prep
+%setup -q -n Snowball-Swedish-%{version}
+
+mv bin/stemmer-se.pl bin/stemmer-se
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_bindir}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Aug 28 2010 Iain Arnell <iarnell@xxxxxxxxx> 1.2-2
+- license GPLv2 or Artistic
+
+* Mon Aug 16 2010 Iain Arnell <iarnell@xxxxxxx> 1.2-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..97a3578 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e2ed0f5c2a9fc7e500c61553c4c1e9c9  Snowball-Swedish-1.2.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


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux