]> git.pld-linux.org Git - packages/iwd.git/blob - iwd.spec
upstream fix for buffer overflow; rel 2
[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:        2.2
5 Release:        2
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:  2dbe822e77efa0f4a98435eb51e0236f
10 Patch0:         buf-overflow.patch
11 URL:            https://git.kernel.org/pub/scm/network/wireless/iwd.git
12 BuildRequires:  autoconf >= 2.69
13 BuildRequires:  automake
14 BuildRequires:  dbus-devel
15 BuildRequires:  docutils
16 BuildRequires:  ell-devel >= 0.56
17 BuildRequires:  libtool >= 2:2.2
18 BuildRequires:  pkgconfig
19 BuildRequires:  readline-devel
20 BuildRequires:  rpmbuild(macros) >= 1.644
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xz
23 Requires(post,preun,postun):    systemd-units >= 38
24 Requires:       ell >= 0.56
25 Requires:       systemd-units >= 38
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Wireless daemon for Linux.
30
31 %description -l pl.UTF-8
32 Demon sieci bezprzewodowej dla Linuksa.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__libtoolize}
40 %{__aclocal}
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure \
45         --enable-external-ell \
46         --enable-manual-pages \
47         --disable-silent-rules \
48         --with-systemd-modloaddir=/usr/lib/modules-load.d \
49         --with-systemd-networkdir=/lib/systemd/network \
50         --with-systemd-unitdir=%{systemdunitdir}
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %systemd_post iwd.service
67
68 %preun
69 %systemd_preun iwd.service
70
71 %postun
72 %systemd_reload
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog README TODO
77 %dir %{_sysconfdir}/iwd
78 %attr(755,root,root) %{_bindir}/iwctl
79 %attr(755,root,root) %{_bindir}/iwmon
80 %attr(755,root,root) %{_libexecdir}/iwd
81 /lib/systemd/network/80-iwd.link
82 %{systemdunitdir}/iwd.service
83 %{_datadir}/dbus-1/system.d/iwd-dbus.conf
84 %{_datadir}/dbus-1/system-services/net.connman.iwd.service
85 %{_mandir}/man1/iwctl.1*
86 %{_mandir}/man1/iwmon.1*
87 %{_mandir}/man5/iwd.ap.5*
88 %{_mandir}/man5/iwd.config.5*
89 %{_mandir}/man5/iwd.network.5*
90 %{_mandir}/man7/iwd.debug.7*
91 %{_mandir}/man8/iwd.8*
92 /usr/lib/modules-load.d/pkcs8.conf
This page took 0.101297 seconds and 3 git commands to generate.