]> git.pld-linux.org Git - packages/iwd.git/blame - iwd.spec
up to 0.15
[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
65a93d15 4Version: 0.15
3798a763
JB
5Release: 1
6License: LGPL v2.1+
7Group: Networking/Daemons
8Source0: https://www.kernel.org/pub/linux/network/wireless/%{name}-%{version}.tar.xz
65a93d15
JP
9# Source0-md5: b6dd248c8fdd756b9261fbf3d5081fcf
10Patch0: pkcs8.conf.patch
3798a763
JB
11URL: https://git.kernel.org/pub/scm/network/wireless/iwd.git
12BuildRequires: asciidoc
6dcfa8d2
JP
13BuildRequires: autoconf >= 2.60
14BuildRequires: automake
3798a763 15BuildRequires: dbus-devel
65a93d15 16BuildRequires: ell-devel >= 0.18
6dcfa8d2 17BuildRequires: libtool >= 2:2.2
3798a763
JB
18BuildRequires: pkgconfig
19BuildRequires: readline-devel
20BuildRequires: tar >= 1:1.22
21BuildRequires: xz
e7396d76 22Requires(post,preun,postun): systemd-units >= 38
65a93d15 23Requires: ell >= 0.18
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
65a93d15 35%patch0 -p1
3798a763
JB
36
37%build
6dcfa8d2
JP
38%{__libtoolize}
39%{__aclocal}
40%{__autoconf}
41%{__autoheader}
42%{__automake}
3798a763
JB
43%configure \
44 --enable-docs \
6dcfa8d2 45 --enable-external-ell \
3798a763
JB
46 --disable-silent-rules \
47 --with-systemd-unitdir=%{systemdunitdir}
48
49%{__make} -j1
50
51%install
52rm -rf $RPM_BUILD_ROOT
e7396d76
AM
53
54install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd
55cp -p doc/main.conf $RPM_BUILD_ROOT%{_sysconfdir}/iwd/main.conf
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
AM
75%dir %{_sysconfdir}/iwd
76%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/iwd/main.conf
3798a763
JB
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
e7396d76 82%{_datadir}/dbus-1/system-services/net.connman.iwd.service
3798a763 83%{_mandir}/man1/iwmon.1*
65a93d15 84/usr/lib/modules-load.d/pkcs8.conf
This page took 0.296357 seconds and 4 git commands to generate.