forked from pool/perl-Snowball-Norwegian
Compare commits
10 Commits
9972b9acdb
...
4c8ce1cca2
Author | SHA256 | Date | |
---|---|---|---|
4c8ce1cca2 | |||
119fc50fe8 | |||
49398f43d2 | |||
|
4dcaec3f04 | ||
|
0fe13603a6 | ||
|
cb82d7979c | ||
|
a0388ef7bf | ||
|
8857f901fe | ||
|
4b4fd0c989 | ||
|
a8e78370c8 |
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 22:29:21 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 06:54:01 UTC 2011 - coolo@suse.com
|
||||
|
||||
- spec cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 19:20:42 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 15 10:22:36 UTC 2010 - chris@computersalat.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Snowball-Norwegian (Version 1.2)
|
||||
# spec file for package perl-Snowball-Norwegian
|
||||
#
|
||||
# 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-Norwegian
|
||||
%define cpan_name Snowball-Norwegian
|
||||
Summary: Snowball::Norwegian Perl module
|
||||
Version: 1.2
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Snowball-Norwegian/
|
||||
Source: http://www.cpan.org/modules/by-module/Snowball/Snowball-Norwegian-%{version}.tar.gz
|
||||
Name: perl-Snowball-Norwegian
|
||||
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 norwegian
|
||||
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
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: perl(Module::Build)
|
||||
Provides: perl(Lingua::Stem::Snowball::No) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Lingua::Stem::Snowball::No is a perl port of the norwegian
|
||||
stemmer at http://snowball.tartarus.org.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ask Solem Hoel, <ask@0x61736b.net>
|
||||
Porters stemming algorithm for norwegian.
|
||||
|
||||
%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