Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:nikanth
myhw
myhw.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File myhw.spec of Package myhw
Name: myhw # List of additional build dependencies #BuildRequires: gcc-c++ libxml2-devel Version: 0.01 Release: 1 License: GPL v2 or later Source: myhw.tar Group: Productivity/Other Summary: My hello world BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Test package that prints hello. Written by nikanth. Installs /usr/bin/myhw which prints a string. %prep %setup -q %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 install -d -m 0755 %{buildroot}/%{_bindir} install -m 0755 %{name} %{buildroot}/%{_bindir} #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) /usr/bin/myhw # This is a place for a proper filelist: # /usr/bin/myhw # You can also use shell wildcards: # /usr/share/myhw/* # 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 Nov 04 2008 knikanth@novell.com - packaged myhw version 0.01 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