I mean use Builder of qmake in yaml which would result in appropriate %qmake and %qmake_install in final spec file
Peter > -----Original Message----- > From: Rees, Kevron M > Sent: Monday, February 28, 2011 11:56 PM > To: Zhu, Peter J > Cc: [email protected]; Graydon, Tracy > Subject: RE: [meego-commits] 14276: New package Trunk:Testing/connman-qt > > On Sun, 2011-02-27 at 21:50 -0800, Zhu, Peter J wrote: > > Please use qmake as Builder. > > > > Peter > > The qmake builder doesn't work: > > + qmake install_prefix=/usr > + qmake-qt4 install_prefix=/usr > /var/tmp/rpm-tmp.uDgUYR: line 41: qmake-qt4: command not found > error: Bad exit status from /var/tmp/rpm-tmp.uDgUYR (%build) > > > > > > > -----Original Message----- > > > From: [email protected] > > > [mailto:[email protected]] On Behalf Of Kevron Rees > > > Sent: Saturday, February 26, 2011 2:23 AM > > > To: [email protected] > > > Subject: [meego-commits] 14276: New package Trunk:Testing/connman-qt > > > > > > Hi, > > > Adding new package connman-qt in project Trunk:Testing. Please review > and > > > accept ASAP. > > > > > > Justification for this new package: > > > > > > resolves FEA #13383 > > > > > > Thank You, > > > Kevron Rees > > > > > > [This message was auto-generated] > > > > > > --- > > > > > > Request #14276: > > > > > > submit: home:kevronx_m_rees/connman-qt(r16) -> > > > Trunk:Testing/connman-qt > > > > > > > > > Message: > > > resolves FEA #13383 > > > > > > State: new 2011-02-25T05:21:12 kevronx_m_rees > > > Comment: None > > > > > > > > > This is a NEW package in Trunk:Testing project. > > > The files in the new package: > > > connman-qt/ > > > |__ Makefile > > > |__ connman-qt-0.0.2.tar.bz2 > > > |__ connman-qt.changes > > > |__ connman-qt.spec > > > |__ connman-qt.yaml > > > > > > The content of the YAML file, connman-qt.yaml: > > > > ================================================================ > > > === > > > Name: connman-qt > > > Summary: qt bindings for connman > > > Version: 0.0.2 > > > Release: 1 > > > Group: System/GUI/Other > > > License: Apache License > > > URL: http://www.meego.com > > > Sources: > > > - "%{name}-%{version}.tar.bz2" > > > Description: | > > > This is a library for working with connman using Qt > > > > > > Requires: > > > - connman > > > PkgBR: > > > - doxygen > > > - qt-devel-tools > > > PkgConfigBR: > > > - QtCore >= 4.6.0 > > > - QtDBus > > > - QtOpenGL > > > - QtGui > > > - dbus-1 > > > Configure: none > > > Builder: make > > > Files: > > > - "%{_libdir}/libconnman-qt4.so.*" > > > SubPackages: > > > - Name: devel > > > Summary: Development files for connman-qt > > > Group: Development/Libraries > > > Description: | > > > This package contains the files necessary to develop > > > applications using libconnman-qt > > > Files: > > > - "%{_usr}/include/connman-qt" > > > - "%{_usr}/lib/pkgconfig/connman-qt4.pc" > > > - "%{_usr}/lib/connman-qt4.pc" > > > - "%{_usr}/lib/libconnman-qt4.prl" > > > - "%{_usr}/lib/libconnman-qt4.so" > > > > > > > ================================================================ > > > === > > > > > > > > > The content of the spec file, connman-qt.spec: > > > > ================================================================ > > > === > > > # > > > # Do not Edit! Generated by: > > > # spectacle version 0.17 > > > # > > > # >> macros > > > # << macros > > > > > > Name: connman-qt > > > Summary: qt bindings for connman > > > Version: 0.0.2 > > > Release: 1 > > > Group: System/GUI/Other > > > License: Apache License > > > URL: http://www.meego.com > > > Source0: %{name}-%{version}.tar.bz2 > > > Source100: connman-qt.yaml > > > Requires: connman > > > Requires(post): /sbin/ldconfig > > > Requires(postun): /sbin/ldconfig > > > BuildRequires: pkgconfig(QtCore) >= 4.6.0 > > > BuildRequires: pkgconfig(QtDBus) > > > BuildRequires: pkgconfig(QtOpenGL) > > > BuildRequires: pkgconfig(QtGui) > > > BuildRequires: pkgconfig(dbus-1) > > > BuildRequires: doxygen > > > BuildRequires: qt-devel-tools > > > > > > > > > %description > > > This is a library for working with connman using Qt > > > > > > > > > > > > %package devel > > > Summary: Development files for connman-qt > > > Group: Development/Libraries > > > Requires: %{name} = %{version}-%{release} > > > > > > %description devel > > > This package contains the files necessary to develop > > > applications using libconnman-qt > > > > > > > > > > > > %prep > > > %setup -q -n %{name}-%{version} > > > > > > # >> setup > > > # << setup > > > > > > %build > > > # >> build pre > > > export PATH=$PATH:/usr/lib/qt4/bin > > > qmake install_prefix=/usr > > > # << build pre > > > > > > > > > make %{?jobs:-j%jobs} > > > > > > # >> build post > > > # << build post > > > %install > > > rm -rf %{buildroot} > > > # >> install pre > > > export INSTALL_ROOT=%{buildroot} > > > # << install pre > > > %make_install > > > > > > # >> install post > > > # << install post > > > > > > > > > > > > %post -p /sbin/ldconfig > > > > > > %postun -p /sbin/ldconfig > > > > > > > > > > > > > > > > > > %files > > > %defattr(-,root,root,-) > > > %{_libdir}/libconnman-qt4.so.* > > > # >> files > > > # << files > > > > > > > > > %files devel > > > %defattr(-,root,root,-) > > > %{_usr}/include/connman-qt > > > %{_usr}/lib/pkgconfig/connman-qt4.pc > > > %{_usr}/lib/connman-qt4.pc > > > %{_usr}/lib/libconnman-qt4.prl > > > %{_usr}/lib/libconnman-qt4.so > > > # >> files devel > > > # << files devel > > > > > > > > > > ================================================================ > > > === > > > > > > _______________________________________________ > > > 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
