Please see comments below, also this is a simple package you should use
spectacle.
http://wiki.meego.com/Packaging/Guidelines#Writing_a_package_from_scratch
> Hi,
> Adding new package gstvabuffer in project Trunk:Testing. Please review and
> accept ASAP.
>
> Justification for this new package:
>
> Release new gstvabuffer package to Meego Trunk
>
> Thank You,
> lwan107
>
> [This message was auto-generated]
>
> ---
>
> Request #9486:
>
> submit: home:lwan107:branches:Trunk:Testing/gstvabuffer(r6)(cleanup)
> -> Trunk:Testing/gstvabuffer
>
>
> Message:
> Release new gstvabuffer package to Meego Trunk
>
> State: new 2010-11-14T18:10:05 lwan107
> Comment: None
>
>
> This is a NEW package in Trunk:Testing project.
> The files in the new package:
> gstvabuffer/
> |__ gstvabuffer-0.10.1.tar.bz2
> |__ gstvabuffer.changes
> |__ gstvabuffer.spec
>
> The content of the spec file, gstvabuffer.spec:
> ===================================================================
> # Copyright 2010 Intel Corporation All Rights Reserved.
> # The source code contained or described herein and all documents related
> to the source code ("Material") are owned by Intel Corporation or its
> suppliers or licensors. Title to the Material remains with Intel
> Corporation or its suppliers and licensors. The Material contains trade
> secrets and proprietary and confidential information of Intel or its
> suppliers and licensors. The Material is protected by worldwide copyright
> and trade secret laws and treaty provisions. No part of the Material may
> be used, copied, reproduced, modified, published, uploaded, posted,
> transmitted, distributed, or disclosed in any way without Intelâs prior
> express written permission.
> #
> # No license under any patent, copyright, trade secret or other
> intellectual property right is granted to or conferred upon you by
> disclosure or delivery of the Materials, either expressly, by implication,
> inducement, estoppel or otherwise. Any license under such intellectual
> property rights must be express and approved by Intel in writing.
>
THE ABOVE IS NOT RIGHT, REMOVE ASAP.
> Summary: GStreamer VA buffer library
> Name: gstvabuffer
> Version: 0.10.1
> Release: 1
> Source: %{name}-%{version}.tar.bz2
> NoSource: 0
> License: LGPL v2.0
> Group: System Environment/Libraries
> BuildRoot: %{_tmppath}/%{name}-%{version}-root
you don't need BuildRoot unless you are needing this package to be used in
older distros. Since I believe this is MeeGo only please remove.
> ExclusiveArch: i586 i386
This should be ExclusiveArch: %{ix86}
> BuildRequires: pkgconfig(gstreamer-0.10)
> BuildRequires: pkgconfig(libva)
> AutoReq: 0
>
> %description
> A gstreamer VA buffer library
>
> %package devel
> Summary: Libraries include files
> Group: Development/Libraries
> Requires: %{name} = %{version}
>
> %description devel
> The %{name}-devel package contains the header files and shared libraries
> for building applications which use %{name}.
>
> %prep
> %setup -q
> %build
> ./autogen.sh
> ./configure --prefix=%{_prefix}
> make
> %install
> make DESTDIR=$RPM_BUILD_ROOT install
> %clean
> rm -rf $RPM_BUILD_ROOT
Only MeeGo 1.0 needs a clean, please remove rm-rf $RPM_BUILD_ROOT
>
> %post -p /sbin/ldconfig
> %postun -p /sbin/ldconfig
>
>
> %files
> %defattr(-,root,root)
> %{_prefix}/lib/libgstvabuffer.so.*
> %exclude %{_prefix}/lib/libgstvabuffer.la
>
> %files devel
> %defattr(-,root,root)
> %{_prefix}/include/gstvabuffer
> %{_prefix}/lib/libgstvabuffer.so
> %{_prefix}/lib/pkgconfig/gstvabuffer.pc
> %exclude %{_prefix}/lib/libgstvabuffer.la
>
> ===================================================================
>
> _______________________________________________
> 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