forked from namjaejeon/ksmbd-tools
-
Notifications
You must be signed in to change notification settings - Fork 27
/
ksmbd-tools.spec
66 lines (57 loc) · 1.83 KB
/
ksmbd-tools.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
#
# spec file for package ksmbd-tools
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ksmbd-tools
Version: master
Release: 0
Summary: ksmbd kernel server userspace utilities
License: GPL-2.0-or-later
Group: System/Filesystems
Url: https://github.com/cifsd-team/ksmbd-tools
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: glib2-devel
BuildRequires: libnl3-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: systemd-rpm-macros
Requires(pre): kernel-default >= 5.15
Requires(pre): systemd >= 245
%description
Collection of userspace utilities for the ksmbd kernel server.
%prep
%setup -q
%build
./autogen.sh
%configure --with-systemdsystemunitdir=%{_unitdir}
make %{?_smp_mflags}
%install
%make_install
%files
%{_sbindir}/ksmbd.addshare
%{_sbindir}/ksmbd.adduser
%{_sbindir}/ksmbd.control
%{_sbindir}/ksmbd.mountd
%{_libexecdir}/ksmbd.tools
%{_mandir}/man8/ksmbd.addshare.8*
%{_mandir}/man8/ksmbd.adduser.8*
%{_mandir}/man8/ksmbd.control.8*
%{_mandir}/man8/ksmbd.mountd.8*
%{_mandir}/man5/ksmbd.conf.5*
%{_mandir}/man5/ksmbdpwd.db.5*
%{_sysconfdir}/ksmbd/ksmbd.conf.example
%{_unitdir}/ksmbd.service
%changelog