[Tizen-submit] 5806: Changes to Tizen/utempter

noreply at tizen.org noreply at tizen.org
Mon May 20 11:20:56 GMT 2013


Hi,
Prajwal Mohan have made the following changes to utempter in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5806

  submit:       Tizen:build/utempter(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.024312
Git project: platform/upstream/utempter
Tag: submit/tizen/20130517.024312
Commit: f8c2598 add man page

State:   accepted   2013-05-16T20:33:57 pkarurmo
Comment: Ok

History: new        2013-05-16T19:41:34 tizenrobot
new:
----
  0001-pie.patch
  0002-eal3.patch
  0003-add-man-page.patch
  baselibs.conf
  utempter-0.5.5.tar.gz
  utempter.spec

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

++++++ new spec file:
--- utempter.spec
+++ utempter.spec
@@ -0,0 +1,65 @@
+Name:           utempter
+%define utmpGroup utmp
+Version:        0.5.5
+Release:        152
+VCS:            platform/upstream/utempter#submit/tizen/20130517.024312-0-gf8c2598
+License:        MIT
+Summary:        A privileged helper for utmp and wtmp updates
+Group:          Productivity/Security
+Source:         utempter-%{version}.tar.gz
+Source2:        baselibs.conf
+# Patches auto-generated by git-buildpackage:
+Patch0:     0001-pie.patch
+Patch1:     0002-eal3.patch
+Patch2:     0003-add-man-page.patch
+
+%description
+Utempter is a utility that allows non-privileged applications such as
+terminal emulators to modify the utmp database without having to be
+setuid root.
+
+%package devel
+License:        MIT
+Summary:        Development files for utempter
+Group:          Development/Libraries/C and C++
+Requires:       %{name} = %{version}
+
+%description devel
+Utempter is a privileged helper for utmp and wtmp updates.  This
+package contains the development files needed.
+
+%prep
+%setup -q
+# 0001-pie.patch
+%patch0 -p1
+# 0002-eal3.patch
+%patch1 -p1
+# 0003-add-man-page.patch
+%patch2 -p1
+
+%build
+make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" CC="gcc"
+
+%install
+export DESTDIR=%{buildroot}
+make PREFIX=$DESTDIR LIBDIR=%{_libdir} install
+chmod 755 $DESTDIR%{_libdir}/libutempter.so*
+/sbin/ldconfig -n $DESTDIR%{_libdir}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(444,root,root,755)
+%doc COPYING
+%attr(02755, root, %{utmpGroup}) /usr/sbin/utempter
+%attr(555,root,root) %{_libdir}/libutempter.so.*
+%attr(444,root,root) %doc /usr/share/man/man8/*
+
+%files devel
+%defattr(444,root,root,755)
+%attr(555,root,root) %{_libdir}/libutempter.so
+%attr(444,root,root) /usr/include/utempter.h
+
+%changelog

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

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


More information about the Tizen-submit mailing list