]>
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 | |
65a93d15 | 4 | Version: 0.15 |
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 | |
65a93d15 JP |
9 | # Source0-md5: b6dd248c8fdd756b9261fbf3d5081fcf |
10 | Patch0: pkcs8.conf.patch | |
3798a763 JB |
11 | URL: https://git.kernel.org/pub/scm/network/wireless/iwd.git |
12 | BuildRequires: asciidoc | |
6dcfa8d2 JP |
13 | BuildRequires: autoconf >= 2.60 |
14 | BuildRequires: automake | |
3798a763 | 15 | BuildRequires: dbus-devel |
65a93d15 | 16 | BuildRequires: ell-devel >= 0.18 |
6dcfa8d2 | 17 | BuildRequires: libtool >= 2:2.2 |
3798a763 JB |
18 | BuildRequires: pkgconfig |
19 | BuildRequires: readline-devel | |
20 | BuildRequires: tar >= 1:1.22 | |
21 | BuildRequires: xz | |
e7396d76 | 22 | Requires(post,preun,postun): systemd-units >= 38 |
65a93d15 | 23 | Requires: ell >= 0.18 |
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 | |
65a93d15 | 35 | %patch0 -p1 |
3798a763 JB |
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 JB |
46 | --disable-silent-rules \ |
47 | --with-systemd-unitdir=%{systemdunitdir} | |
48 | ||
49 | %{__make} -j1 | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
e7396d76 AM |
53 | |
54 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd | |
55 | cp -p doc/main.conf $RPM_BUILD_ROOT%{_sysconfdir}/iwd/main.conf | |
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 AM |
75 | %dir %{_sysconfdir}/iwd |
76 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/iwd/main.conf | |
3798a763 JB |
77 | %attr(755,root,root) %{_bindir}/iwctl |
78 | %attr(755,root,root) %{_bindir}/iwmon | |
79 | %attr(755,root,root) %{_libexecdir}/iwd | |
80 | %{systemdunitdir}/iwd.service | |
81 | %{_datadir}/dbus-1/system.d/iwd-dbus.conf | |
e7396d76 | 82 | %{_datadir}/dbus-1/system-services/net.connman.iwd.service |
3798a763 | 83 | %{_mandir}/man1/iwmon.1* |
65a93d15 | 84 | /usr/lib/modules-load.d/pkcs8.conf |