2024-08-25 18:29:33 +00:00
committed by Git OBS Bridge
parent e592019bdf
commit 25a1b318e2

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-Clip # spec file for package perl-Text-Clip
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
Name: perl-Text-Clip
Version: 0.0014
Release: 0
%define cpan_name Text-Clip %define cpan_name Text-Clip
Name: perl-Text-Clip
Version: 0.1.400
Release: 0
# 0.0014 -> normalize -> 0.1.400
%define cpan_version 0.0014
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Clip and extract text in clipboard-like way Summary: Clip and extract text in clipboard-like way
License: Artistic-1.0 or GPL-1.0+ URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/R/RO/ROKR/%{cpan_name}-%{cpan_version}.tar.gz
Url: http://search.cpan.org/dist/Text-Clip/
Source0: http://www.cpan.org/authors/id/R/RO/ROKR/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Any::Moose) BuildRequires: perl(Any::Moose)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires: perl(Test::Most) BuildRequires: perl(Test::Most)
Requires: perl(Any::Moose) Requires: perl(Any::Moose)
Provides: perl(Text::Clip) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -41,14 +44,14 @@ access the text preceding and following the mark. Subsequent marks allow
you to slurp up the text "clipped" between the marks. you to slurp up the text "clipped" between the marks.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@@ -56,7 +59,6 @@ you to slurp up the text "clipped" between the marks.
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%changelog %changelog