3 |
|
|
4 |
Name: motion |
Name: motion |
5 |
Version: 3.2.12 |
Version: 3.2.12 |
6 |
Release: %mkrel 0.20120717git.4 |
Release: %mkrel 0.20120717git.5 |
7 |
#because I screwed up the pre-release tag before :( |
#because I screwed up the pre-release tag before :( |
8 |
Epoch: 1 |
Epoch: 1 |
9 |
Summary: A highly customizable software motion detector |
Summary: A highly customizable software motion detector |
21 |
BuildRequires: postgresql-libs-devel |
BuildRequires: postgresql-libs-devel |
22 |
BuildRequires: linux-userspace-headers |
BuildRequires: linux-userspace-headers |
23 |
|
|
24 |
Requires(post): systemd |
Requires(post): systemd >= %{systemd_required_version} |
25 |
|
|
26 |
|
|
27 |
%description |
%description |
48 |
%__rm -Rf %{buildroot}/%{_datadir}/doc/ |
%__rm -Rf %{buildroot}/%{_datadir}/doc/ |
49 |
|
|
50 |
#systemd compat |
#systemd compat |
51 |
install -D -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf |
install -D -p -m 644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}/%{name}.conf |
52 |
|
|
53 |
|
|
54 |
%post |
%post |
55 |
systemd-tmpfiles --create %{name}.conf ||: |
%_tmpfilescreate %{name} |
56 |
|
|
57 |
|
|
58 |
|
|
62 |
%{_bindir}/motion |
%{_bindir}/motion |
63 |
%{_mandir}/man1/motion.1* |
%{_mandir}/man1/motion.1* |
64 |
%{_datadir}/%{name}-* |
%{_datadir}/%{name}-* |
65 |
%{_prefix}/lib/tmpfiles.d/%{name}.conf |
%{_tmpfilesdir}/%{name}.conf |
66 |
|
|
67 |
|
|
68 |
|
|