Import elementary-capnet-assist-2.4.2-1.el9

This commit is contained in:
Sofia Boldyreva 2023-03-15 21:17:22 +01:00
commit 2dfe4e267c
3 changed files with 149 additions and 0 deletions

View File

@ -0,0 +1 @@
767e1192ea8b6d0c65b7e833082e1e50ed3832ea SOURCES/capnet-assist-2.4.2.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/capnet-assist-2.4.2.tar.gz

View File

@ -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 <decathorpe@gmail.com> 2.4.2-1
- Update to version 2.4.2; Fixes RHBZ#2087713
* Wed Mar 02 2022 Fabio Valentini <decathorpe@gmail.com> 2.4.1-1
- Update to version 2.4.1; Fixes RHBZ#2047306
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 2.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Oct 30 2021 Fabio Valentini <decathorpe@gmail.com> 2.4.0-1
- Update to version 2.4.0; Fixes RHBZ#2018633
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 15 2021 Fabio Valentini <decathorpe@gmail.com> 2.3.0-1
- Update to version 2.3.0; Fixes RHBZ#1982327
* Thu Feb 18 2021 Fabio Valentini <decathorpe@gmail.com> - 2.2.5-4.20210211gitd8aa930
- Bump to commit d8aa930. Rebuilt for granite 6 soname bump.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Apr 08 2020 Fabio Valentini <decathorpe@gmail.com> - 2.2.5-1
- Update to version 2.2.5.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 22 2019 Fabio Valentini <decathorpe@gmail.com> - 2.2.4-1
- Update to version 2.2.4.
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Feb 04 2019 Fabio Valentini <decathorpe@gmail.com> - 2.2.3-1
- Update to version 2.2.3.
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Oct 17 2018 Fabio Valentini <decathorpe@gmail.com> - 2.2.2-1
- Update to version 2.2.2.
* Wed Oct 03 2018 Fabio Valentini <decathorpe@gmail.com> - 2.2.1-1
- Update to version 2.2.1.
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 14 2018 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-2
- Rebuild for granite5 soname bump.
* Wed Jun 13 2018 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-1
- Initial package renamed from capnet-assist.