]>
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 | |
60d677fb | 4 | Version: 0.19 |
3798a763 JB |
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 | |
60d677fb | 9 | # Source0-md5: 071c373dc528d50dd4d3ed5166cc0957 |
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 |
60d677fb | 15 | BuildRequires: ell-devel >= 0.21 |
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 |
60d677fb | 22 | Requires: ell >= 0.21 |
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 | |
53 | cp -p doc/main.conf $RPM_BUILD_ROOT%{_sysconfdir}/iwd/main.conf | |
3798a763 JB |
54 | |
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
e7396d76 AM |
61 | %post |
62 | %systemd_post iwd.service | |
63 | ||
64 | %preun | |
65 | %systemd_preun iwd.service | |
66 | ||
67 | %postun | |
68 | %systemd_reload | |
69 | ||
3798a763 JB |
70 | %files |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS ChangeLog README TODO | |
e7396d76 AM |
73 | %dir %{_sysconfdir}/iwd |
74 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/iwd/main.conf | |
3798a763 JB |
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 | |
e7396d76 | 80 | %{_datadir}/dbus-1/system-services/net.connman.iwd.service |
3798a763 | 81 | %{_mandir}/man1/iwmon.1* |
65a93d15 | 82 | /usr/lib/modules-load.d/pkcs8.conf |