-
Notifications
You must be signed in to change notification settings - Fork 0
/
catlock.spec
53 lines (43 loc) · 1.38 KB
/
catlock.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
%define ver 1.0.1
%define rel 1%{?dist}
Name: catlock
Summary: Lock your computer against cat access
Version: %{ver}
Release: %{rel}
License: BSD-2-Clause
Group: Applications/X11
URL: https://github.com/felfert/catlock
Source0: https://github.com/felfert/catlock/archive/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.10
BuildRequires: gcc-c++ pkg-config xmlto make desktop-file-utils
BuildRequires: libxcb-devel xcb-util-keysyms-devel xcb-util-image-devel
BuildRequires: libX11-devel popt-devel
%description
catlock locks the keyboard and mouse against cats, walking over them.
%prep
%autosetup
%build
%cmake
%make_build
%install
%make_install
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%post
update-desktop-database
%postun
update-desktop-database
%files
%doc CODE_OF_CONDUCT.md LICENSE README.md
%doc %{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog
* Tue Jul 16 2019 Fritz Elfert <[email protected]> - 1.0.1
- Wait for keyrelease before exit (rev.fd9e8834)
- Fix build dependencies (rev.8e3d1868)
- Add packaging for ubuntu and fedora (rev.e82b9f09)
- Add ghrelease target for releasing on github (rev.3ebbad38)
* Sat Jul 06 2019 Fritz Elfert <[email protected]> - 1.0.0
- Initial import (rev.21494358)
- Initial commit (rev.b2451b6a)