File qhellow.spec of Package qhellow
# norootforbuild
Name: qhellow
Version: 0.1
Release: 1
Summary: Qt Test.
Group: Application/Education
License: GPLv3
Url: http://cheersounds.blogbus.com
BuildRequires: libqt4-devel
Source0: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Simple Qt Application, Test Build on OBS
%prep
%setup -n %name-%version
%build
qmake
make
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 qhellow $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
#%post
#%postun
%files
%defattr(-,root,root)
%{_bindir}/qhellow
%changelog