]> git.pld-linux.org Git - packages/neard.git/blob - neard.spec
205512cc75acba5d7f921ff63b9d3fe87e172a17
[packages/neard.git] / neard.spec
1 Summary:        Near Field Communication manager
2 Summary(pl.UTF-8):      Zarządca połączeń NFC (Near Field Communication)
3 Name:           neard
4 Version:        0.13
5 Release:        1
6 License:        GPL v2
7 Group:          Networking/Daemons
8 Source0:        http://www.kernel.org/pub/linux/network/nfc/%{name}-%{version}.tar.xz
9 # Source0-md5:  bab0fc7f92f45222b9c648c1481ac206
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
38 krótkozasięgowa (kilka cali/centymetrów) technika radiowa,
39 pozwalająca na komunikację między urządzeniami stykającymi się lub
40 chwilowo trzymanymi obok siebie. NFC to technika otwarta,
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 \
64         --enable-tools
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 # for external plugins
75 install -d $RPM_BUILD_ROOT%{_libdir}/near/plugins
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog README TODO
83 %attr(755,root,root) %{_bindir}/nfctool
84 %dir %{_libexecdir}/nfc
85 %attr(755,root,root) %{_libexecdir}/nfc/neard
86 %dir %{_libdir}/near
87 %dir %{_libdir}/near/plugins
88 # not used yet
89 #%dir %{_sysconfdir}/neard
90 /etc/dbus-1/system.d/org.neard.conf
91 %{_mandir}/man1/nfctool.1*
92 %{_mandir}/man5/neard.conf.5*
93 %{_mandir}/man8/neard.8*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %doc doc/*-api.txt
98 %{_includedir}/near
99 %{_pkgconfigdir}/neard.pc
This page took 0.065237 seconds and 2 git commands to generate.