Red Hat RPM - Creating a rpm

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat RPM > January 2004 > Creating a rpm





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Creating a rpm
Sebastian Scholz

2004-01-23, 7:48 pm

Hi,

I like to create a rpm to use the advantage of the versioncheck and package
dependencies. The software I like to install with the rpm does not have to
be compiled. Actually I just want to pack just a few files togeather. I
created that spec file but nothing happends, not even an error message. rpm
just gives me the help parameters again.

I use "rpm -bb SPECS/test.spec" and the file is located under
/usr/src/packages/SPECS/ :

--------------------------------
---- test.spec ------------------
Summary: Test RPM.
Name: TEST
Version: 1.0.2
Release: 3
Vendor: TESTCompany
Requires: testpackage >=1.0.1


%description
A test rpm.

%define INSTALL_DIR /usr/teststuff

%prep

%install
echo Install Test Test


%clean
rm -rf $RPM_BUILD_ROOT

%files
/usr/testdir
/usr/testfile

%changelog
* Tue Nov 18 2003 test <test@test.com>
- test (release 3)

--------------------------------

Hope someone can give me a hint whats wrong.

Sebastian



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com