8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
4c8ce1cca2 Accepting request 1244439 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1244439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Snowball-Norwegian?expand=0&rev=10
2025-02-09 19:07:36 +00:00
119fc50fe8 - Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Snowball-Norwegian?expand=0&rev=10
2025-02-06 22:29:29 +00:00
49398f43d2 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Snowball-Norwegian?expand=0&rev=9
2025-02-05 17:54:54 +00:00
Stephan Kulow
4dcaec3f04 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Snowball-Norwegian?expand=0&rev=5
2011-12-06 17:47:08 +00:00
Stephan Kulow
0fe13603a6 Accepting request 92063 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/92063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Snowball-Norwegian?expand=0&rev=4
2011-11-18 14:47:38 +00:00
Stephan Kulow
cb82d7979c - spec cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Snowball-Norwegian?expand=0&rev=6
2011-11-13 06:56:27 +00:00
Sascha Peilicke
a0388ef7bf Autobuild autoformatter for 66757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Snowball-Norwegian?expand=0&rev=2
2011-05-26 13:03:22 +00:00
Sascha Peilicke
8857f901fe Accepting request 66757 from devel:languages:perl
new perl package, based on this list: is in devel:languages:perl without additional dependencies against O:F, has non-trivial test suite and is included in debian stable and has standard perl license

OBS-URL: https://build.opensuse.org/request/show/66757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Snowball-Norwegian?expand=0&rev=1
2011-05-26 13:03:13 +00:00
Stephan Kulow
4b4fd0c989 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Snowball-Norwegian?expand=0&rev=3
2010-12-03 14:49:51 +00:00
Stephan Kulow
a8e78370c8 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Snowball-Norwegian?expand=0&rev=2
2010-11-30 19:28:04 +00:00
2 changed files with 39 additions and 32 deletions

View File

@@ -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

View File

@@ -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