[Tizen-submit] 3593: New package devel:upstream/device-mapper

noreply at tizen.org noreply at tizen.org
Fri May 3 19:06:49 GMT 2013


Hi,
Adding new package device-mapper in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.190929
Git project: platform/upstream/device-mapper
Tag: submit/tizen/20130503.190929
Commit: 911d828 Update package groups

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3593

  submit:       devel:upstream:build/device-mapper(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.190929
Git project: platform/upstream/device-mapper
Tag: submit/tizen/20130503.190929
Commit: 911d828 Update package groups

State:   new        2013-05-03T11:37:20 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- device-mapper.changes
+++ device-mapper.changes
@@ -0,0 +1,6 @@
+* Mon Mar 18 2013 Anas Nashif <anas.nashif at intel.com> submit/trunk/20130305.095427 at b2e1b9a
+- Update package groups
+
+* Tue Mar 05 2013 Anas Nashif <anas.nashif at intel.com> upstream/2.02.98 at 44a3c22
+- Initial import
+

new:
----
  LVM2.2.02.98.tgz
  baselibs.conf
  device-mapper.changes
  device-mapper.spec

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

++++++ new spec file:
--- device-mapper.spec
+++ device-mapper.spec
@@ -0,0 +1,75 @@
+%define device_mapper_version 1.02.77
+%define lvm2_version 2.02.98
+
+# Do not reset Release to 1 unless both lvm2 and device-mapper
+# versions are increased together.
+
+Name:           device-mapper
+Version:        1.02.77
+Release:        1
+VCS:        platform/upstream/device-mapper#submit/tizen/20130503.190929-0-g911d828
+License:        GPL-2.0
+Summary:        Device mapper utility
+Url:            http://sources.redhat.com/dm
+Group:          Base/Device Management
+Source0:        ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz
+Requires:       libdevmapper = %{device_mapper_version}-%{release}
+
+%description
+This package contains the supporting userspace utility, dmsetup,
+for the kernel device-mapper.
+
+%package devel
+License:        LGPL-2.1
+Summary:        Development libraries and headers for device-mapper
+Group:          Development/Libraries
+Requires:       %{name} = %{device_mapper_version}-%{release}
+Requires:       libdevmapper = %{device_mapper_version}-%{release}
+
+%description -n device-mapper-devel
+This package contains files needed to develop applications that use
+the device-mapper libraries.
+
+%package -n libdevmapper
+License:        LGPL-2.1
+Summary:        Device-mapper shared library
+Group:          Base/Device Management
+Obsoletes:      device-mapper < 1.02.17-6
+
+%description -n libdevmapper
+This package contains the device-mapper shared library, libdevmapper.
+
+%prep
+%setup -q -n LVM2.%{lvm2_version}
+
+%build
+%define _exec_prefix ""
+%configure --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig
+%define _exec_prefix /
+make device-mapper
+
+%install
+make install_device-mapper DESTDIR=%{buildroot} usrlibdir=%{buildroot}/usr/%{_lib}
+sed -i 's/ (.*)//g' %{buildroot}%{_libdir}/pkgconfig/*.pc
+
+
+%post -n libdevmapper -p /sbin/ldconfig
+
+%postun -n libdevmapper -p /sbin/ldconfig

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


More information about the Tizen-submit mailing list