]> git.pld-linux.org Git - packages/neard.git/blame - neard.spec
- updated to 0.16
[packages/neard.git] / neard.spec
CommitLineData
41bf3a76
JB
1Summary: Near Field Communication manager
2Summary(pl.UTF-8): Zarządca połączeń NFC (Near Field Communication)
3Name: neard
4ab57786 4Version: 0.16
65155dc7 5Release: 1
41bf3a76
JB
6License: GPL v2
7Group: Networking/Daemons
5413e68d 8Source0: https://www.kernel.org/pub/linux/network/nfc/%{name}-%{version}.tar.xz
4ab57786 9# Source0-md5: 5c691fb7872856dc0d909c298bc8cb41
f5679ae5 10Patch0: %{name}-am.patch
41bf3a76 11URL: https://01.org/linux-nfc
f5679ae5
JB
12BuildRequires: autoconf >= 2.60
13BuildRequires: automake
41bf3a76 14BuildRequires: dbus-devel >= 1.2
f5679ae5 15BuildRequires: gcc >= 5:3.4
41bf3a76
JB
16BuildRequires: glib2-devel >= 1:2.28
17BuildRequires: libnl-devel >= 3.2
f5679ae5 18BuildRequires: libtool >= 2:2
41bf3a76
JB
19BuildRequires: linux-libc-headers >= 7:3.6
20BuildRequires: pkgconfig
21BuildRequires: tar >= 1:1.22
22BuildRequires: xz
23Requires: dbus >= 1.2
24Requires: glib2 >= 1:2.28
25Requires: libnl >= 3.2
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29neard is NFC user space stack running on top of the Linux kernel NFC
30subsystem.
31
32NFC (Near Field Communication) is a short-range (a few
33inches/centimeters) radio technology that enables communication
34between devices that either touch or are momentarily held close
35together. NFC is an open technology standardized by the NFC Forum. It
36is based on RFID.
37
38%description -l pl.UTF-8
39neard to stos NFC działający w przestrzeni użytkownika w oparciu o
40podsystem NFC jądra Linuksa.
41
42NFC (Near Field Communication - komunikacja bliskiego zasięgu) to
cc66e145 43krótkozasięgowa (kilka cali/centymetrów) technika radiowa,
41bf3a76 44pozwalająca na komunikację między urządzeniami stykającymi się lub
cc66e145 45chwilowo trzymanymi obok siebie. NFC to technika otwarta,
41bf3a76
JB
46standaryzowana prez NFC Forum. Jest oparta na RFID.
47
48%package devel
49Summary: Header files for neard plugins
50Summary(pl.UTF-8): Pliki nagłówkowe dla wtyczek neard
51Group: Development/Libraries
52Requires: dbus-devel >= 1.2
53Requires: glib2-devel >= 1:2.28
54Requires: libnl-devel >= 3.2
55# doesn't require base
56
57%description devel
58Header files for neard plugins.
59
60%description devel -l pl.UTF-8
61Pliki 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
84rm -rf $RPM_BUILD_ROOT
85
86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
88
378a89d2
JB
89# for external plugins
90install -d $RPM_BUILD_ROOT%{_libdir}/near/plugins
91
41bf3a76
JB
92%clean
93rm -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
This page took 0.072763 seconds and 4 git commands to generate.