]>
Commit | Line | Data |
---|---|---|
41bf3a76 JB |
1 | Summary: Near Field Communication manager |
2 | Summary(pl.UTF-8): Zarządca połączeń NFC (Near Field Communication) | |
3 | Name: neard | |
03112a6a | 4 | Version: 0.9 |
6ed7b74b | 5 | Release: 3 |
41bf3a76 JB |
6 | License: GPL v2 |
7 | Group: Networking/Daemons | |
8 | Source0: http://www.kernel.org/pub/linux/network/nfc/%{name}-%{version}.tar.xz | |
03112a6a | 9 | # Source0-md5: f0ff51975e90e8d7b29db7167e1b1a3e |
41bf3a76 JB |
10 | URL: https://01.org/linux-nfc |
11 | BuildRequires: dbus-devel >= 1.2 | |
12 | BuildRequires: glib2-devel >= 1:2.28 | |
13 | BuildRequires: libnl-devel >= 3.2 | |
14 | BuildRequires: linux-libc-headers >= 7:3.6 | |
15 | BuildRequires: pkgconfig | |
16 | BuildRequires: tar >= 1:1.22 | |
17 | BuildRequires: xz | |
18 | Requires: dbus >= 1.2 | |
19 | Requires: glib2 >= 1:2.28 | |
20 | Requires: libnl >= 3.2 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | neard is NFC user space stack running on top of the Linux kernel NFC | |
25 | subsystem. | |
26 | ||
27 | NFC (Near Field Communication) is a short-range (a few | |
28 | inches/centimeters) radio technology that enables communication | |
29 | between devices that either touch or are momentarily held close | |
30 | together. NFC is an open technology standardized by the NFC Forum. It | |
31 | is based on RFID. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | neard to stos NFC działający w przestrzeni użytkownika w oparciu o | |
35 | podsystem NFC jądra Linuksa. | |
36 | ||
37 | NFC (Near Field Communication - komunikacja bliskiego zasięgu) to | |
cc66e145 | 38 | krótkozasięgowa (kilka cali/centymetrów) technika radiowa, |
41bf3a76 | 39 | pozwalająca na komunikację między urządzeniami stykającymi się lub |
cc66e145 | 40 | chwilowo trzymanymi obok siebie. NFC to technika otwarta, |
41bf3a76 JB |
41 | standaryzowana prez NFC Forum. Jest oparta na RFID. |
42 | ||
43 | %package devel | |
44 | Summary: Header files for neard plugins | |
45 | Summary(pl.UTF-8): Pliki nagłówkowe dla wtyczek neard | |
46 | Group: Development/Libraries | |
47 | Requires: dbus-devel >= 1.2 | |
48 | Requires: glib2-devel >= 1:2.28 | |
49 | Requires: libnl-devel >= 3.2 | |
50 | # doesn't require base | |
51 | ||
52 | %description devel | |
53 | Header files for neard plugins. | |
54 | ||
55 | %description devel -l pl.UTF-8 | |
56 | Pliki nagłówkowe dla wtyczek neard. | |
57 | ||
58 | %prep | |
59 | %setup -q | |
60 | ||
61 | %build | |
62 | %configure \ | |
63 | --disable-silent-rules | |
03112a6a | 64 | |
41bf3a76 JB |
65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
378a89d2 JB |
73 | # for external plugins |
74 | install -d $RPM_BUILD_ROOT%{_libdir}/near/plugins | |
75 | ||
41bf3a76 JB |
76 | %clean |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc AUTHORS ChangeLog README TODO | |
82 | %attr(755,root,root) %{_libexecdir}/neard | |
83 | %dir %{_libdir}/near | |
84 | %dir %{_libdir}/near/plugins | |
378a89d2 JB |
85 | # not used yet |
86 | #%dir %{_sysconfdir}/neard | |
41bf3a76 JB |
87 | /etc/dbus-1/system.d/org.neard.conf |
88 | ||
89 | %files devel | |
90 | %defattr(644,root,root,755) | |
91 | %doc doc/*-api.txt | |
92 | %{_includedir}/near | |
93 | %{_pkgconfigdir}/neard.pc |