You submitted this to Tools:Testing as well. And I also you use %{?fedora} to
detect fedora platform
So this is a tools that could run both Fedora and MeeGo platform?
Peter
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of talahtel
> Sent: Monday, November 22, 2010 6:13 PM
> To: [email protected]
> Subject: [meego-commits] 9634: New package Trunk:Testing/qttas-server
>
> Hi,
> Adding new package qttas-server in project Trunk:Testing. Please review and
> accept ASAP.
>
> Justification for this new package:
>
> - Added (committed..) Information about FEA#8504 into changelog
> - use %qmake and %qmake_install macros
> - Kept Fedora tags -- the same spec is in use in other environments
> (Tools:Testing).
>
> Thank You,
> talahtel
>
> [This message was auto-generated]
>
> ---
>
> Request #9634:
>
> submit: devel:quality/qttas-server(r15) -> Trunk:Testing/qttas-server
>
>
> Message:
> - Added (committed..) Information about FEA#8504 into changelog
> - use %qmake and %qmake_install macros
> - Kept Fedora tags -- the same spec is in use in other environments
> (Tools:Testing).
>
> State: new 2010-11-22T02:12:35 talahtel
> Comment: None
>
>
> This is a NEW package in Trunk:Testing project.
> The files in the new package:
> qttas-server/
> |__ debian.tar.gz
> |__ qttas-server-0.9.2.tar.gz
> |__ qttas-server.changes
> |__ qttas-server.dsc
> |__ qttas-server.spec
> |__ xbmc.rpmlintrc
>
> The content of the spec file, qttas-server.spec:
> ================================================================
> ===
> Name: qttas-server
> Version: 0.9.2
> Release: 1
> Summary: Qt Test Automation Server
> Group: Development/Tools
> License: LGPL
> URL: http://gitorious.org/tdriver/agent_qt
> Source0: %{name}-%{version}.tar.gz
> BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
>
> BuildRequires: pkgconfig(QtCore)
> BuildRequires: pkgconfig(QtWebKit)
> BuildRequires: pkgconfig(x11)
> BuildRequires: pkgconfig(xext)
> BuildRequires: pkgconfig(xi)
> BuildRequires: pkgconfig(xtst)
>
> # The same spec is also foor Tools:Testing, which is used in Fedora
> %if 0%{?fedora}
> BuildRequires: gcc-c++
> %endif
>
> Requires: qttas-server-plugins
>
> %description
> Qt TAS is a test automation server which provides testability
> interface. Interface is used to access UI components to
> verify and control them.
>
> %prep
> %setup -q
>
> %build
> # TODO add CONFIG+=maemo (once dependencies are there)
> # The same spec is also for Tools:Testing, which is used in Fedora
> %if 0%{?fedora}
> qmake-qt4
> %else
> %qmake -r CONFIG+=RPM CONFIG+=no_mobility
> %endif
> make %{?_smp_mflags}
>
>
> %install
> rm -rf %{buildroot}
> %if 0%{?fedora}
> make install INSTALL_ROOT=%{buildroot}
> %else
> %qmake_install
> %endif
>
> # remove executable bits from examples
> # find ${buildroot} -name "*examples*" -type f|xargs chmod a-x
>
> %clean
> rm -rf %{buildroot}
>
>
> #
> # Package qttas-server
> #
>
> %files
> %defattr(-,root,root,-)
> %{_bindir}/qttas*
> %config %{_sysconfdir}/qt_testability/*
> %config %{_sysconfdir}/xdg/autostart/qttasserver.desktop
>
>
> %package libs
> Summary: Qt Test automation server library files
>
> %description libs
> Qt TAS development library files
>
> %files libs
> %defattr(-,root,root,-)
> %{_libdir}/lib*
>
> # other
> %post libs
> /sbin/ldconfig
> %postun libs
> /sbin/ldconfig
>
>
> #
> # Package qttas-server-devel
> #
>
> %package devel
> Summary: Qt Test automation server development headers
> Requires: qttas-server-libs
>
> %description devel
> Qt TAS development header.
>
> %files devel
> %defattr(-,root,root,-)
> %{_includedir}/tdriver/*
> /usr/share/qt4/mkspecs/features/*
> /usr/share/doc/qttas-dev/examples/hellotraverse/*
>
>
>
> %package plugins
> Summary: Qt Test automation server plugins
> %description plugins
> Qt Test Automation Server plugins
>
>
> %files plugins
> %defattr(-,root,root,-)
> %{_libdir}/qt4/plugins/*
>
>
>
> ================================================================
> ===
>
> _______________________________________________
> 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