-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlivewebcam.spec
34 lines (27 loc) · 846 Bytes
/
livewebcam.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
Name: livewebcam
Version: 0.1.0
Release: 1%{dist}
Summary: LiveWebCam for controlling notifications or lights based on webcam activity.
License: GPLv3
Source0: https://github.com/jboero/livewebcam/archive/refs/heads/main.tar.gz
URL: https://github.com/jboero/livewebcam
Requires: python3-wxpython4
%description
LiveWebCam for controlling notifications or lights based on webcam activity.
%global debug_package %{nil}
%prep
%autosetup -c %{name}-%{version}
%build
%pre
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/livewebcam
cp -p livewebcam %{buildroot}%{_bindir}
cp -p media/webcam.png %{buildroot}%{_datadir}/livewebcam
%files
%{_bindir}/livewebcam
%{_datadir}/livewebcam/webcam.png
%preun
%clean
rm -rf %{buildroot}
%changelog