## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; 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 srcname capnet-assist %global appname io.elementary.%{srcname} Name: elementary-capnet-assist Summary: Captive Portal Assistant for elementary Version: 2.4.2 Release: %autorelease License: GPLv3+ URL: https://github.com/elementary/capnet-assist Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: vala BuildRequires: pkgconfig(gcr-3) BuildRequires: pkgconfig(gcr-ui-3) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libhandy-1) >= 1.0.0 BuildRequires: pkgconfig(webkit2gtk-4.0) Requires: NetworkManager Requires: hicolor-icon-theme %description Assists users in connective to Captive Portals such as those found on public access points in train stations, coffee shops, universities, etc. Upon detection, the assistant appears showing the captive portal. Once a connection is known to have been established, it dismisses itself. Written in Vala and using WebkitGtk+. %prep %autosetup -n %{srcname}-%{version} -p1 %build %meson %meson_build %install %meson_install %find_lang %{appname} %check desktop-file-validate \ %{buildroot}/%{_datadir}/applications/%{appname}.desktop appstream-util validate-relax --nonet \ %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml %files -f %{appname}.lang %doc README.md %license COPYING %{_bindir}/%{appname} %{_datadir}/applications/%{appname}.desktop %{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{appname}.svg %{_datadir}/metainfo/%{appname}.appdata.xml %changelog * Tue Jun 07 2022 Fabio Valentini 2.4.2-1 - Update to version 2.4.2; Fixes RHBZ#2087713 * Wed Mar 02 2022 Fabio Valentini 2.4.1-1 - Update to version 2.4.1; Fixes RHBZ#2047306 * Thu Jan 20 2022 Fedora Release Engineering 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Oct 30 2021 Fabio Valentini 2.4.0-1 - Update to version 2.4.0; Fixes RHBZ#2018633 * Wed Jul 21 2021 Fedora Release Engineering 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jul 15 2021 Fabio Valentini 2.3.0-1 - Update to version 2.3.0; Fixes RHBZ#1982327 * Thu Feb 18 2021 Fabio Valentini - 2.2.5-4.20210211gitd8aa930 - Bump to commit d8aa930. Rebuilt for granite 6 soname bump. * Tue Jan 26 2021 Fedora Release Engineering - 2.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Apr 08 2020 Fabio Valentini - 2.2.5-1 - Update to version 2.2.5. * Tue Jan 28 2020 Fedora Release Engineering - 2.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 22 2019 Fabio Valentini - 2.2.4-1 - Update to version 2.2.4. * Wed Jul 24 2019 Fedora Release Engineering - 2.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Feb 04 2019 Fabio Valentini - 2.2.3-1 - Update to version 2.2.3. * Thu Jan 31 2019 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Fabio Valentini - 2.2.2-1 - Update to version 2.2.2. * Wed Oct 03 2018 Fabio Valentini - 2.2.1-1 - Update to version 2.2.1. * Thu Jul 12 2018 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 14 2018 Fabio Valentini - 0.2.2-2 - Rebuild for granite5 soname bump. * Wed Jun 13 2018 Fabio Valentini - 0.2.2-1 - Initial package renamed from capnet-assist.