Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh
hello_world
hello_world.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hello_world.spec of Package hello_world
Name: hello_world Version: 1.0 Release: 42 Source1: hello_world.c Summary: %{name} License: GPL Group: Example BuildRoot: %{_tmppath}/%{name}-%{version}-build %description %prep : name '%{name}' : BUILD_FLAVOR '@BUILD_FLAVOR@' %setup -q -c -T pwd id %build env set gcc $RPM_OPT_FLAGS -Wall -o hello_world %{S:1} %install rm -rf $RPM_BUILD_ROOT mkdir -vp $RPM_BUILD_ROOT/usr/bin cp -av hello_world $RPM_BUILD_ROOT/usr/bin/%{name} > $RPM_BUILD_ROOT/usr/bin/* ascii="`$(type -P echo) -e '\xc3\xa8'`" ln -fvbn %{name} "$RPM_BUILD_ROOT/usr/bin/%{name}.${ascii}" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/bin/*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor