From fe9042e311dc29c76b7c4b618f28ea1a517b6d7d Mon Sep 17 00:00:00 2001 From: Arron Wang Date: Mon, 8 Jul 2013 11:28:33 +0800 Subject: Fix the rpmlint warning Change-Id: I4e770a70e0105a3a10e2a7b5a0541f32a8870fd2 --- packaging/neardal.changes | 8 +++++++ packaging/neardal.spec | 54 ++++++++++++----------------------------------- 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 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 - 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 -- cgit v1.2.3