]> git.pld-linux.org Git - packages/iwd.git/blob - iwd.spec
up to 0.15
[packages/iwd.git] / iwd.spec
1 Summary:        iwd - wireless daemon for Linux
2 Summary(pl.UTF-8):      iwd - demon sieci bezprzewodowej dla Linuksa
3 Name:           iwd
4 Version:        0.15
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
9 # Source0-md5:  b6dd248c8fdd756b9261fbf3d5081fcf
10 Patch0:         pkcs8.conf.patch
11 URL:            https://git.kernel.org/pub/scm/network/wireless/iwd.git
12 BuildRequires:  asciidoc
13 BuildRequires:  autoconf >= 2.60
14 BuildRequires:  automake
15 BuildRequires:  dbus-devel
16 BuildRequires:  ell-devel >= 0.18
17 BuildRequires:  libtool >= 2:2.2
18 BuildRequires:  pkgconfig
19 BuildRequires:  readline-devel
20 BuildRequires:  tar >= 1:1.22
21 BuildRequires:  xz
22 Requires(post,preun,postun):    systemd-units >= 38
23 Requires:       ell >= 0.18
24 Requires:       systemd-units >= 38
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 %patch0 -p1
36
37 %build
38 %{__libtoolize}
39 %{__aclocal}
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 %configure \
44         --enable-docs \
45         --enable-external-ell \
46         --disable-silent-rules \
47         --with-systemd-unitdir=%{systemdunitdir}
48
49 %{__make} -j1
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd
55 cp -p doc/main.conf $RPM_BUILD_ROOT%{_sysconfdir}/iwd/main.conf
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post
64 %systemd_post iwd.service
65
66 %preun
67 %systemd_preun iwd.service
68
69 %postun
70 %systemd_reload
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog README TODO
75 %dir %{_sysconfdir}/iwd
76 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/iwd/main.conf
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
82 %{_datadir}/dbus-1/system-services/net.connman.iwd.service
83 %{_mandir}/man1/iwmon.1*
84 /usr/lib/modules-load.d/pkcs8.conf
This page took 0.097972 seconds and 3 git commands to generate.