up to 1.18
[packages/iwd.git] / iwd.spec
CommitLineData
3798a763
JB
1Summary: iwd - wireless daemon for Linux
2Summary(pl.UTF-8): iwd - demon sieci bezprzewodowej dla Linuksa
3Name: iwd
6fc7130f 4Version: 1.18
7d0cef6e 5Release: 1
3798a763
JB
6License: LGPL v2.1+
7Group: Networking/Daemons
8Source0: https://www.kernel.org/pub/linux/network/wireless/%{name}-%{version}.tar.xz
6fc7130f 9# Source0-md5: 68588b0019af7aaf35548910ff54e3b4
3798a763 10URL: https://git.kernel.org/pub/scm/network/wireless/iwd.git
6dcfa8d2
JP
11BuildRequires: autoconf >= 2.60
12BuildRequires: automake
3798a763 13BuildRequires: dbus-devel
bb87523f 14BuildRequires: docutils
6fc7130f 15BuildRequires: ell-devel >= 0.44
6dcfa8d2 16BuildRequires: libtool >= 2:2.2
3798a763
JB
17BuildRequires: pkgconfig
18BuildRequires: readline-devel
bb87523f 19BuildRequires: rpmbuild(macros) >= 1.644
3798a763
JB
20BuildRequires: tar >= 1:1.22
21BuildRequires: xz
e7396d76 22Requires(post,preun,postun): systemd-units >= 38
6fc7130f 23Requires: ell >= 0.44
e7396d76 24Requires: systemd-units >= 38
3798a763
JB
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Wireless daemon for Linux.
29
30%description -l pl.UTF-8
31Demon sieci bezprzewodowej dla Linuksa.
32
33%prep
34%setup -q
35
36%build
6dcfa8d2
JP
37%{__libtoolize}
38%{__aclocal}
39%{__autoconf}
40%{__autoheader}
41%{__automake}
3798a763 42%configure \
6dcfa8d2 43 --enable-external-ell \
76220489 44 --enable-manual-pages \
3798a763 45 --disable-silent-rules \
bb87523f
JB
46 --with-systemd-modloaddir=/usr/lib/modules-load.d \
47 --with-systemd-networkdir=/lib/systemd/network \
3798a763
JB
48 --with-systemd-unitdir=%{systemdunitdir}
49
50%{__make} -j1
51
52%install
53rm -rf $RPM_BUILD_ROOT
e7396d76
AM
54
55install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd
3798a763
JB
56
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -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 75%dir %{_sysconfdir}/iwd
3798a763
JB
76%attr(755,root,root) %{_bindir}/iwctl
77%attr(755,root,root) %{_bindir}/iwmon
78%attr(755,root,root) %{_libexecdir}/iwd
3ed1c9ce 79/lib/systemd/network/80-iwd.link
3798a763
JB
80%{systemdunitdir}/iwd.service
81%{_datadir}/dbus-1/system.d/iwd-dbus.conf
e7396d76 82%{_datadir}/dbus-1/system-services/net.connman.iwd.service
27257a9f 83%{_mandir}/man1/iwctl.1*
3798a763 84%{_mandir}/man1/iwmon.1*
c07b8f8c 85%{_mandir}/man5/iwd.ap.5*
3ed1c9ce 86%{_mandir}/man5/iwd.config.5*
7d0cef6e 87%{_mandir}/man5/iwd.network.5*
a31622c8 88%{_mandir}/man7/iwd.debug.7*
27257a9f 89%{_mandir}/man8/iwd.8*
65a93d15 90/usr/lib/modules-load.d/pkcs8.conf
This page took 0.604544 seconds and 4 git commands to generate.