commit 2dfe4e267cc0fe1e1324c0f0eaeabc91764b734f Author: Sofia Boldyreva Date: Wed Mar 15 21:17:22 2023 +0100 Import elementary-capnet-assist-2.4.2-1.el9 diff --git a/.elementary-capnet-assist.metadata b/.elementary-capnet-assist.metadata new file mode 100644 index 0000000..c1dd8bb --- /dev/null +++ b/.elementary-capnet-assist.metadata @@ -0,0 +1 @@ +767e1192ea8b6d0c65b7e833082e1e50ed3832ea SOURCES/capnet-assist-2.4.2.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d25b32f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/capnet-assist-2.4.2.tar.gz diff --git a/SPECS/elementary-capnet-assist.spec b/SPECS/elementary-capnet-assist.spec new file mode 100644 index 0000000..ea7bd9a --- /dev/null +++ b/SPECS/elementary-capnet-assist.spec @@ -0,0 +1,147 @@ +## 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. +