Import wingpanel-indicator-nightlight-2.1.0-3.el9

This commit is contained in:
Sofia Boldyreva 2023-03-21 23:01:12 +01:00
commit 3ff443be45
3 changed files with 122 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/wingpanel-indicator-nightlight-2.1.0.tar.gz

View File

@ -0,0 +1 @@
27369fa59eb5b8bf03ce104b946d4b0fb197a5c5 SOURCES/wingpanel-indicator-nightlight-2.1.0.tar.gz

View File

@ -0,0 +1,120 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.5)
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
release_number = 3;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
## END: Set by rpmautospec
%global __provides_exclude_from ^%{_libdir}/wingpanel/.*\\.so$
%global srcname wingpanel-indicator-nightlight
%global appname io.elementary.wingpanel.nightlight
Name: wingpanel-indicator-nightlight
Summary: Night Light Indicator for wingpanel
Version: 2.1.0
Release: %autorelease
License: GPLv2+
URL: https://github.com/elementary/wingpanel-indicator-nightlight
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala >= 0.22.0
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite) >= 6.0.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(wingpanel) >= 3.0.0
Requires: wingpanel%{?_isa}
Supplements: wingpanel%{?_isa}
%description
A wingpanel indicator for Night Light.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang nightlight-indicator
%check
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%files -f nightlight-indicator.lang
%doc README.md
%license COPYING
%{_libdir}/wingpanel/libnightlight.so
%{_datadir}/metainfo/%{appname}.appdata.xml
%changelog
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> 2.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Jul 17 2021 Fabio Valentini <decathorpe@gmail.com> 2.1.0-1
- Update to version 2.1.0; Fixes RHBZ#1982587
* Fri Feb 19 2021 Fabio Valentini <decathorpe@gmail.com> - 2.0.4-3.20210219git988aa26
- Bump to commit 988aa26. Rebuilt for granite 6 soname bump and wingpanel 3.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Aug 12 2020 Fabio Valentini <decathorpe@gmail.com> - 2.0.4-1
- Update to version 2.0.4.
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Mar 02 2020 Fabio Valentini <decathorpe@gmail.com> - 2.0.3-1
- Update to version 2.0.3.
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Feb 19 2019 Fabio Valentini <decathorpe@gmail.com> - 2.0.2-1
- Update to version 2.0.2.
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Oct 02 2018 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-1
- Update to version 2.0.1.
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 13 2018 Fabio Valentini <decathorpe@gmail.com> - 2.0-2
- Rebuild for granite5 soname bump.
* Fri Jun 08 2018 Fabio Valentini <decathorpe@gmail.com> - 2.0-1
- Initial package.