]> git.pld-linux.org Git - packages/daemon.git/blame - daemon.spec
- disable stripping
[packages/daemon.git] / daemon.spec
CommitLineData
d0eb21c5
JB
1#
2# Conditional build
3%bcond_without systemd # systemd-logind support
4%bcond_with elogind # elogind support
5
fdf586b6 6Summary: Daemon turns other process into daemons
eb55d9c9 7Summary(pl.UTF-8): Daemon - zamiana innych procesów w demony
3f105377 8Name: daemon
d0eb21c5 9Version: 0.8.4
3f105377 10Release: 1
c1575889 11License: GPL v2
3f105377 12Group: Daemons
d0eb21c5
JB
13#Source0Download: https://libslack.org/daemon/#download
14Source0: https://libslack.org/daemon/download/%{name}-%{version}.tar.gz
15# Source0-md5: 871ff0cc66b1eafbb17965b5ec164509
16URL: https://libslack.org/daemon/
17%{?with_elogind:BuildRequires: elogind-devel}
fda56149 18BuildRequires: perl-tools-pod
d0eb21c5 19%{?with_systemd:BuildRequires: systemd-devel >= 1:209}
3f105377
JK
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
fdf586b6
JB
23Daemon turns other process into daemons. There are many tasks that
24need to be performed to correctly set up a daemon process. This can be
d3fe8743 25tedious. Daemon performs these tasks for other processes.
fdf586b6 26
e747e402
JR
27%description -l pl.UTF-8
28Daemon zamienia inne procesy w demony. Jest wiele zadań, które trzeba
29wykonać, aby poprawnie uruchomić demona. Może to być męczące. Daemon
30wykonuje te zadania dla innych procesów.
3f105377
JK
31
32%prep
33%setup -q
34
35%build
d0eb21c5
JB
36# not autoconf configure
37CC="%{__cc}" \
38./configure \
39 --destdir=$RPM_BUILD_ROOT \
40 --prefix=%{_prefix} \
41%if %{with elogind} || %{with systemd}
42 --enable-logind \
43%endif
44 --disable-mail-test
45
fdf586b6
JB
46%{__make} \
47 CC="%{__cc}" \
d0eb21c5 48 CCFLAGS="%{rpmcflags} -Wall -pedantic" \
fdf586b6 49 APP_INSDIR="%{_sbindir}"
3f105377
JK
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
d0eb21c5 55 APP_INSDIR=%{_sbindir} \
b76baa55 56 DEB_BUILD_OPTIONS=nostrip \
d0eb21c5 57 MAN_GZIP=0
3f105377
JK
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
d0eb21c5 64%doc CHANGELOG README.md REFERENCES
57ff6a3b
JB
65%attr(755,root,root) %{_sbindir}/daemon
66%{_mandir}/man1/daemon.1*
d0eb21c5 67%{_mandir}/man5/daemon.conf.5*
This page took 0.124569 seconds and 4 git commands to generate.