File connman-gtk.spec of Package connman-gtk
#
# spec file for package connman-gtk
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: connman-gtk
Version: 1.1.1
Release: 0
Summary: GTK GUI for ConnMan
License: GPL-2.0-or-later
Group: System/Management
URL: https://github.com/jgke/connman-gtk
Source0: https://github.com/jgke/connman-gtk/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: automake
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.10
BuildRequires: pkgconfig(openconnect) >= 5.99
Recommends: connman
%description
GTK GUI for ConnMan
%prep
%autosetup -p1
%build
sh autogen.sh
%configure --with-openconnect --enable-status-icon
%make_build
%install
%make_install
%files
%license COPYING
%doc README.md CHANGELOG.md
%{_bindir}/connman-gtk
%{_datadir}/applications/connman-gtk.desktop
%{_datadir}/glib-2.0/schemas/net.connman.gtk.gschema.xml
%{_datadir}/locale/*/LC_MESSAGES/connman-gtk.mo
%{_mandir}/man1/connman-gtk.1%{?ext_man}
%changelog