can any one please explain how to build rpm for fedora10 linux
I have created an application in java. I have tried to create rpm file for that application. But I did not found what is the error. When I am creating rpm file i received an error No file or directory found.
http://javaworkshop.wordpress.com/
can any one please explain how to build rpm for fedora10 linux
My application (which is a simple Swing application) is installer.tar.gz
installer.spec
---------------
Name: installer
Summary: The foo package does foo
Version :1
Release: 1
License: GPL
Group: Applications/Internet
URL: http://www.example.org/
Source0: %{name}.tar.gz
Buildroot: %{_tmppath}/%{name}-root
%description
This package performs the foo operation.
%prep
%setup -q
%build
%confifure
make
%install
rm -fr %{buildroot}
%makeinstall
%clean
rm -fr %{buildroot}
%changelog
----------------------
If I run rpmbuild -ba ~/rpm/SPECS/installer.spec then i found 开发者_如何学运维"No file or directory found error"
Thanks Sunil KUmar Sahoo
Have you created the SPEC file for your package?
It should be there before you call rpmdev-setuptree
and rpmbuild -bb --clean myprogram.spec
You can read more about SPEC files and rpm building in Fedora Developer's Guide.
精彩评论