[Tizen-submit] 3319: New package Tizen:2.1:Base/kmod

noreply at tizen.org noreply at tizen.org
Thu Apr 25 00:02:27 GMT 2013


Hi,
Adding new package kmod in project Tizen:2.1:Base. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/kmod
Tag: submit/tizen_2.1/20130425.000249
Commit: 18c8df9 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3319

  submit:       Tizen:2.1:Base:build/kmod(cleanup) -> Tizen:2.1:Base


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/kmod
Tag: submit/tizen_2.1/20130425.000249
Commit: 18c8df9 Tizen 2.1 base

State:   new        2013-04-24T16:33:06 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- kmod.changes
+++ kmod.changes
@@ -0,0 +1,6 @@
+* Mon Jun 18 2012 Chris Leech <christopher.leech at linux.intel.com> - 5
+- add module-init-tools provides and obsoletes lines to spec to aid
+  the transition from module-init-tools to kmod
+
+* Wed Jun 13 2012 William Douglas <william.douglas at intel.com> - 5
+- Add kmod version 5

new:
----
  kmod-5.tar.gz
  kmod.changes
  kmod.manifest
  kmod.spec

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

++++++ new spec file:
--- kmod.spec
+++ kmod.spec
@@ -0,0 +1,98 @@
+Name:		kmod
+Version:	5
+Release:	2
+VCS:        toolchains/kmod#2.1_release-0-g18c8df9
+Summary:	Linux kernel module handling
+
+Group:		System/Libraries
+License:	GPLv2
+URL:		http://packages.profusion.mobi/kmod/
+Source0:	kmod-%{version}.tar.gz
+Source1001:        packaging/kmod.manifest
+
+BuildRequires:	pkgconfig(liblzma)
+BuildRequires:	pkgconfig(zlib)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+Provides:	module-init-tools = 4.0-1
+Obsoletes:	module-init-tools < 4.0-1
+
+%description
+kmod is a set of tools to handle common tasks with Linux kernel modules like
+insert, remove, list, check properties, resolve dependencies and aliases.
+
+%package devel
+Summary:    Development files for kmod
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+Development files for kmod.
+
+%package docs
+Summary:    Documentation for kmod
+Group:      Documentation
+Requires:   %{name} = %{version}-%{release}
+
+%description docs
+Documentation and manual pages for kmod.
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1001} .
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/libkmod.la
+install -d $RPM_BUILD_ROOT/sbin
+for app in lsmod modprobe rmmod depmod insmod modinfo ; do
+  ln -sf %{_bindir}/kmod $RPM_BUILD_ROOT/sbin/$app
+done

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


More information about the Tizen-submit mailing list