[Tizen-submit] 3116: New package Tizen:2.1:Main/pciutils

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:31:26 GMT 2013


Hi,
Adding new package pciutils 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/system/pciutils
Tag: submit/tizen_2.1/20130424.233146
Commit: e678f5d Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3116

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


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/system/pciutils
Tag: submit/tizen_2.1/20130424.233146
Commit: e678f5d Tizen 2.1 base

State:   new        2013-04-24T16:02:04 tizenrobot
Comment: <no comment>
new:
----
  pciutils-3.0.0.tar.gz
  pciutils-mass.patch
  pciutils.spec

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

++++++ new spec file:
--- pciutils.spec
+++ pciutils.spec
@@ -0,0 +1,93 @@
+#sbs-git:slp/pkgs/xorg/miscs/pciutils pciutils 3.0.0 4c6dc88ca761346c47cb8cc0ced6ed5266d46394
+Name:		pciutils
+Version: 3.0.0
+Release:        1	
+VCS:        framework/system/pciutils#2.1_release-0-ge678f5d
+Summary:        PCI bus related utilities
+Group:          Applications/System
+License:	GPLv2+
+URL:		http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
+Source:		ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
+BuildRequires:	zlib-devel
+Requires:	libpci3 = %{version}-%{release}
+
+%description
+This package contains various utilities for inspecting and setting of
+devices connected to the PCI bus.
+
+%package -n libpci3
+Summary: Linux PCI development library
+Group: System/Libraries
+
+%description -n libpci3
+This package contains the libpci shared library files.
+
+%package -n libpci-devel
+Summary: Linux PCI development library (Developement)
+Group: Development/Libraries
+Requires: zlib-devel pkgconfig libpci3 = %{version}-%{release}
+
+%description -n libpci-devel
+This package contains the <pci/pci.h>, <pci/config.h> and <pci/header.h> header files.
+
+
+%prep
+%setup -q
+
+%build
+make SHARED=yes PREFIX=/usr SBINDIR=/usr/bin IDSDIR=/usr/share/misc 
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make PREFIX=/usr SBINDIR=/usr/bin IDSDIR=/usr/share/misc install DESTDIR=$RPM_BUILD_ROOT
+
+# pciutils
+gunzip $RPM_BUILD_ROOT%{_datadir}/misc/pci.ids.gz
+
+# libpci-devel
+mkdir -p $RPM_BUILD_ROOT%{_includedir}/pci
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
+
+install -m 644 lib/pci.h lib/header.h lib/config.h lib/types.h $RPM_BUILD_ROOT%{_includedir}/pci
+install -m 644 lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
+ln -s libpci.so.3.0.0 $RPM_BUILD_ROOT%{_libdir}/libpci.so
+
+# libpci
+install -m 744 lib/libpci.so.* $RPM_BUILD_ROOT%{_libdir}
+ln -s libpci.so.3.0.0 $RPM_BUILD_ROOT%{_libdir}/libpci.so.3
+
+
+%remove_docs
+
+%post 
+/sbin/ldconfig
+rm -f %{_datadir}/misc/pci.ids.new
+rm -f %{_datadir}/misc/pci.ids.neww
+rm -f %{_datadir}/misc/pci.ids.old
+
+%pre
+rm -f /var/lib/pciutils/pci.ids.new
+rm -f /var/lib/pciutils/pci.ids.neww
+rm -f /var/lib/pciutils/pci.ids.old
+

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


More information about the Tizen-submit mailing list