Summary: PBA HelloWorld Name: pba-helloworld Version: 0.3.8 Release: 3 License: LGPL Group: Applications/Development Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-buildroot Requires: glibc BuildRequires: glibc-devel gcc ###XBCS-PBA-Category: pba ###XBCS-PBA-Generation: 1.0 ###XBCS-PBA-Distributions: centos8 ###XBCS-PBA-All-Distributions: centos8 ###XBCS-PBA-Repository: rpm.clazzes.org ###XBCS-PBA-Build-Source-fancyclibs: http://rpm.clazzes.org/repos/fancyclibs-1/fancyclibs-1.repo %description PBA HelloWorld is a hello world program for testing Clazzes.org's PBA (Package Builder and Archiver). For more information visit http://svn.clazzes.org/ %prep %setup -q %build mkdir -p build gcc -g src/pba-helloworld.c -o build/pba-helloworld %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/bin cp -p build/pba-helloworld $RPM_BUILD_ROOT/usr/bin/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin/pba-helloworld %changelog