]> git.pld-linux.org Git - packages/ksmbd-tools.git/blob - ksmbd-tools.spec
d3e7b9da55f9188227b75a4c0dda2df0ef120ab8
[packages/ksmbd-tools.git] / ksmbd-tools.spec
1 #
2 # Conditional build:
3 %bcond_with     kerberos5       # Kerberos 5 support
4
5 Summary:        cifsd kernel server userspace utilities
6 Name:           ksmbd-tools
7 Version:        3.4.2
8 Release:        1
9 License:        GPL v2+
10 Group:          Applications/System
11 Source0:        https://github.com/cifsd-team/ksmbd-tools/releases/download/%{version}/%{name}-%{version}.tgz
12 # Source0-md5:  7c22829d3aa2cf1ee60e284fbda2af4c
13 URL:            https://github.com/cifsd-team/ksmbd-tools
14 BuildRequires:  autoconf >= 2.68
15 BuildRequires:  automake
16 BuildRequires:  glib2-devel
17 %{?with_kerberos5:BuildRequires:        heimdal-devel}
18 BuildRequires:  libnl-devel >= 3.0
19 BuildRequires:  libtool
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(macros) >= 1.527
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 cifsd kernel server userspace utilities.
26
27 %prep
28 %setup -q -n %{name}
29
30 %build
31 %{__libtoolize}
32 %{__aclocal}
33 %{__autoconf}
34 %{__autoheader}
35 %{__automake}
36 %configure \
37         %{__enable_disable kerberos5 krb5} \
38         --disable-silent-rules
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc AUTHORS README smb.conf.example
54 %attr(755,root,root) %{_sbindir}/ksmbd.addshare
55 %attr(755,root,root) %{_sbindir}/ksmbd.adduser
56 %attr(755,root,root) %{_sbindir}/ksmbd.control
57 %attr(755,root,root) %{_sbindir}/ksmbd.mountd
This page took 0.064728 seconds and 2 git commands to generate.