52273a15c5ee04fc91912b2303541ee665b64200
[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:        1.17
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:  65a0169094d1b3dc919554494b5a6476
10 URL:            https://git.kernel.org/pub/scm/network/wireless/iwd.git
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  dbus-devel
14 BuildRequires:  docutils
15 BuildRequires:  ell-devel >= 0.43
16 BuildRequires:  libtool >= 2:2.2
17 BuildRequires:  pkgconfig
18 BuildRequires:  readline-devel
19 BuildRequires:  rpmbuild(macros) >= 1.644
20 BuildRequires:  tar >= 1:1.22
21 BuildRequires:  xz
22 Requires(post,preun,postun):    systemd-units >= 38
23 Requires:       ell >= 0.43
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
36 %build
37 %{__libtoolize}
38 %{__aclocal}
39 %{__autoconf}
40 %{__autoheader}
41 %{__automake}
42 %configure \
43         --enable-external-ell \
44         --enable-manual-pages \
45         --disable-silent-rules \
46         --with-systemd-modloaddir=/usr/lib/modules-load.d \
47         --with-systemd-networkdir=/lib/systemd/network \
48         --with-systemd-unitdir=%{systemdunitdir}
49
50 %{__make} -j1
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd
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(755,root,root) %{_bindir}/iwctl
77 %attr(755,root,root) %{_bindir}/iwmon
78 %attr(755,root,root) %{_libexecdir}/iwd
79 /lib/systemd/network/80-iwd.link
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/iwctl.1*
84 %{_mandir}/man1/iwmon.1*
85 %{_mandir}/man5/iwd.ap.5*
86 %{_mandir}/man5/iwd.config.5*
87 %{_mandir}/man5/iwd.network.5*
88 %{_mandir}/man7/iwd.debug.7*
89 %{_mandir}/man8/iwd.8*
90 /usr/lib/modules-load.d/pkcs8.conf
This page took 0.071072 seconds and 2 git commands to generate.