up to 1.4
[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:        1.4
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:  4c84de4d01254102f4099fb5d57e3138
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.27
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.27
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
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post
61 %systemd_post iwd.service
62
63 %preun
64 %systemd_preun iwd.service
65
66 %postun
67 %systemd_reload
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog README TODO
72 %dir %{_sysconfdir}/iwd
73 %attr(755,root,root) %{_bindir}/iwctl
74 %attr(755,root,root) %{_bindir}/iwmon
75 %attr(755,root,root) %{_libexecdir}/iwd
76 /lib/systemd/network/80-iwd.link
77 %{systemdunitdir}/iwd.service
78 %{_datadir}/dbus-1/system.d/iwd-dbus.conf
79 %{_datadir}/dbus-1/system-services/net.connman.iwd.service
80 %{_mandir}/man1/iwctl.1*
81 %{_mandir}/man1/iwmon.1*
82 %{_mandir}/man5/iwd.config.5*
83 %{_mandir}/man5/iwd.network.5*
84 %{_mandir}/man7/iwd.debug.7*
85 %{_mandir}/man8/iwd.8*
86 /usr/lib/modules-load.d/pkcs8.conf
This page took 0.129882 seconds and 3 git commands to generate.