[Tizen-submit] 2980: New package Tizen:2.1:Main/rpm-installer

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:10:16 GMT 2013


Hi,
Adding new package rpm-installer 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/base/rpm-installer
Tag: submit/tizen_2.1/20130424.231038
Commit: 0931410 merge with master

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2980

  submit:       Tizen:2.1:Main:build/rpm-installer(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/base/rpm-installer
Tag: submit/tizen_2.1/20130424.231038
Commit: 0931410 merge with master

State:   new        2013-04-24T15:40:55 tizenrobot
Comment: <no comment>
new:
----
  rpm-installer-0.1.25.tar.gz
  rpm-installer.spec

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

++++++ new spec file:
--- rpm-installer.spec
+++ rpm-installer.spec
@@ -0,0 +1,79 @@
+Name:       rpm-installer
+Summary:    Native rpm installer
+Version:    0.1.25
+Release:    2
+VCS:        framework/base/rpm-installer#2.1_release-0-g0931410
+Group:      System/Libraries
+License:    Apache License, Version 2.0
+Source0:    %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  cmake
+BuildRequires:  edje-bin
+BuildRequires:  rpm-devel
+BuildRequires:  popt-devel
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(dbus-glib-1)
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(db-util)
+BuildRequires:  pkgconfig(pkgmgr-types)
+BuildRequires:  pkgconfig(pkgmgr-installer)
+BuildRequires:  pkgconfig(pkgmgr-parser)
+BuildRequires:  pkgconfig(pkgmgr)
+BuildRequires:	pkgconfig(pkgmgr-info)
+BuildRequires:  pkgconfig(app2sd)
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(security-server)
+BuildRequires:  pkgconfig(elementary)
+BuildRequires:  pkgconfig(appcore-efl)
+BuildRequires:  pkgconfig(evas)
+BuildRequires:  pkgconfig(ecore)
+BuildRequires:  pkgconfig(edje)
+BuildRequires:  gettext-tools
+Requires:  /bin/cpio
+
+%description
+Native rpm installer
+
+%prep
+%setup -q
+
+%build
+CFLAGS+=" -fpic"
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+mkdir -p /usr/etc/package-manager/backend
+mkdir -p /usr/etc/package-manager/backendlib
+ln -sf /usr/bin/rpm-backend /usr/etc/package-manager/backend/rpm
+ln -sf /usr/lib/libnativerpm.so /usr/etc/package-manager/backendlib/librpm.so
+
+chmod 700 /usr/bin/rpm-backend
+
+vconftool set -t int db/private/rpm-installer/state "0"
+vconftool set -t int db/private/rpm-installer/stateinfo "0"
+vconftool set -t int db/private/rpm-installer/requestinfo/command "0"
+vconftool set -t string db/private/rpm-installer/requestinfo/pkgname ""
+vconftool set -t int db/private/rpm-installer/requestinfo/options "0"
+
+%files
+%manifest rpm-installer.manifest
+%attr(0700,-,-) /usr/bin/rpm-backend
+%attr(0700,-,-) /usr/bin/install_rpm_package.sh
+%attr(0755,-,-) /usr/bin/query_rpm_package.sh
+%attr(0700,-,-) /usr/bin/uninstall_rpm_package.sh
+%attr(0700,-,-) /usr/bin/upgrade_rpm_package.sh
+%attr(0644,-,-) /usr/share/locale/en_GB/LC_MESSAGES/rpm-installer.mo

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


More information about the Tizen-submit mailing list