packages: crda/crda.spec - pl - use optflags - added bcond_without verify -...
qboosh
qboosh at pld-linux.org
Wed Nov 9 18:44:04 CET 2011
Author: qboosh Date: Wed Nov 9 17:44:03 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- pl
- use optflags
- added bcond_without verify
- libnl-devel BR bumped because of nl3 patch
---- Files affected:
packages/crda:
crda.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/crda/crda.spec
diff -u packages/crda/crda.spec:1.9 packages/crda/crda.spec:1.10
--- packages/crda/crda.spec:1.9 Sat Oct 1 21:24:46 2011
+++ packages/crda/crda.spec Wed Nov 9 18:43:58 2011
@@ -1,5 +1,10 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without verify # don't verify database
+#
Summary: udev helper: Central Regulatory Domain Agent
+Summary(pl.UTF-8): Program pomocniczy udev: Central Regulatory Domain Agent
Name: crda
Version: 1.1.2
Release: 2
@@ -8,28 +13,38 @@
Source0: http://linuxwireless.org/download/crda/%{name}-%{version}.tar.bz2
# Source0-md5: 5226f65aebacf94baaf820f8b4e06df4
Patch0: nl3.patch
+URL: http://wireless.kernel.org/en/developers/Regulatory
BuildRequires: libgcrypt-devel
-BuildRequires: libnl-devel >= 1:3.0
+BuildRequires: libnl-devel >= 1:3.2
+BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: python-M2Crypto
-BuildRequires: wireless-regdb
+%{?with_verify:BuildRequires: wireless-regdb}
Requires: udev-core
Requires: wireless-regdb
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
CRDA acts as the udev helper for communication between the kernel and
-userspace for regulatory compliance. It relies on nl80211 for
+userspace for wireless regulatory compliance. It relies on nl80211 for
communication. CRDA is intended to be run only through udev
communication from the kernel. The user should never have to run it
manually except if debugging udev issues.
+%description -l pl.UTF-8
+CRDA działa jako program pomocniczy udev do komunikacji między jądrem
+a przestrzenią użytkownika w celu zgodności łączności bezprzewodowej z
+przepisami. Na potrzeby komunikacji polega na nl80211. CRDA jest
+przeznaczone do uruchamiania wyłącznie poprzez udev. Użytkownik nigdy
+nie powinien wywoływać go ręcznie, chyba że w celach diagnostyki udev.
+
%prep
%setup -q
%patch0 -p1
%build
-%{__make} \
+CFLAGS="%{rpmcflags} %{rpmcppflags}" \
+%{__make} %{!?with_verify:all_noverify} \
V=1 \
CC="%{__cc}" \
REG_BIN=%{_datadir}/crda/regulatory.bin
@@ -45,10 +60,11 @@
%files
%defattr(644,root,root,755)
-%doc README
+%doc LICENSE README
%attr(755,root,root) /sbin/crda
%attr(755,root,root) /sbin/regdbdump
-%{_mandir}/man8/*
+%{_mandir}/man8/crda.8*
+%{_mandir}/man8/regdbdump.8*
/lib/udev/rules.d/85-regulatory.rules
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -57,6 +73,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2011/11/09 17:43:58 qboosh
+- pl
+- use optflags
+- added bcond_without verify
+- libnl-devel BR bumped because of nl3 patch
+
Revision 1.9 2011/10/01 19:24:46 wiget
- fix build (nl3.patch)
- rel. 2
@@ -85,5 +107,3 @@
Revision 1.1 2009/03/24 20:40:22 arekm
- new
-
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crda/crda.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list