mirror of
https://abf.rosa.ru/djam/btunlock.git
synced 2025-02-24 01:22:52 +00:00
Imported from SRPM
This commit is contained in:
commit
170714ec74
2 changed files with 39 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
btunlock-1.0.1.tar.gz: 48bc02a4f9a289fd09bc1d38bc303b9d885847dd
|
37
btunlock.spec
Normal file
37
btunlock.spec
Normal file
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue