Search
SailfishOS Open Build Service
>
Projects
>
home:elros34
:
a13
>
crda
> _service:tar_git:crda.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:crda.spec of Package crda
Name: crda Summary: Central regulatory domain agent for 802.11 wireless networking Version: 4.14+git3 Release: 1 Group: System/Networking License: ISC URL: http://wireless.kernel.org/en/developers/Regulatory/ Source0: %{name}-%{version}.tar.bz2 Patch0: 0001-use-python3.patch Requires: udev Requires: iw Requires: wireless-regdb BuildRequires: pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libgcrypt) BuildRequires: python3-base BuildRequires: python-M2Crypto BuildRequires: wireless-regdb %description CRDA acts as the udev helper for communication between the kernel and userspace for regulatory compliance. It relies on nl80211 for communication. CRDA is intended to be run only through udev communication from the kernel. %package devel Summary: Header files for use with libreg. Group: Development/System Requires: %{name} = %{version}-%{release} %description devel Header files to make use of libreg for accessing regulatory info. %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} %description doc Man pages for %{name}. %prep %setup -q -n %{name}-%{version}/crda %patch0 -p0 %build # Drop ldconfig as it breaks the build in OBS. Also we need this only in package install time # which is handled by %post sed -i '/$(Q)ldconfig/d' Makefile PUBKEY_DIR=%{_libdir}/crda/pubkeys/ RUNTIME_PUBKEY_DIR=%{_libdir}/crda/pubkeys/ make %{?_smp_mflags} %install rm -rf %{buildroot} %make_install mkdir -p %{buildroot}%{_docdir}/%{name}-%{version} install -m0644 -t %{buildroot}%{_docdir}/%{name}-%{version} README %post /sbin/ldconfig || : %files %defattr(-,root,root,-) %license LICENSE /lib/udev/rules.d/85-regulatory.rules /sbin/crda /sbin/regdbdump %{_libdir}/libreg.so %files devel %defattr(-,root,root,-) %{_includedir}/reglib/nl80211.h %{_includedir}/reglib/regdb.h %{_includedir}/reglib/reglib.h %files doc %defattr(-,root,root,-) %{_mandir}/man8/%{name}.* %{_mandir}/man8/regdbdump.* %{_docdir}/%{name}-%{version}