diff options
| author | Lyes Saadi <mail@lyes.eu> | 2020-01-01 13:18:46 +0000 |
|---|---|---|
| committer | Lyes Saadi <mail@lyes.eu> | 2020-01-01 13:18:46 +0000 |
| commit | 9e238349c46fb9d075331ba243bf47238539e95c (patch) | |
| tree | 065ae7b98c3b0dd2583a3c5c58cc37e7b2e020a8 /easywifi | |
| parent | 5fb84a841f5af684e60f9dab5874b3725e10a95b (diff) | |
| download | spec-9e238349c46fb9d075331ba243bf47238539e95c.tar.gz spec-9e238349c46fb9d075331ba243bf47238539e95c.tar.xz spec-9e238349c46fb9d075331ba243bf47238539e95c.zip | |
Adding easywifi.
Diffstat (limited to 'easywifi')
| -rw-r--r-- | easywifi/easywifi.spec | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/easywifi/easywifi.spec b/easywifi/easywifi.spec new file mode 100644 index 0000000..5257cab --- /dev/null +++ b/easywifi/easywifi.spec @@ -0,0 +1,49 @@ +%global commit a124e4a60e5b0789bf97ec5a7f478e091e4a1b8b +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: easywifi +Version: 0 +Release: 1.%(date +%%Y%%m%%d)git%{shortcommit}%{?dist} +Summary: The easiest way to add WiFi networks on linux + +License: MIT +URL: https://github.com/NoahCristino/easywifi/ +Source0: https://github.com/NoahCristino/easywifi/archive/%{commit}/%{name}-%{shortcommit}.tar.gz + +BuildArch: noarch + +Requires: nmcli +Requires: python3 + +Recommends: dnsmasq + +%description +easywifi speeds up the time it takes to add new WiFi connections and +to switch between them, using nmcli. + +Features: +* Scan for WiFi networks +* List network devices +* List saved network profiles +* Connect to saved networks +* Setup new networks +* Creation of hotspots + +%prep +%setup -qn %{name}-%{commit} +sed -i "1i#!/usr/bin/python3" easywifi.py +mv easywifi.py easywifi + +%build + +%install +install -Dpm 0755 -t %{buildroot}%{_sbindir}/ easywifi + +%files +%{_sbindir}/%{name} +%license LICENSE +%doc README.md + +%changelog +* Wed Jan 1 2020 Lyes Saadi <fedora@lyes.eu> - 0-1.20200101gita124e4a +- Initial package. |
