-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiwd.spec
90 lines (77 loc) · 2.1 KB
/
iwd.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Summary: iwd - wireless daemon for Linux
Summary(pl.UTF-8): iwd - demon sieci bezprzewodowej dla Linuksa
Name: iwd
Version: 3.4
Release: 1
License: LGPL v2.1+
Group: Networking/Daemons
Source0: https://www.kernel.org/pub/linux/network/wireless/%{name}-%{version}.tar.xz
# Source0-md5: 46f41c7fcc0028b07f3e23e0b2f21d86
URL: https://git.kernel.org/pub/scm/network/wireless/iwd.git
BuildRequires: autoconf >= 2.69
BuildRequires: automake
BuildRequires: dbus-devel
BuildRequires: docutils
BuildRequires: ell-devel >= 0.72
BuildRequires: libtool >= 2:2.2
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: rpmbuild(macros) >= 1.644
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires(post,preun,postun): systemd-units >= 38
Requires: ell >= 0.72
Requires: systemd-units >= 38
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Wireless daemon for Linux.
%description -l pl.UTF-8
Demon sieci bezprzewodowej dla Linuksa.
%prep
%setup -q
%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
--enable-external-ell \
--enable-manual-pages \
--disable-silent-rules \
--with-systemd-modloaddir=/usr/lib/modules-load.d \
--with-systemd-networkdir=/lib/systemd/network \
--with-systemd-unitdir=%{systemdunitdir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}/iwd
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post
%systemd_post iwd.service
%preun
%systemd_preun iwd.service
%postun
%systemd_reload
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README TODO
%dir %{_sysconfdir}/iwd
%attr(755,root,root) %{_bindir}/iwctl
%attr(755,root,root) %{_bindir}/iwmon
%attr(755,root,root) %{_libexecdir}/iwd
/lib/systemd/network/80-iwd.link
%{systemdunitdir}/iwd.service
%{_datadir}/dbus-1/system.d/iwd-dbus.conf
%{_datadir}/dbus-1/system-services/net.connman.iwd.service
%{_mandir}/man1/iwctl.1*
%{_mandir}/man1/iwmon.1*
%{_mandir}/man5/iwd.ap.5*
%{_mandir}/man5/iwd.config.5*
%{_mandir}/man5/iwd.network.5*
%{_mandir}/man7/iwd.debug.7*
%{_mandir}/man8/iwd.8*
/usr/lib/modules-load.d/pkcs8.conf