forked from pool/neard
Accepting request 220790 from hardware
- Use libnl3 instead of libnl1 - Remove redundant %clean section, more robust make install call, and a simplified file list (forwarded request 220660 from jengelh) OBS-URL: https://build.opensuse.org/request/show/220790 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neard?expand=0&rev=2
This commit is contained in:
commit
fdeb679f48
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 2 21:54:37 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Use libnl3 instead of libnl1
|
||||||
|
- Remove redundant %clean section, more robust make install call,
|
||||||
|
and a simplified file list
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 22 02:53:02 UTC 2014 - acho@suse.com
|
Wed Jan 22 02:53:02 UTC 2014 - acho@suse.com
|
||||||
|
|
||||||
|
50
neard.spec
50
neard.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package neard
|
# spec file for package neard
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2010-2012 B1 Systems GmbH, Vohburg, Germany
|
# Copyright (c) 2010-2012 B1 Systems GmbH, Vohburg, Germany
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -20,30 +20,38 @@
|
|||||||
Name: neard
|
Name: neard
|
||||||
Version: 0.13
|
Version: 0.13
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: NFC for Linux
|
Summary: NFC for Linux
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: Hardware/Mobile
|
Group: Hardware/Mobile
|
||||||
Url: http://01.org/linux-nfc/
|
Url: http://01.org/linux-nfc/
|
||||||
|
|
||||||
|
#Git-Clone: git://git.kernel.org/pub/scm/network/nfc/neard
|
||||||
Source: https://www.kernel.org/pub/linux/network/nfc/neard-%{version}.tar.bz2
|
Source: https://www.kernel.org/pub/linux/network/nfc/neard-%{version}.tar.bz2
|
||||||
Source1: neard.service
|
Source1: neard.service
|
||||||
Source2: 99-neard.rules
|
Source2: 99-neard.rules
|
||||||
Patch1: neard-0.13-fix-dbus_send_destination_config.patch
|
Patch1: neard-0.13-fix-dbus_send_destination_config.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
BuildRequires: libudev-devel
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(dbus-1) >= 1.4
|
BuildRequires: pkgconfig(dbus-1) >= 1.4
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
||||||
BuildRequires: pkgconfig(libnl-1)
|
BuildRequires: pkgconfig(libnl-3.0)
|
||||||
|
BuildRequires: pkgconfig(libnl-genl-3.0)
|
||||||
|
%if 0%{?suse_version} > 1140
|
||||||
|
BuildRequires: systemd
|
||||||
|
BuildRequires: systemd-devel
|
||||||
|
%{?systemd_requires}
|
||||||
|
%define has_systemd 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
NFC support for Linux.
|
NFC support for Linux.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Files needed for NFC development
|
Summary: Files needed for NFC development
|
||||||
License: GPL-2.0
|
|
||||||
Group: Development/Sources
|
Group: Development/Sources
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -51,7 +59,6 @@ Files needed to develop applications for the NFC stack.
|
|||||||
|
|
||||||
%package test
|
%package test
|
||||||
Summary: Files needed for NFC development
|
Summary: Files needed for NFC development
|
||||||
License: GPL-2.0
|
|
||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
|
|
||||||
%description test
|
%description test
|
||||||
@ -63,7 +70,7 @@ Files needed to test applications for the NFC stack.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure --prefix=%_prefix \
|
%configure --prefix="%_prefix" \
|
||||||
--enable-tools \
|
--enable-tools \
|
||||||
--enable-test
|
--enable-test
|
||||||
|
|
||||||
@ -87,8 +94,8 @@ install --mode=0644 -D %{SOURCE2} %{buildroot}%{_prefix}/lib/udev/rules.d/99-nea
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog README
|
%doc AUTHORS COPYING ChangeLog README
|
||||||
%config %{_sysconfdir}/dbus-1/system.d/org.neard.conf
|
%config %{_sysconfdir}/dbus-1/system.d/org.neard.conf
|
||||||
%dir %{_prefix}/lib/nfc
|
%dir %_libexecdir/nfc/
|
||||||
%{_prefix}/lib/nfc/neard
|
%_libexecdir/nfc/neard
|
||||||
%{_prefix}/lib/udev/rules.d/99-neard.rules
|
%{_prefix}/lib/udev/rules.d/99-neard.rules
|
||||||
%{_unitdir}/neard.service
|
%{_unitdir}/neard.service
|
||||||
%doc %{_mandir}/man1/nfctool.1.gz
|
%doc %{_mandir}/man1/nfctool.1.gz
|
||||||
@ -97,28 +104,13 @@ install --mode=0644 -D %{SOURCE2} %{buildroot}%{_prefix}/lib/udev/rules.d/99-nea
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %{_prefix}/include/near
|
%_includedir/near/
|
||||||
%{_prefix}/include/near/*
|
|
||||||
%{_libdir}/pkgconfig/neard.pc
|
%{_libdir}/pkgconfig/neard.pc
|
||||||
|
|
||||||
%files test
|
%files test
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_bindir}/nfctool
|
%{_bindir}/nfctool
|
||||||
%dir %{_libdir}/neard/
|
%dir %{_libdir}/neard/
|
||||||
%dir %{_libdir}/neard/test
|
%{_libdir}/neard/test/
|
||||||
%{_libdir}/neard/test/bt-handover
|
|
||||||
%{_libdir}/neard/test/disable-adapter
|
|
||||||
%{_libdir}/neard/test/dump-device
|
|
||||||
%{_libdir}/neard/test/dump-record
|
|
||||||
%{_libdir}/neard/test/dump-tag
|
|
||||||
%{_libdir}/neard/test/enable-adapter
|
|
||||||
%{_libdir}/neard/test/handover-agent
|
|
||||||
%{_libdir}/neard/test/list-adapters
|
|
||||||
%{_libdir}/neard/test/monitor-near
|
|
||||||
%{_libdir}/neard/test/phdc-simple-manager
|
|
||||||
%{_libdir}/neard/test/push-device
|
|
||||||
%{_libdir}/neard/test/start-poll
|
|
||||||
%{_libdir}/neard/test/stop-poll
|
|
||||||
%{_libdir}/neard/test/write-tag
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user