forked from folkertvanheusden/constatus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constatus.spec
98 lines (92 loc) · 2.87 KB
/
constatus.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Name: constatus
Version: 5.0
Release: 0
Summary: Video monitoring and streaming program
License: AL2.0
Source0: %{name}-%{version}.tgz
URL: https://vanheusden.com/constatus/
BuildRequires: libconfig-devel
BuildRequires: fontconfig-devel
BuildRequires: libicu-devel
BuildRequires: turbojpeg-devel
BuildRequires: libpng-devel
BuildRequires: libcurl-devel
BuildRequires: jansson-devel
BuildRequires: boost-devel
BuildRequires: libatomic
BuildRequires: openssl-devel
BuildRequires: libv4l-devel
BuildRequires: netpbm-devel
BuildRequires: exiv2-devel
BuildRequires: frei0r-devel
BuildRequires: pam-devel
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: SDL2-devel
BuildRequires: rygel-devel
BuildRequires: alsa-lib-devel
BuildRequires: ImageMagick-c++-devel
Requires: libconfig
Requires: fontconfig
Requires: libicu
Requires: turbojpeg
Requires: libpng
Requires: libcurl
Requires: jansson
Requires: boost
Requires: libatomic
Requires: openssl
Requires: libv4l
Requires: netpbm
Requires: exiv2
Requires: frei0r
Requires: pam
Requires: gstreamer1
Requires: gstreamer1-plugins-base
Requires: SDL2
Requires: rygel
Requires: alsa-lib
Requires: ImageMagick-c++
%description
Video monitoring and streaming program.
It can detect motion, act on that. It can filter,
merge streams, write to disk, send to v4l2-
loopback, has an internal webserver and plugin
interfaces
%prep
%setup -q -n %{name}-%{version}
%build
%cmake .
%make_build
%install
mkdir -p %{buildroot}/usr/bin/
install -m 755 constatus %{buildroot}/usr/bin/constatus
mkdir -p %{buildroot}/usr/share/constatus/examples
install -m 644 examples/* %{buildroot}/usr/share/constatus/examples
install -m 644 constatus.cfg %{buildroot}/usr/share/constatus/constatus.cfg
install -m 644 LICENSE %{buildroot}/usr/share/constatus/LICENSE
install -m 644 README.md %{buildroot}/usr/share/constatus/README.md
install -m 644 README.rest %{buildroot}/usr/share/constatus/README.rest
install -m 644 stylesheet.css %{buildroot}/usr/share/constatus/stylesheet.css
%files
/usr/bin/constatus
/usr/share/constatus/constatus.cfg
/usr/share/constatus/LICENSE
/usr/share/constatus/README.md
/usr/share/constatus/README.rest
/usr/share/constatus/stylesheet.css
/usr/share/constatus/examples/browser.cfg
/usr/share/constatus/examples/lcdproc-overlay.cfg
/usr/share/constatus/examples/lowres-detection-highres-store.cfg
/usr/share/constatus/examples/mosaic-stream.cfg
/usr/share/constatus/examples/multicast.cfg
/usr/share/constatus/examples/overlay-test.png
/usr/share/constatus/examples/interfacing-to-obs-studio.cfg
/usr/share/constatus/examples/lcdproc-overlay.py
/usr/share/constatus/examples/mjpeg-multiplexer.cfg
/usr/share/constatus/examples/motion-to-avi-file.cfg
/usr/share/constatus/examples/network-trigger.cfg
/usr/share/constatus/examples/README.md
%changelog
* Sun Oct 10 2021 Folkert van Heusden <[email protected]>
-