]> git.pld-linux.org Git - packages/iwd.git/blame - iwd.spec
- up to 0.6
[packages/iwd.git] / iwd.spec
CommitLineData
3798a763
JB
1# TODO: system ell
2Summary: iwd - wireless daemon for Linux
3Summary(pl.UTF-8): iwd - demon sieci bezprzewodowej dla Linuksa
4Name: iwd
e7396d76 5Version: 0.6
3798a763
JB
6Release: 1
7License: LGPL v2.1+
8Group: Networking/Daemons
9Source0: https://www.kernel.org/pub/linux/network/wireless/%{name}-%{version}.tar.xz
e7396d76 10# Source0-md5: 3ea486d242749b84b1f6aa05d1e3d81f
3798a763
JB
11URL: https://git.kernel.org/pub/scm/network/wireless/iwd.git
12BuildRequires: asciidoc
13BuildRequires: dbus-devel
14BuildRequires: pkgconfig
15BuildRequires: readline-devel
16BuildRequires: tar >= 1:1.22
17BuildRequires: xz
e7396d76
AM
18Requires(post,preun,postun): systemd-units >= 38
19Requires: systemd-units >= 38
3798a763
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Wireless daemon for Linux.
24
25%description -l pl.UTF-8
26Demon sieci bezprzewodowej dla Linuksa.
27
28%prep
29%setup -q
30
31%build
32%configure \
33 --enable-docs \
34 --disable-silent-rules \
35 --with-systemd-unitdir=%{systemdunitdir}
36
37%{__make} -j1
38
39%install
40rm -rf $RPM_BUILD_ROOT
e7396d76
AM
41
42install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd
43cp -p doc/main.conf $RPM_BUILD_ROOT%{_sysconfdir}/iwd/main.conf
3798a763
JB
44
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
e7396d76
AM
51%post
52%systemd_post iwd.service
53
54%preun
55%systemd_preun iwd.service
56
57%postun
58%systemd_reload
59
3798a763
JB
60%files
61%defattr(644,root,root,755)
62%doc AUTHORS ChangeLog README TODO
e7396d76
AM
63%dir %{_sysconfdir}/iwd
64%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/iwd/main.conf
3798a763
JB
65%attr(755,root,root) %{_bindir}/iwctl
66%attr(755,root,root) %{_bindir}/iwmon
67%attr(755,root,root) %{_libexecdir}/iwd
68%{systemdunitdir}/iwd.service
69%{_datadir}/dbus-1/system.d/iwd-dbus.conf
e7396d76 70%{_datadir}/dbus-1/system-services/net.connman.iwd.service
3798a763 71%{_mandir}/man1/iwmon.1*
This page took 0.174174 seconds and 4 git commands to generate.