[packages/neard] - initial; needs upcoming Linux 3.6 or so

qboosh qboosh at pld-linux.org
Sun Sep 2 09:25:33 CEST 2012


commit 41bf3a76291d75d9f46c4f449dd6146b81a19e54
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 2 09:25:40 2012 +0200

    - initial; needs upcoming Linux 3.6 or so

 neard.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)
---
diff --git a/neard.spec b/neard.spec
new file mode 100644
index 0000000..d1fc189
--- /dev/null
+++ b/neard.spec
@@ -0,0 +1,88 @@
+Summary:	Near Field Communication manager
+Summary(pl.UTF-8):	Zarządca połączeń NFC (Near Field Communication)
+Name:		neard
+Version:	0.6
+Release:	0.1
+License:	GPL v2
+Group:		Networking/Daemons
+Source0:	http://www.kernel.org/pub/linux/network/nfc/%{name}-%{version}.tar.xz
+# Source0-md5:	002d9dc3bde23916a17a276537c57a35
+URL:		https://01.org/linux-nfc
+BuildRequires:	dbus-devel >= 1.2
+BuildRequires:	glib2-devel >= 1:2.28
+BuildRequires:	libnl-devel >= 3.2
+BuildRequires:	linux-libc-headers >= 7:3.6
+BuildRequires:	pkgconfig
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires:	dbus >= 1.2
+Requires:	glib2 >= 1:2.28
+Requires:	libnl >= 3.2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+neard is NFC user space stack running on top of the Linux kernel NFC
+subsystem.
+
+NFC (Near Field Communication) is a short-range (a few
+inches/centimeters) radio technology that enables communication
+between devices that either touch or are momentarily held close
+together. NFC is an open technology standardized by the NFC Forum. It
+is based on RFID.
+
+%description -l pl.UTF-8
+neard to stos NFC działający w przestrzeni użytkownika w oparciu o
+podsystem NFC jądra Linuksa.
+
+NFC (Near Field Communication - komunikacja bliskiego zasięgu) to
+krótkozasięgowa (kilka cali/centymetrów) technologia radiowa,
+pozwalająca na komunikację między urządzeniami stykającymi się lub
+chwilowo trzymanymi obok siebie. NFC to technologia otwarta,
+standaryzowana prez NFC Forum. Jest oparta na RFID.
+
+%package devel
+Summary:	Header files for neard plugins
+Summary(pl.UTF-8):	Pliki nagłówkowe dla wtyczek neard
+Group:		Development/Libraries
+Requires:	dbus-devel >= 1.2
+Requires:	glib2-devel >= 1:2.28
+Requires:	libnl-devel >= 3.2
+# doesn't require base
+
+%description devel
+Header files for neard plugins.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla wtyczek neard.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-silent-rules
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_libexecdir}/neard
+%dir %{_libdir}/near
+%dir %{_libdir}/near/plugins
+%dir %{_sysconfdir}/neard
+/etc/dbus-1/system.d/org.neard.conf
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/*-api.txt
+%{_includedir}/near
+%{_pkgconfigdir}/neard.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/neard.git/commitdiff/41bf3a76291d75d9f46c4f449dd6146b81a19e54



More information about the pld-cvs-commit mailing list