summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArron Wang <arron.wang@intel.com>2013-07-08 11:28:33 +0800
committerArron Wang <arron.wang@intel.com>2013-07-10 14:05:18 +0800
commitfe9042e311dc29c76b7c4b618f28ea1a517b6d7d (patch)
tree4b99b10982857025dd2edf03143195f16adb8aed
parenteefd58482334d7729a2d49c5cdf2dd2d10377aae (diff)
downloadneardal-accepted/tizen_generic.tar.gz
neardal-accepted/tizen_generic.tar.bz2
neardal-accepted/tizen_generic.zip
Change-Id: I4e770a70e0105a3a10e2a7b5a0541f32a8870fd2
-rw-r--r--packaging/neardal.changes8
-rw-r--r--packaging/neardal.spec54
2 files changed, 22 insertions, 40 deletions
diff --git a/packaging/neardal.changes b/packaging/neardal.changes
index 76c7d7c..4c30c34 100644
--- a/packaging/neardal.changes
+++ b/packaging/neardal.changes
@@ -1,2 +1,10 @@
+* Wed Jul 10 2013 Arron Wang <arron.wang@intel.com> submit/tizen/20130710.021225@d088d4e
+- Fix the rpmlint warning
+- Enable tizen dlog log system
+- Add handover carrier type support
+- Add p2p received callback
+- Add raw data push support
+- Use async call for ndef read/write
+
* Wed Aug 15 2012 Arron <arron.wang@intel.com> - 0.7
- Init import for Tizen
diff --git a/packaging/neardal.spec b/packaging/neardal.spec
index cf1bd8c..2214733 100644
--- a/packaging/neardal.spec
+++ b/packaging/neardal.spec
@@ -1,30 +1,22 @@
-# >> macros
-%define neardal_dir %{_libdir}
-%define neardal_pkg %{_libdir}/pkgconfig
-%define neardal_inc %{_includedir}/neardal
-
-%define glib2_version 2.30.0
-# << macros
-
-Name: neardal-tizen
+Name: neardal
Summary: Neard Abstraction Library (for Neard v0.7)
Version: 0.7.0
Release: 1.0
-Group: System/Libraries
-License: LGPLv2
+Group: Connectivity/NFC
+License: LGPL-2.0
URL: https://github.com/connectivity/neardal.git
Source0: %{name}-%{version}.tar.bz2
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: python
-BuildRequires: intltool >= %{intltool_version}
+BuildRequires: intltool
BuildRequires: libtool
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: gettext-tools
BuildRequires: python-xml
-BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
+BuildRequires: pkgconfig(glib-2.0) >= 2.30.0
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(dlog)
@@ -42,54 +34,36 @@ make
%package devel
Summary: Headers for neardal
-Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Development headers and libraries for neardal
-%package ncl
-Summary: Neardal Command Line: Simple command line interpretor for neardal/Neard
-Group: Tools
-Requires: %{name} = %{version}-%{release}
-
-
-%description ncl
-Neardal Command Line: Simple command line interpretor for neardal/Neard
-
%install
rm -rf %{buildroot}
%make_install
# executed after install
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
# executed before uninstall
-%postun
-/sbin/ldconfig
-
-# No locale
-# %%find_lang %%{name}
-# %%files -f %%{name}.lang
+%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
-%doc README AUTHORS NEWS COPYING
+%license COPYING
+%doc README AUTHORS NEWS
# libraries files
-%{neardal_dir}/libneardal.so
-%{neardal_dir}/libneardal.so.0
-%{neardal_dir}/libneardal.so.0.0.1
+%{_libdir}/libneardal.so.0
+%{_libdir}/libneardal.so.0.0.1
%changelog
%files devel
# headers files
-%{neardal_inc}/*.h
+%{_includedir}/neardal/*.h
# pkg-config files
-%{neardal_pkg}/neardal.pc
-
-%files ncl
-#%{_bindir}/ncl
+%{_libdir}/pkgconfig/neardal.pc
+%{_libdir}/libneardal.so