forked from pool/perl-Snowball-Swedish
Compare commits
10 Commits
e659316d42
...
513cabdba8
Author | SHA256 | Date | |
---|---|---|---|
513cabdba8 | |||
1520173517 | |||
c989c817e6 | |||
|
755feeec49 | ||
|
7867aa9171 | ||
|
adada1d28d | ||
|
7303c80f01 | ||
|
c33f90c49c | ||
|
5b42b1e77c | ||
|
f3b1a26447 |
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 22:29:35 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:47:02 UTC 2011 - coolo@suse.com
|
||||
|
||||
- regenerate with cpanspec 1.78.05
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 19:20:42 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Snowball-Swedish (Version 1.2)
|
||||
# spec file for package perl-Snowball-Swedish
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,56 +12,47 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Snowball-Swedish
|
||||
%define cpan_name Snowball-Swedish
|
||||
Summary: Snowball::Swedish Perl module
|
||||
Version: 1.2
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Snowball-Swedish/
|
||||
Source: http://www.cpan.org/modules/by-module/Snowball/Snowball-Swedish-%{version}.tar.gz
|
||||
Name: perl-Snowball-Swedish
|
||||
Version: 1.200.0
|
||||
Release: 0
|
||||
# 1.2 -> normalize -> 1.200.0
|
||||
%define cpan_version 1.2
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Porters stemming algorithm for swedish
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AS/ASKSH/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Module::Build)
|
||||
Provides: perl(Lingua::Stem::Snowball::Se) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Lingua::Stem::Snowball::Se is a perl port of the swedish
|
||||
stemmer at http://snowball.sourceforge.net.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ask Solem Hoel, <ask@0x61736b.net>
|
||||
Porters stemming algorithm for swedish.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes examples README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user