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