Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:timhawes76:test
hello
hello.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hello.spec of Package hello
Name: hello # List of additional build dependencies #BuildRequires: gcc-c++ libxml2-devel Version: 2.3 Release: 1 License: GPL v2 or later Source: hello-2.3.tar.bz2 Group: Productivity/Other Summary: GNU Hello program BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The GNU Hello program produces a familiar, friendly greeting. Yes, this is another implementation of the classic program that prints "Hello, world!" when you run it. Unlike the elementary version often seen, GNU Hello processes its argument list to modify its behavior, supports greetings in many languages, and so on. Of course, the primary purpose of this program is to demonstrate how to write other programs that do these things; it serves as a model for all of the GNU coding standards and other recommended practices. %prep %setup %build # Assume that the package is built by plain 'make' if there's no ./configure. # This test is there only because the wizard doesn't know much about the # package, feel free to clean it up if test -x ./configure; then %configure fi make %install make DESTDIR=%buildroot install # Write a proper %%files section and remove these two commands and # the '-f filelist' option to %%files echo '%%defattr(-,root,root)' >filelist find %buildroot -type f -printf '/%%P*\n' >>filelist %clean rm -rf %buildroot %files -f filelist %defattr(-,root,root) # This is a place for a proper filelist: # /usr/bin/hello # You can also use shell wildcards: # /usr/share/hello/* # This installs documentation files from the top build directory # into /usr/share/doc/... # %doc README COPYING # The advantage of using a real filelist instead of the '-f filelist' trick is # that rpmbuild will detect if the install section forgets to install # something that is listed here %changelog * Tue Aug 05 2008 me@timhawes.com - packaged hello version 2.3 using the buildservice spec file wizard
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