File hello.spec of Package FirstPackage

#
#  SPEC file for hello world program
#
Name: hello
Version: 1.0
Release: 1
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires:
Source0: %{name}-%{version}.tar.gz
Group: Applications/Useless
Summary: Hello, World program

%description
This program prints the text "Hello, World!" on your screen.

%prep
%setup
%build
make

%install
DESTDIR=$RPM_BUILD_ROOT make install

%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc $RPM_BUILD_DIR/hello-1.0/README
/usr/bin/hello
openSUSE Build Service is sponsored by