[Tizen-submit] 3012: New package Tizen:2.1:Main/liblocation-appman

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:15:34 GMT 2013


Hi,
Adding new package liblocation-appman in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/location/liblocation-appman
Tag: submit/tizen_2.1/20130424.231556
Commit: bf5f6ec Fix for 64 bit compatibility.

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3012

  submit:       Tizen:2.1:Main:build/liblocation-appman(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/location/liblocation-appman
Tag: submit/tizen_2.1/20130424.231556
Commit: bf5f6ec Fix for 64 bit compatibility.

State:   new        2013-04-24T15:46:12 tizenrobot
Comment: <no comment>
new:
----
  liblocation-appman-0.1.6.tar.gz
  liblocation-appman.spec

spec files:
-----------

++++++ new spec file:
--- liblocation-appman.spec
+++ liblocation-appman.spec
@@ -0,0 +1,71 @@
+%define _optdir /opt
+Name:       liblocation-appman
+Summary:    Location DB controler
+Version:    0.1.6
+Release:    1
+VCS:        framework/location/liblocation-appman#2.1_release-0-gbf5f6ec
+Group:      System/Libraries
+License:    TBD
+Source0:    %{name}-%{version}.tar.gz
+
+Requires(post): sqlite
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(capi-appfw-app-manager)
+BuildRequires:  libgcrypt-devel
+
+%description
+Description: Location DB controller library
+
+
+%package devel
+Summary:    Location DB controller (Development files)
+Group:      System/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+Description : Location DB controller Development Package
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+%cmake .
+
+# Call make instruction with smp support
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+
+chown 0:5000 /opt/dbspace/.location-appman.db*
+chmod 664 /opt/dbspace/.location-appman.db*
+if [ -f %{_libdir}/rpm-plugins/msm.so ]
+then
+chsmack -a 'location_fw::db' /opt/dbspace/.location-appman.db*
+fi
+
+%postun -p /sbin/ldconfig
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%manifest liblocation-appman.manifest
+%defattr(-,root,root,-)
+%{_libdir}/liblocation-appman.so*
+%{_optdir}/dbspace/.location-appman.db*
+
+%files devel
+%{_includedir}/location-appman/*.h
+%{_libdir}/pkgconfig/*.pc

other changes:
--------------

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list