btunlock/btunlock.spec

37 lines
964 B
RPMSpec

%define debug %nil
%define debug_package %nil
Name: btunlock
Version: 1.0.1
Release: 1
Summary: Screen lock/unlock with MiBand and other bluetooth watches
URL: https://github.com/odrinari/Linux-screen-lock-with-MiBand-and-other-bluetooth-watches
Source0: %{url}/archive/Btunlock_v%{version}/%{name}-%{version}.tar.gz
License: GPLv3
Group: Development/Other
BuildRequires: qmake5
BuildRequires: %{_lib}qt5gui-devel
BuildRequires: %{_lib}qt5core-devel
BuildRequires: %{_lib}qt5widgets-devel
BuildRequires: pkgconfig(bluez)
%description
This application uses bluetooth and mac address of your MiBand
or other wearable watch to lock or unlock screen of the Linux
operating system when you leave or return to the computer.
%prep
%setup -qn Linux-screen-lock-with-MiBand-and-other-bluetooth-watches-Btunlock_v%{version}
%build
%qmake_qt5
%make
%install
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md COPYING
%{_bindir}/%{name}