File qconf.spec of Package qconf
#
# spec file for package qconf
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: qconf
Url: http://delta.affinix.com/qconf/
License: GPLv2
Group: Development/Tools/Other
Version: 1.4.99.801
Release: 1
Summary: Configuration tool for qmake
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libqt4-devel
BuildRequires: gcc-c++
%description
QConf allows you to have a nice configure script for your qmake-based project.
It is intended for developers who don’t need (or want) to use the more complex
GNU autotools. With qconf/qmake, it is easy to maintain a cross-platform project
that uses a familiar configuration interface on unix.
%prep
%setup -q
%build
export QMAKE_CXXFLAGS="%{optflags}"
./configure --prefix=%{_prefix}
make %{?jobs:-j%jobs}
%install
make INSTALL_ROOT=%{buildroot} STRIP=true install
%files
%defattr(-,root,root)
%doc COPYING README TODO
%{_bindir}/qconf
%{_datadir}/%{name}
%changelog