File nmcli-rofi.spec of Package nmcli-rofi
#
# spec file for package nmcli-rofi
#
# Copyright (c) 2023 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: nmcli-rofi
Version: 0.0.0.git~cb46668
Release: 0
Summary: A simple manager for network connections using rofi and nmcli
License: MIT
URL: https://github.com/sineto/nmcli-rofi
Source: %{name}-%{version}.tar.xz
Patch0: 0001-fix_paths.patch
Patch1: 0002-Fixed-path-for-iwgetid.patch
BuildArch: noarch
Requires: wireless-tools
%description
A simple manager for network connections using rofi and nmcli. Strongly inspired/based on rofi-wifi-menu. Most of the code (I would say all code) was copied from the original creator. I've only refactored the code to improve performance and easily add new features.
%prep
%autosetup -p1
%build
# Nothing to Build
%install
install -Dm 755 nmcli-rofi %{buildroot}%{_bindir}/%{name}
install -d %{buildroot}%{_sysconfdir}/%{name}
install -Dm 644 config %{buildroot}%{_sysconfdir}/%{name}/config
%files
%license LICENSE
%doc README.md
%dir %{_sysconfdir}/%{name}
%{_bindir}/%{name}
%config %{_sysconfdir}/%{name}/config
%changelog