Compare commits

...

10 Commits

Author SHA256 Message Date
952ba2a28a Accepting request 1247054 from devel:languages:perl:autoupdate
- updated to 0.320.0 (0.32)
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.32    2025-02-10
      - In drivers.t: prefer to use Clipboard::WaylandClipboard .
          - https://github.com/shlomif/Clipboard/issues/13
          - Thanks to @hightowe

OBS-URL: https://build.opensuse.org/request/show/1247054
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=21
2025-02-19 15:32:24 +00:00
a8d3df9889 Accepting request 1239662 from devel:languages:perl:autoupdate
- updated to 0.310.0 (0.31)
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.31    2025-01-21
      - Make problematic t/drivers.t tests author only.
          - https://github.com/shlomif/Clipboard/pull/16
          - Thanks to @trwyant

OBS-URL: https://build.opensuse.org/request/show/1239662
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=20
2025-01-26 01:37:17 +00:00
a5dd1c4962 Accepting request 1182878 from devel:languages:perl:autoupdate
- updated to 0.300.0 (0.30)
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.30    2024-06-16
      - Add Wayland detection and support
          - https://github.com/shlomif/Clipboard/issues/13
          - https://github.com/shlomif/Clipboard/pull/14
          - Thanks to @hightowe

OBS-URL: https://build.opensuse.org/request/show/1182878
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=19
2024-06-27 17:30:36 +00:00
df0d690b82 Accepting request 1173729 from devel:languages:perl:autoupdate
- updated to 0.29
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.29    2024-04-07
      - Add Xsel.pm / xsel support.
      - Improve clipbrowse's reliability / security:
          - https://github.com/shlomif/Clipboard/issues/11
          - https://github.com/shlomif/Clipboard/pull/12
          - Thanks to @fschlich .
      - Made the code more elegant and reliable.
          - E.g.: explicit returns

OBS-URL: https://build.opensuse.org/request/show/1173729
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=18
2024-05-16 12:04:06 +00:00
67b6b1891b Accepting request 874812 from devel:languages:perl:autoupdate
- updated to 0.28
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.28    2021-02-23
      - Hopefully fix prereqs on cygwin.
          - https://github.com/shlomif/Clipboard/issues/7
          - Thanks to @tzccinct .

OBS-URL: https://build.opensuse.org/request/show/874812
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=17
2021-02-25 12:20:26 +00:00
887933b917 Accepting request 872765 from devel:languages:perl:autoupdate
- updated to 0.27
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.27    2021-02-13
      - README.md instead of README and INSTALL
          - https://github.com/shlomif/Clipboard/issues/5
          - Thanks to https://github.com/mitchblank .

OBS-URL: https://build.opensuse.org/request/show/872765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=16
2021-02-16 10:14:43 +00:00
Stephan Kulow
651147c534 Accepting request 806148 from devel:languages:perl:autoupdate
updated to 0.26
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.26    2020-05-16
  
      - Try to fix 'Wide character in print' warning with Xclip
          - https://github.com/shlomif/Clipboard/issues/4
          - Thanks to @shawnhcorey .
  
  0.25    2020-05-14
  
      - Fix capitalization in GitHub links (the links still worked) in META.*
          - A minor and cosmetic change

OBS-URL: https://build.opensuse.org/request/show/806148
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=15
2020-05-20 04:40:11 +00:00
Stephan Kulow
d00f54bb38 Accepting request 783275 from devel:languages:perl:autoupdate
- updated to 0.24
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.24    2020-03-07
      - Remove Makefile.PL due to ::OSPrereqs not munging it along with Build.PL
          - https://github.com/dagolden/Dist-Zilla-Plugin-OSPrereqs/issues/4
      - Fix macOS detection.
          - https://github.com/shlomif/Clipboard/issues/1
          - convert "darwin" to a regex.
  
  0.23    2020-03-06
      - Require deps on MacOS and MSwin32
          - See: https://github.com/shlomif/Clipboard/issues/1
          - Thanks to https://metacpan.org/pod/Dist::Zilla::Plugin::OSPrereqs .

OBS-URL: https://build.opensuse.org/request/show/783275
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=14
2020-03-10 12:18:47 +00:00
cbccb6c50d Accepting request 768277 from devel:languages:perl:autoupdate
- updated to 0.22
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.22    2020-01-28
      - Rebuild for order of 'NAME' and 'VERSION' sections in the generated
      POD documentation (see 0.001004 in
      https://metacpan.org/changes/distribution/Pod-Weaver-PluginBundle-SHLOMIF
      ).
          - VERSION used to appear before NAME.

OBS-URL: https://build.opensuse.org/request/show/768277
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=13
2020-01-29 14:53:46 +00:00
d30ada47ce Accepting request 753145 from devel:languages:perl:autoupdate
- updated to 0.21
   see /usr/share/doc/packages/perl-Clipboard/Changes
  0.21    2019-12-02
  
      - Min version of Mac::Pasteboard for macOS Catalina compat
          - Thanks to William H. Gilmore

OBS-URL: https://build.opensuse.org/request/show/753145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clipboard?expand=0&rev=12
2019-12-03 10:00:45 +00:00
5 changed files with 175 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f7d0a8eafec57072f9574dfd552e1cb8db26c09079c50dbef38f3c97ce25f60
size 25047

3
Clipboard-0.32.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95e234cde474cd62ee762f45f8c9d8297436c61ac53bc6af7a73c257358c4bd0
size 26209

View File

@@ -10,8 +10,11 @@
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
preamble: |-
BuildRequires: xsel
BuildRequires: xclip
Requires: xsel
Requires: xclip
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL

View File

@@ -1,3 +1,140 @@
-------------------------------------------------------------------
Tue Feb 11 05:31:09 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.320.0 (0.32)
see /usr/share/doc/packages/perl-Clipboard/Changes
0.32 2025-02-10
- In drivers.t: prefer to use Clipboard::WaylandClipboard .
- https://github.com/shlomif/Clipboard/issues/13
- Thanks to @hightowe
-------------------------------------------------------------------
Wed Jan 22 21:19:12 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.310.0 (0.31)
see /usr/share/doc/packages/perl-Clipboard/Changes
0.31 2025-01-21
- Make problematic t/drivers.t tests author only.
- https://github.com/shlomif/Clipboard/pull/16
- Thanks to @trwyant
-------------------------------------------------------------------
Sun Jun 23 16:12:41 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- updated to 0.300.0 (0.30)
see /usr/share/doc/packages/perl-Clipboard/Changes
0.30 2024-06-16
- Add Wayland detection and support
- https://github.com/shlomif/Clipboard/issues/13
- https://github.com/shlomif/Clipboard/pull/14
- Thanks to @hightowe
-------------------------------------------------------------------
Mon Apr 8 03:06:09 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.29
see /usr/share/doc/packages/perl-Clipboard/Changes
0.29 2024-04-07
- Add Xsel.pm / xsel support.
- Improve clipbrowse's reliability / security:
- https://github.com/shlomif/Clipboard/issues/11
- https://github.com/shlomif/Clipboard/pull/12
- Thanks to @fschlich .
- Made the code more elegant and reliable.
- E.g.: explicit returns
-------------------------------------------------------------------
Wed Feb 24 03:06:59 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.28
see /usr/share/doc/packages/perl-Clipboard/Changes
0.28 2021-02-23
- Hopefully fix prereqs on cygwin.
- https://github.com/shlomif/Clipboard/issues/7
- Thanks to @tzccinct .
-------------------------------------------------------------------
Sun Feb 14 03:06:54 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.27
see /usr/share/doc/packages/perl-Clipboard/Changes
0.27 2021-02-13
- README.md instead of README and INSTALL
- https://github.com/shlomif/Clipboard/issues/5
- Thanks to https://github.com/mitchblank .
-------------------------------------------------------------------
Sun May 17 03:07:40 UTC 2020 - Tina Müller <timueller+perl@suse.de>
updated to 0.26
see /usr/share/doc/packages/perl-Clipboard/Changes
0.26 2020-05-16
- Try to fix 'Wide character in print' warning with Xclip
- https://github.com/shlomif/Clipboard/issues/4
- Thanks to @shawnhcorey .
0.25 2020-05-14
- Fix capitalization in GitHub links (the links still worked) in META.*
- A minor and cosmetic change
-------------------------------------------------------------------
Sun Mar 8 03:07:36 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.24
see /usr/share/doc/packages/perl-Clipboard/Changes
0.24 2020-03-07
- Remove Makefile.PL due to ::OSPrereqs not munging it along with Build.PL
- https://github.com/dagolden/Dist-Zilla-Plugin-OSPrereqs/issues/4
- Fix macOS detection.
- https://github.com/shlomif/Clipboard/issues/1
- convert "darwin" to a regex.
0.23 2020-03-06
- Require deps on MacOS and MSwin32
- See: https://github.com/shlomif/Clipboard/issues/1
- Thanks to https://metacpan.org/pod/Dist::Zilla::Plugin::OSPrereqs .
-------------------------------------------------------------------
Wed Jan 29 03:08:04 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.22
see /usr/share/doc/packages/perl-Clipboard/Changes
0.22 2020-01-28
- Rebuild for order of 'NAME' and 'VERSION' sections in the generated
POD documentation (see 0.001004 in
https://metacpan.org/changes/distribution/Pod-Weaver-PluginBundle-SHLOMIF
).
- VERSION used to appear before NAME.
-------------------------------------------------------------------
Tue Dec 3 03:07:48 UTC 2019 - <timueller+perl@suse.de>
- updated to 0.21
see /usr/share/doc/packages/perl-Clipboard/Changes
0.21 2019-12-02
- Min version of Mac::Pasteboard for macOS Catalina compat
- Thanks to William H. Gilmore
-------------------------------------------------------------------
Thu Apr 18 05:03:52 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Clipboard
#
# Copyright (c) 2019 SUSE LINUX 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
@@ -16,27 +16,40 @@
#
Name: perl-Clipboard
Version: 0.20
Release: 0
%define cpan_name Clipboard
Summary: Clipboard
Name: perl-Clipboard
Version: 0.320.0
Release: 0
# 0.32 -> normalize -> 0.320.0
%define cpan_version 0.32
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
Summary: Copy and paste with any OS
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CGI)
BuildRequires: perl(Module::Build) >= 0.280000
BuildRequires: perl(Module::Build) >= 0.28
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(URI::Escape)
Requires: perl(CGI)
Requires: perl(URI::Escape)
Provides: perl(Clipboard) = %{version}
Provides: perl(Clipboard::MacPasteboard) = %{version}
Provides: perl(Clipboard::WaylandClipboard) = %{version}
Provides: perl(Clipboard::Win32) = %{version}
Provides: perl(Clipboard::Xclip) = %{version}
Provides: perl(Clipboard::Xsel) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
BuildRequires: xsel
BuildRequires: xclip
Requires: xclip
Requires: xsel
# MANUAL END
%description
Who doesn't remember the first time they learned to copy and paste, and
@@ -47,23 +60,23 @@ With Clipboard.pm, this magic is now trivial to access, in a
cross-platform-consistent API, from your Perl code.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc at Changes README scripts
%doc Changes README.mkdn
%license LICENSE
%changelog