]>
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 | |
417c51ae | 4 | Version: 1.4 |
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 | |
417c51ae | 9 | # Source0-md5: 4c84de4d01254102f4099fb5d57e3138 |
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 |
47edcdff | 15 | BuildRequires: ell-devel >= 0.27 |
6dcfa8d2 | 16 | BuildRequires: libtool >= 2:2.2 |
3798a763 JB |
17 | BuildRequires: pkgconfig |
18 | BuildRequires: readline-devel | |
19 | BuildRequires: tar >= 1:1.22 | |
20 | BuildRequires: xz | |
e7396d76 | 21 | Requires(post,preun,postun): systemd-units >= 38 |
47edcdff | 22 | Requires: ell >= 0.27 |
e7396d76 | 23 | Requires: systemd-units >= 38 |
3798a763 JB |
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 | |
6dcfa8d2 JP |
36 | %{__libtoolize} |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
3798a763 JB |
41 | %configure \ |
42 | --enable-docs \ | |
6dcfa8d2 | 43 | --enable-external-ell \ |
3798a763 JB |
44 | --disable-silent-rules \ |
45 | --with-systemd-unitdir=%{systemdunitdir} | |
46 | ||
47 | %{__make} -j1 | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
e7396d76 AM |
51 | |
52 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd | |
3798a763 JB |
53 | |
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
e7396d76 AM |
60 | %post |
61 | %systemd_post iwd.service | |
62 | ||
63 | %preun | |
64 | %systemd_preun iwd.service | |
65 | ||
66 | %postun | |
67 | %systemd_reload | |
68 | ||
3798a763 JB |
69 | %files |
70 | %defattr(644,root,root,755) | |
71 | %doc AUTHORS ChangeLog README TODO | |
e7396d76 | 72 | %dir %{_sysconfdir}/iwd |
3798a763 JB |
73 | %attr(755,root,root) %{_bindir}/iwctl |
74 | %attr(755,root,root) %{_bindir}/iwmon | |
75 | %attr(755,root,root) %{_libexecdir}/iwd | |
3ed1c9ce | 76 | /lib/systemd/network/80-iwd.link |
3798a763 JB |
77 | %{systemdunitdir}/iwd.service |
78 | %{_datadir}/dbus-1/system.d/iwd-dbus.conf | |
e7396d76 | 79 | %{_datadir}/dbus-1/system-services/net.connman.iwd.service |
27257a9f | 80 | %{_mandir}/man1/iwctl.1* |
3798a763 | 81 | %{_mandir}/man1/iwmon.1* |
3ed1c9ce | 82 | %{_mandir}/man5/iwd.config.5* |
7d0cef6e | 83 | %{_mandir}/man5/iwd.network.5* |
a31622c8 | 84 | %{_mandir}/man7/iwd.debug.7* |
27257a9f | 85 | %{_mandir}/man8/iwd.8* |
65a93d15 | 86 | /usr/lib/modules-load.d/pkcs8.conf |