File hello.spec of Package helloworld
Name: hello
Version: 1.0
Release: 0
Summary: A simple Hello, World program
License: MIT
Group: Development/Tools
Source0: %{name}.tar.gz
Patch1: 1.patch
#Patch2: 2.patch
BuildRequires: gcc
%description
This is a simple "Hello, World" program written in C.
%prep
%global debug_package %{nil}
%setup -q
%patch1 -p1
#%patch2
%build
gcc -o %{name} %{name}.c
%install
mkdir -p %{buildroot}/usr/bin
cp %{name} %{buildroot}/usr/bin/
%files
%{_bindir}/%{name}
%changelog