[meego-commits] 7791: New package Trunk:non-oss/ti-omap3-sgx
Markus Lehtonen
no_reply at build.meego.com
Fri Sep 24 07:57:04 UTC 2010
Hi,
Adding new package ti-omap3-sgx in project Trunk:non-oss. Please review and accept ASAP.
Justification for this new package:
ImgTec SGX graphics drivers for OMAP3 (Nokia N900). This package is required
to enable (functional) public MeeGo images for Nokia N900. The package was
previously distributed through closed Nokia repos, only.
Thank You,
Markus Lehtonen
[This message was auto-generated]
---
Request #7791:
submit: home:mlehtonen:nokia-closed/ti-omap3-sgx(r2) -> Trunk:non-oss/ti-omap3-sgx
Message:
ImgTec SGX graphics drivers for OMAP3 (Nokia N900). This package is required
to enable (functional) public MeeGo images for Nokia N900. The package was
previously distributed through closed Nokia repos, only.
State: new 2010-09-24T00:57:04 mlehtonen
Comment: None
This is a NEW package in Trunk:non-oss project.
The files in the new package:
ti-omap3-sgx/
|__ license.txt
|__ ti-omap3-sgx-bin-1.4.20090218.110-armv7l.tar.gz
|__ ti-omap3-sgx-get-bin.sh
|__ ti-omap3-sgx-powervr.ini
|__ ti-omap3-sgx-update.sh
|__ ti-omap3-sgx.changes
|__ ti-omap3-sgx.init
|__ ti-omap3-sgx.spec
|__ ti-omap3-sgx.udev
|__ ti-omap3-sgx.yaml
The content of the YAML file, ti-omap3-sgx.yaml:
===================================================================
Name: ti-omap3-sgx
Summary: ImgTec SGX drivers for TI OMAP3
Version: 1.4.20090218.110
Release: 0
Group: System/Libraries
License: TI Proprietary
Sources:
- "%{name}-bin-%{version}-armv7l.tar.gz"
- "%{name}.init"
- "license.txt"
- "%{name}-powervr.ini"
- "%{name}.udev"
Description: OMAP3 drivers for SGX
SetupOptions: -q -n %{name}-bin-%{version}-armv7l
Configure: none
Builder: none
ExclusiveArch: "armv7l armv7el"
SubPackages:
- Name: devel
Summary: PowerVR SGX support development files
Group: Development/Libraries
Description: |
This package provides common development files for PowerVR SGX.
- Name: libEGL
Summary: EGL for SGX
Group: Development/Libraries
Description: |
This package..
Provides:
- libEGL = %{version}-%{release}
- libEGL.so.1
- Name: libEGL-devel
Summary: EGL development headers for SGX
Group: Development/Libraries
Description: |
This package..
Requires:
- "%{name}-libEGL = %{version}-%{release}"
- "%{name}-devel = %{version}-%{release}"
Provides:
- libEGL-devel
- Name: libGLESv1
Summary: GLESv1 for SGX
Group: Development/Libraries
Description: |
This package..
Provides:
- libGLESv1 = %{version}-%{release}
- libGLES_CM.so.1
- Name: libGLESv1-devel
Summary: GLESv1 development headers for SGX
Group: Development/Libraries
Description: |
This package..
Requires:
- "%{name}-libGLESv1 = %{version}-%{release}"
- "%{name}-devel = %{version}-%{release}"
Provides:
- libGLESv1-devel
- Name: libGLESv2
Summary: GLESv2 for SGX
Group: Development/Libraries
Description: |
This package..
Provides:
- libGLESv2 = %{version}-%{release}
- libGLESv2.so.2
- Name: libGLESv2-devel
Summary: GLESv2 development headers for SGX
Group: Development/Libraries
Description: |
This package..
Requires:
- "%{name}-libGLESv2 = %{version}-%{release}"
- "%{name}-devel = %{version}-%{release}"
Provides:
- libGLESv2-devel
===================================================================
The content of the spec file, ti-omap3-sgx.spec:
===================================================================
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.20
#
# >> macros
# << macros
Name: ti-omap3-sgx
Summary: ImgTec SGX drivers for TI OMAP3
Version: 1.4.20090218.110
Release: 0
Group: System/Libraries
License: TI Proprietary
ExclusiveArch: armv7l armv7el
Source0: %{name}-bin-%{version}-armv7l.tar.gz
Source1: %{name}.init
Source2: license.txt
Source3: %{name}-powervr.ini
Source4: %{name}.udev
Source100: ti-omap3-sgx.yaml
Requires(post): /sbin/ldconfig
Requires(post): /sbin/service
Requires(post): /sbin/chkconfig
Requires(postun): /sbin/ldconfig
Requires(postun): /sbin/service
Requires(postun): /sbin/chkconfig
%description
OMAP3 drivers for SGX
%package devel
Summary: PowerVR SGX support development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package provides common development files for PowerVR SGX.
%package libEGL
Summary: EGL for SGX
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Provides: libEGL = %{version}-%{release}
Provides: libEGL.so.1
%description libEGL
This package..
%package libEGL-devel
Summary: EGL development headers for SGX
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libEGL = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release}
Provides: libEGL-devel
%description libEGL-devel
This package..
%package libGLESv1
Summary: GLESv1 for SGX
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Provides: libGLESv1 = %{version}-%{release}
Provides: libGLES_CM.so.1
%description libGLESv1
This package..
%package libGLESv1-devel
Summary: GLESv1 development headers for SGX
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libGLESv1 = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release}
Provides: libGLESv1-devel
%description libGLESv1-devel
This package..
%package libGLESv2
Summary: GLESv2 for SGX
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Provides: libGLESv2 = %{version}-%{release}
Provides: libGLESv2.so.2
%description libGLESv2
This package..
%package libGLESv2-devel
Summary: GLESv2 development headers for SGX
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libGLESv2 = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release}
Provides: libGLESv2-devel
%description libGLESv2-devel
This package..
%prep
%setup -q -n %{name}-bin-%{version}-armv7l
# >> setup
cp %{SOURCE2} .
# << setup
%build
# >> build pre
# << build pre
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
install -d $RPM_BUILD_ROOT/
cp -arv * $RPM_BUILD_ROOT/
# Goes in later.
rm $RPM_BUILD_ROOT/license.txt
# From previous bin package, remove as it's being replaced.
rm $RPM_BUILD_ROOT/usr/share/doc/%{name}-bin-%{version}/license.txt
install -d $RPM_BUILD_ROOT/etc/
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/powervr.ini
install -d $RPM_BUILD_ROOT/etc/init.d/
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/%{name}
install -d $RPM_BUILD_ROOT/etc/udev/rules.d/
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/udev/rules.d/10-pvrsrvkm.rules
# Integrate into Mesa naming.
ln -s libGLESv2.so $RPM_BUILD_ROOT/usr/lib/libGLESv2.so.2
ln -s libGLES_CM.so $RPM_BUILD_ROOT/usr/lib/libGLES_CM.so.1
ln -s libEGL.so $RPM_BUILD_ROOT/usr/lib/libEGL.so.1
# << install pre
# >> install post
# << install post
%post
/sbin/ldconfig
# >> post
/sbin/chkconfig --add %{name}
# << post
%postun
/sbin/ldconfig
# >> postun
if [ $1 = 0 ]; then
/sbin/chkconfig --del %{name}
fi
# << postun
%post libEGL -p /sbin/ldconfig
%postun libEGL -p /sbin/ldconfig
%post libGLESv1 -p /sbin/ldconfig
%postun libGLESv1 -p /sbin/ldconfig
%post libGLESv2 -p /sbin/ldconfig
%postun libGLESv2 -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
# >> files
%doc license.txt
%config /etc/powervr.ini
%config /etc/udev/rules.d/10-pvrsrvkm.rules
/usr/lib/libIMGegl*.so
/usr/lib/libPVRScopeServices*.so
/usr/lib/libglslcompiler*.so
/usr/lib/libpvr2d*.so
/usr/lib/libpvrPVR2D_BLITWSEGL*.so
/usr/lib/libpvrPVR2D_DRI2WSEGL*.so
/usr/lib/libpvrPVR2D_FLIPWSEGL*.so
/usr/lib/libpvrPVR2D_FRONTWSEGL*.so
/usr/lib/libpvrPVR2D_X11WSEGL*.so
/usr/lib/libsrv_um*.so
%attr(755,root,root) /usr/sbin/pvrsrvinit_r*
%attr(755,root,root) /usr/sbin/pvrsrvinit
%attr(755,root,root) /etc/init.d/%{name}
# Should be in it's own package.
/usr/lib/libOpenVG*.so
# << files
%files devel
%defattr(-,root,root,-)
# >> files devel
%doc license.txt
/usr/include/SGX/hwdefs
/usr/include/SGX/include4
/usr/include/pvr2d.h
# << files devel
%files libEGL
%defattr(-,root,root,-)
# >> files libEGL
%doc license.txt
/usr/lib/libEGL*.so
/usr/lib/libEGL.so.1
# << files libEGL
%files libEGL-devel
%defattr(-,root,root,-)
# >> files libEGL-devel
%doc license.txt
/usr/include/KHR/*.h
/usr/include/EGL/*.h
# << files libEGL-devel
%files libGLESv1
%defattr(-,root,root,-)
# >> files libGLESv1
%doc license.txt
/usr/lib/libGLES_CM*.so
/usr/lib/libGLES_CM.so.1
# << files libGLESv1
%files libGLESv1-devel
%defattr(-,root,root,-)
# >> files libGLESv1-devel
%doc license.txt
/usr/include/GLES/*.h
# << files libGLESv1-devel
%files libGLESv2
%defattr(-,root,root,-)
# >> files libGLESv2
%doc license.txt
/usr/lib/libGLESv2*.so
/usr/lib/libGLESv2.so.2
# << files libGLESv2
%files libGLESv2-devel
%defattr(-,root,root,-)
# >> files libGLESv2-devel
%doc license.txt
/usr/include/GLES2/*.h
# << files libGLESv2-devel
===================================================================
More information about the MeeGo-commits
mailing list