]>
Commit | Line | Data |
---|---|---|
3798a763 JB |
1 | Summary: iwd - wireless daemon for Linux |
2 | Summary(pl.UTF-8): iwd - demon sieci bezprzewodowej dla Linuksa | |
3 | Name: iwd | |
8da5a6f8 | 4 | Version: 1.11 |
7d0cef6e | 5 | Release: 1 |
3798a763 JB |
6 | License: LGPL v2.1+ |
7 | Group: Networking/Daemons | |
8 | Source0: https://www.kernel.org/pub/linux/network/wireless/%{name}-%{version}.tar.xz | |
8da5a6f8 | 9 | # Source0-md5: 53816b87c91457bce44dfee6a1518b1b |
3798a763 JB |
10 | URL: https://git.kernel.org/pub/scm/network/wireless/iwd.git |
11 | BuildRequires: asciidoc | |
6dcfa8d2 JP |
12 | BuildRequires: autoconf >= 2.60 |
13 | BuildRequires: automake | |
3798a763 | 14 | BuildRequires: dbus-devel |
bb87523f | 15 | BuildRequires: docutils |
8da5a6f8 | 16 | BuildRequires: ell-devel >= 0.36 |
6dcfa8d2 | 17 | BuildRequires: libtool >= 2:2.2 |
3798a763 JB |
18 | BuildRequires: pkgconfig |
19 | BuildRequires: readline-devel | |
bb87523f | 20 | BuildRequires: rpmbuild(macros) >= 1.644 |
3798a763 JB |
21 | BuildRequires: tar >= 1:1.22 |
22 | BuildRequires: xz | |
e7396d76 | 23 | Requires(post,preun,postun): systemd-units >= 38 |
8da5a6f8 | 24 | Requires: ell >= 0.36 |
e7396d76 | 25 | Requires: systemd-units >= 38 |
3798a763 JB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | Wireless daemon for Linux. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Demon sieci bezprzewodowej dla Linuksa. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
6dcfa8d2 JP |
38 | %{__libtoolize} |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
3798a763 JB |
43 | %configure \ |
44 | --enable-docs \ | |
6dcfa8d2 | 45 | --enable-external-ell \ |
3798a763 | 46 | --disable-silent-rules \ |
bb87523f JB |
47 | --with-systemd-modloaddir=/usr/lib/modules-load.d \ |
48 | --with-systemd-networkdir=/lib/systemd/network \ | |
3798a763 JB |
49 | --with-systemd-unitdir=%{systemdunitdir} |
50 | ||
51 | %{__make} -j1 | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
e7396d76 AM |
55 | |
56 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd | |
3798a763 JB |
57 | |
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
e7396d76 AM |
64 | %post |
65 | %systemd_post iwd.service | |
66 | ||
67 | %preun | |
68 | %systemd_preun iwd.service | |
69 | ||
70 | %postun | |
71 | %systemd_reload | |
72 | ||
3798a763 JB |
73 | %files |
74 | %defattr(644,root,root,755) | |
75 | %doc AUTHORS ChangeLog README TODO | |
e7396d76 | 76 | %dir %{_sysconfdir}/iwd |
3798a763 JB |
77 | %attr(755,root,root) %{_bindir}/iwctl |
78 | %attr(755,root,root) %{_bindir}/iwmon | |
79 | %attr(755,root,root) %{_libexecdir}/iwd | |
3ed1c9ce | 80 | /lib/systemd/network/80-iwd.link |
3798a763 JB |
81 | %{systemdunitdir}/iwd.service |
82 | %{_datadir}/dbus-1/system.d/iwd-dbus.conf | |
e7396d76 | 83 | %{_datadir}/dbus-1/system-services/net.connman.iwd.service |
27257a9f | 84 | %{_mandir}/man1/iwctl.1* |
3798a763 | 85 | %{_mandir}/man1/iwmon.1* |
c07b8f8c | 86 | %{_mandir}/man5/iwd.ap.5* |
3ed1c9ce | 87 | %{_mandir}/man5/iwd.config.5* |
7d0cef6e | 88 | %{_mandir}/man5/iwd.network.5* |
a31622c8 | 89 | %{_mandir}/man7/iwd.debug.7* |
27257a9f | 90 | %{_mandir}/man8/iwd.8* |
65a93d15 | 91 | /usr/lib/modules-load.d/pkcs8.conf |