making an RPM package ??
hello everybody,
i wanna make a small aoftware package using linux redhat 9, but it is failing and failing with errors i solved all of them i think now but it still making errors i don't know why ?! do anyone did it before who can tell me trusted steps or a hyperlink to a trusted tutorial to do it and here is the steps i did exactly, tell me what is wrong plzz Quote:
also i used rpmbuild instead of rpm as i am using redhat 9 THANKS A LOT |
%define maj 1 %define min 0 %define rel 1 Summary: Print hello world Name: hello Version: %{maj}.%{min} Release: %{rel} License: GPL Group: Applications/Base Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version} Provides: %{name} Packager: name <add@re.ss> Prefix: /usr/bin %description This program prints the text "Hello, World!" %if %prep %setup -q %build make %install install -m 755 hello ${RPM_BUILD_ROOT}/usr/bin %clean rm -rf ${RPM_BUILD_ROOT} # %post # Nothing necessary here # %preun # Nothing necessary here # %postun # Nothing necessary here %files %defattr(640,root,root,550) %doc README %attr(755,root,root) /usr/bin/hello %changelog * Mon Dec 31 2007 name <add@re.ss> patchlevel - Made spec file Run "rpm -ba specfilename 2>&1|tee specfilename.log". If any errors, they'll be in the log ready to post. |
All times are GMT -5. The time now is 06:25 PM. |