File helloworld.spec of Package helloworld

Name: helloworld
Version: 3.2 
Release: 1A
Summary: helloworld software for Linux
License: GPL v3
Group: Productivity/Networking
Url: https://helloworld.com/
Source0: helloworld-3.2.tar.gz
Packager: tolikkon <tolikkon@rambler.ru>
Vendor: tolikkon
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires:	gcc-c++, cmake, pkgconfig(QtGui)



%description
helloworld classic application
 .
 tolikkon <tolikkon@rambler.ru>


#prepare sources
%prep
echo PREP________________
pwd
ls
%setup -q  #unpack sources


#build sources
%build
echo BUILD_________________
pwd
ls
cmake .
%{__make}



%install
echo INSTALL________________
echo $RPM_BUILD_ROOT
pwd
ls
mkdir -p $RPM_BUILD_ROOT/usr/bin
install helloworld $RPM_BUILD_ROOT/usr/bin


%files
%defattr(-,root,root)
%{_bindir}/helloworld


%clean
echo CLEAN_________________
pwd
ls
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR


%changelog
 * Thu Jul  7 2016 Anatoliy
 - 
 
openSUSE Build Service is sponsored by