Few review comments:

* Should be sent to Trunk:Testing instead of Trunk
* Typo in target OBS package 'layermananger'
* Use pkgconfig(glesv2) and pkgconfig(egl) instead of mesa-libEGL-devel and
mesa-libGLESv2-devel
* Similar things can probably be done to the other build dependancies
* %changelog should be in a seperate .changes file

http://wiki.meego.com/Packaging/Guidelines

BR
Carsten Munk

2011/7/27 Rudi <[email protected]>

> Hi,
> Adding new package layermananger in project Trunk. Please review and accept
> ASAP.
>
> Justification for this new package:
>
> Automotive Layer Manager package for MeeGo IVI. It allows displaying
> different visual layers on the screen with policies and priorities.
>
> Thank You,
> Rudi
>
> [This message was auto-generated]
>
> ---
>
> Request #23254:
>
>  submit:   home:rudolfstreif/layermananger(r1)(update) ->
> Trunk/layermananger
>
>
> Message:
>    Automotive Layer Manager package for MeeGo IVI. It allows displaying
> different visual layers on the screen with policies and priorities.
>
> State:   new          2011-07-27T01:35:28 rudolfstreif
> Comment: None
>
>
> This is a NEW package in Trunk project.
> The files in the new package:
> layermananger/
>  |__  layermanager-0.9.0.tar.gz
>  |__  layermanager.spec
>
> The content of the spec file, layermanager.spec:
> ===================================================================
> Name:           layermanager
> Version:        0.9.0
> Release:        1%{?dist}
> Summary:        GENIVI Layer Manager
> Vendor:     BMW AG
> #Group:
> License:        Apache
> #URL:
> Source0:        %{name}-%{version}.tar.gz
> BuildRoot:      %(mktemp -ud
> %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
>
> BuildRequires:  libXdamage-devel
> BuildRequires:  libXcomposite-devel
> BuildRequires:  libX11-devel
> BuildRequires:  cmake
> BuildRequires:  mesa-libEGL-devel
> BuildRequires:  mesa-libGLESv2-devel
> BuildRequires:  dbus-devel
>
> %description
> Layer Manager is an attempt to abstract compositing for the GENIVI
> Platform.
>
> %package devel
> Summary:        Header files for layer_management
> Requires:       layer_management >= %{version}
>
> %description devel
> Development header for Layer Management
>
> %prep
> %setup -q
>
> %build
> mkdir -p build
> cd build
> cmake ../ -DWITH_DESKTOP=OFF -DWITH_GLX_EXAMPLE=OFF -DWITH_TESTS=OFF
> -DWITH_EGL_EXAMPLE=ON -DWITH_X11_GLES=ON -DCMAKE_INSTALL_PREFIX=/usr
> -DCMAKE_BUILD_TYPE=DEBUG
> make %{?_smp_mflags}
>
>
> %install
> rm -rf $RPM_BUILD_ROOT
> cd build
> make install DESTDIR=$RPM_BUILD_ROOT
>
> %post
> /sbin/ldconfig
>
> %postun
> /sbin/ldconfig
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
>
> %files
> %defattr(-,root,root,-)
> %doc
> %{_libdir}/layermanager/communicator
> %{_libdir}/layermanager/renderer
> %{_libdir}/libLayerManagerCommands.so
> %{_libdir}/libilmClient.so
> %{_bindir}/*
>
> %files devel
> %defattr(-,root,root,-)
> %{_includedir}/layermanager
> %{_includedir}/ilm
> %{_libdir}/layermanager/static/libLayerManagerUtils.a
>
>
> %changelog
> * Mon Jul 11 2011 Erik Botö <[email protected]> 0.9.0
> - Initial version of spec for OBS building
> * Fri Jun 10 2011 Michael Schuldt <[email protected]> 0.9.0
> - Missing install target for LayerManagerToolBox added
> * Fri Jun 10 2011 Michael Schuldt <[email protected]> 0.8.1
> - Missing install target for renderer_frag_no_ualpha.glslf added
> * Tue May 24 2011 Timo LOTTERBACH <[email protected]> 0.8.1
> - Added new library LayerManagerCommands
> - Added new shader for optimization
> * Tue Mar 3 2011 Jonathan CONRAD <[email protected]> 0.3.0
> - Creation
>
> ===================================================================
>
> _______________________________________________
> MeeGo-commits mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-commits
>
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to