]>
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 | |
4ab57786 | 4 | Version: 0.16 |
65155dc7 | 5 | Release: 1 |
41bf3a76 JB |
6 | License: GPL v2 |
7 | Group: Networking/Daemons | |
5413e68d | 8 | Source0: https://www.kernel.org/pub/linux/network/nfc/%{name}-%{version}.tar.xz |
4ab57786 | 9 | # Source0-md5: 5c691fb7872856dc0d909c298bc8cb41 |
f5679ae5 | 10 | Patch0: %{name}-am.patch |
41bf3a76 | 11 | URL: https://01.org/linux-nfc |
f5679ae5 JB |
12 | BuildRequires: autoconf >= 2.60 |
13 | BuildRequires: automake | |
41bf3a76 | 14 | BuildRequires: dbus-devel >= 1.2 |
f5679ae5 | 15 | BuildRequires: gcc >= 5:3.4 |
41bf3a76 JB |
16 | BuildRequires: glib2-devel >= 1:2.28 |
17 | BuildRequires: libnl-devel >= 3.2 | |
f5679ae5 | 18 | BuildRequires: libtool >= 2:2 |
41bf3a76 JB |
19 | BuildRequires: linux-libc-headers >= 7:3.6 |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: tar >= 1:1.22 | |
22 | BuildRequires: xz | |
23 | Requires: dbus >= 1.2 | |
24 | Requires: glib2 >= 1:2.28 | |
25 | Requires: libnl >= 3.2 | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | neard is NFC user space stack running on top of the Linux kernel NFC | |
30 | subsystem. | |
31 | ||
32 | NFC (Near Field Communication) is a short-range (a few | |
33 | inches/centimeters) radio technology that enables communication | |
34 | between devices that either touch or are momentarily held close | |
35 | together. NFC is an open technology standardized by the NFC Forum. It | |
36 | is based on RFID. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | neard to stos NFC działający w przestrzeni użytkownika w oparciu o | |
40 | podsystem NFC jądra Linuksa. | |
41 | ||
42 | NFC (Near Field Communication - komunikacja bliskiego zasięgu) to | |
cc66e145 | 43 | krótkozasięgowa (kilka cali/centymetrów) technika radiowa, |
41bf3a76 | 44 | pozwalająca na komunikację między urządzeniami stykającymi się lub |
cc66e145 | 45 | chwilowo trzymanymi obok siebie. NFC to technika otwarta, |
41bf3a76 JB |
46 | standaryzowana prez NFC Forum. Jest oparta na RFID. |
47 | ||
48 | %package devel | |
49 | Summary: Header files for neard plugins | |
50 | Summary(pl.UTF-8): Pliki nagłówkowe dla wtyczek neard | |
51 | Group: Development/Libraries | |
52 | Requires: dbus-devel >= 1.2 | |
53 | Requires: glib2-devel >= 1:2.28 | |
54 | Requires: libnl-devel >= 3.2 | |
55 | # doesn't require base | |
56 | ||
57 | %description devel | |
58 | Header files for neard plugins. | |
59 | ||
60 | %description devel -l pl.UTF-8 | |
61 | Pliki nagłówkowe dla wtyczek neard. | |
62 | ||
63 | %prep | |
64 | %setup -q | |
f5679ae5 | 65 | %patch0 -p1 |
41bf3a76 JB |
66 | |
67 | %build | |
f5679ae5 JB |
68 | %{__libtoolize} |
69 | %{__aclocal} | |
70 | %{__autoconf} | |
71 | %{__autoheader} | |
72 | %{__automake} | |
41bf3a76 | 73 | %configure \ |
27ad62b4 | 74 | --disable-silent-rules \ |
f5679ae5 JB |
75 | --enable-ese \ |
76 | --enable-pie \ | |
77 | --enable-tools \ | |
78 | --with-systemdsystemunitdir=%{systemdunitdir} \ | |
79 | --with-systemduserunitdir=%{systemduserunitdir} | |
03112a6a | 80 | |
41bf3a76 JB |
81 | %{__make} |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
378a89d2 JB |
89 | # for external plugins |
90 | install -d $RPM_BUILD_ROOT%{_libdir}/near/plugins | |
91 | ||
41bf3a76 JB |
92 | %clean |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %files | |
96 | %defattr(644,root,root,755) | |
97 | %doc AUTHORS ChangeLog README TODO | |
4ab57786 | 98 | %attr(755,root,root) %{_bindir}/nciattach |
27ad62b4 | 99 | %attr(755,root,root) %{_bindir}/nfctool |
65155dc7 JB |
100 | %dir %{_libexecdir}/nfc |
101 | %attr(755,root,root) %{_libexecdir}/nfc/neard | |
f5679ae5 | 102 | %attr(755,root,root) %{_libexecdir}/nfc/seeld |
41bf3a76 JB |
103 | %dir %{_libdir}/near |
104 | %dir %{_libdir}/near/plugins | |
378a89d2 JB |
105 | # not used yet |
106 | #%dir %{_sysconfdir}/neard | |
41bf3a76 | 107 | /etc/dbus-1/system.d/org.neard.conf |
f5679ae5 | 108 | %{systemdunitdir}/neard.service |
27ad62b4 | 109 | %{_mandir}/man1/nfctool.1* |
65155dc7 JB |
110 | %{_mandir}/man5/neard.conf.5* |
111 | %{_mandir}/man8/neard.8* | |
41bf3a76 JB |
112 | |
113 | %files devel | |
114 | %defattr(644,root,root,755) | |
115 | %doc doc/*-api.txt | |
116 | %{_includedir}/near | |
117 | %{_pkgconfigdir}/neard.pc |