]> git.pld-linux.org Git - packages/iwd.git/blob - iwd.spec
up to 0.16
[packages/iwd.git] / iwd.spec
1 Summary:        iwd - wireless daemon for Linux
2 Summary(pl.UTF-8):      iwd - demon sieci bezprzewodowej dla Linuksa
3 Name:           iwd
4 Version:        0.16
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Networking/Daemons
8 Source0:        https://www.kernel.org/pub/linux/network/wireless/%{name}-%{version}.tar.xz
9 # Source0-md5:  532e26c686bb0438add7fe3343bc3e1d
10 URL:            https://git.kernel.org/pub/scm/network/wireless/iwd.git
11 BuildRequires:  asciidoc
12 BuildRequires:  autoconf >= 2.60
13 BuildRequires:  automake
14 BuildRequires:  dbus-devel
15 BuildRequires:  ell-devel >= 0.18
16 BuildRequires:  libtool >= 2:2.2
17 BuildRequires:  pkgconfig
18 BuildRequires:  readline-devel
19 BuildRequires:  tar >= 1:1.22
20 BuildRequires:  xz
21 Requires(post,preun,postun):    systemd-units >= 38
22 Requires:       ell >= 0.18
23 Requires:       systemd-units >= 38
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Wireless daemon for Linux.
28
29 %description -l pl.UTF-8
30 Demon sieci bezprzewodowej dla Linuksa.
31
32 %prep
33 %setup -q
34
35 %build
36 %{__libtoolize}
37 %{__aclocal}
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure \
42         --enable-docs \
43         --enable-external-ell \
44         --disable-silent-rules \
45         --with-systemd-unitdir=%{systemdunitdir}
46
47 %{__make} -j1
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd
53 cp -p doc/main.conf $RPM_BUILD_ROOT%{_sysconfdir}/iwd/main.conf
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post
62 %systemd_post iwd.service
63
64 %preun
65 %systemd_preun iwd.service
66
67 %postun
68 %systemd_reload
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog README TODO
73 %dir %{_sysconfdir}/iwd
74 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/iwd/main.conf
75 %attr(755,root,root) %{_bindir}/iwctl
76 %attr(755,root,root) %{_bindir}/iwmon
77 %attr(755,root,root) %{_libexecdir}/iwd
78 %{systemdunitdir}/iwd.service
79 %{_datadir}/dbus-1/system.d/iwd-dbus.conf
80 %{_datadir}/dbus-1/system-services/net.connman.iwd.service
81 %{_mandir}/man1/iwmon.1*
82 /usr/lib/modules-load.d/pkcs8.conf
This page took 0.044156 seconds and 4 git commands to generate.