From 170714ec740cd05e86e46740f04ab22ef6e9d9a9 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Wed, 15 Nov 2023 10:30:57 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ btunlock.spec | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .abf.yml create mode 100644 btunlock.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..334ee97 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + btunlock-1.0.1.tar.gz: 48bc02a4f9a289fd09bc1d38bc303b9d885847dd diff --git a/btunlock.spec b/btunlock.spec new file mode 100644 index 0000000..763b12d --- /dev/null +++ b/btunlock.spec @@ -0,0 +1,37 @@ +%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} + +