summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/neardal.changes10
-rw-r--r--packaging/neardal.manifest5
-rw-r--r--packaging/neardal.spec64
3 files changed, 79 insertions, 0 deletions
diff --git a/packaging/neardal.changes b/packaging/neardal.changes
new file mode 100644
index 0000000..4c30c34
--- /dev/null
+++ b/packaging/neardal.changes
@@ -0,0 +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.manifest b/packaging/neardal.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/neardal.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/neardal.spec b/packaging/neardal.spec
new file mode 100644
index 0000000..ed98635
--- /dev/null
+++ b/packaging/neardal.spec
@@ -0,0 +1,64 @@
+Name: neardal
+Summary: Neard Abstraction Library (for Neard v0.7)
+Version: 0.14
+Release: 0
+Group: Network & Connectivity/NFC
+License: LGPL-2.0
+URL: https://github.com/connectivity/neardal.git
+Source0: %{name}-%{version}.tar.bz2
+Source1001: %{name}.manifest
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: python
+BuildRequires: intltool
+BuildRequires: libtool
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: readline-devel
+BuildRequires: gettext-tools
+BuildRequires: python-xml
+BuildRequires: pkgconfig(glib-2.0) >= 2.30.0
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dlog)
+
+%description
+This package provides simple C APIs to exchange datas with NFC daemon (Neard) present on the system.
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+%reconfigure --disable-traces --prefix=/usr
+%__make
+
+%package devel
+Summary: Headers for neardal
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development headers and libraries for neardal.
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%manifest %{name}.manifest
+%license COPYING
+%doc README AUTHORS
+%{_libdir}/libneardal.so.0
+%{_libdir}/libneardal.so.0.0.*
+%{_sysconfdir}/dbus-1/system.d/org.neardal.conf
+
+%files devel
+%manifest %{name}.manifest
+%{_includedir}/neardal/*.h
+%{_libdir}/pkgconfig/neardal.pc
+%{_libdir}/libneardal.so