%define qtdir /usr/lib/qt4 Name: qsa Version: 1.2.2 Release: 2mamba Summary: A multiplatform, JavaScript-based scripting toolkit for making customizable Qt applications Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.trolltech.com/products/qsa/index.html Source: http://www.trolltech.com/developer/download/qsa-x11-opensource-%{version}.tar.gz License: GPL BuildRequires: libqt4-devel >= 4.2.3 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Qt Script for Applications is a multiplatform toolkit that allows developers to make their C++ applications scriptable using an interpreted scripting language, Qt Script (based on JavaScript). QSA allows developers to make their applications more attractive to end-users, VARs (Value Added Resellers) and their own support staff. All three groups are empowered by scripting to compose their own functionality from the functions that the application developer provides, and from the Qt library itself. %prep %setup -q -n qsa-x11-opensource-%{version} %build PATH=%{qtdir}/bin:$PATH \ QTDIR=%{qtdir} \ ./configure -prefix %{buildroot}%{qtdir}/ PATH=%{qtdir}/bin:$PATH QTDIR=%{qtdir} make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall chmod 755 %{buildroot}%{qtdir}/doc/html/images %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{qtdir}/lib/libqsa.so %{qtdir}/lib/libqsa.so.* %{qtdir}/include/*.h %{qtdir}/doc/html/* %{qtdir}/mkspecs/features/qsa.prf %changelog * Tue Jul 03 2007 Aleph0 1.2.2-2mamba - fixed permissions of the documentation directory * Wed May 09 2007 Silvan Calarco 1.2.2-1mamba - update to 1.2.2 * Mon Jul 07 2003 Silvan Calarco 1.0.0-1qilnx - first build of QSA