11
0

Compare commits

3 Commits

5 changed files with 35 additions and 8 deletions

View File

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

View File

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

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Device-Yeelight/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Device-Yeelight)

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Sep 12 05:31:38 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.140.0 (0.14)
see /usr/share/doc/packages/perl-Device-Yeelight/Changes
0.14 2024/09/11
- fixed break from while loop
-------------------------------------------------------------------
Fri Aug 6 03:08:03 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Device-Yeelight
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,16 @@
%define cpan_name Device-Yeelight
Name: perl-Device-Yeelight
Version: 0.13
Version: 0.140.0
Release: 0
Summary: Controller for Yeelight smart devices
# 0.14 -> normalize -> 0.140.0
%define cpan_version 0.14
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Controller for Yeelight smart devices
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JB/JBAIER/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/J/JB/JBAIER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
@@ -34,13 +37,16 @@ BuildRequires: perl(JSON) >= 2.97
Requires: perl(IO) >= 1.38
Requires: perl(IO::Socket::Multicast) >= 1.12
Requires: perl(JSON) >= 2.97
Provides: perl(Device::Yeelight) = %{version}
Provides: perl(Device::Yeelight::Light)
%undefine __perllib_provides
%{perl_requires}
%description
Controller for Yeelight smart devices
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor