|
|
| 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
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
quote:
> 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/ :
>
use
rpmbuild -bb SPECS/test.spec
Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
quote:
> 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/ :
>
use
rpmbuild -bb SPECS/test.spec
Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
quote:
> 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/ :
>
use
rpmbuild -bb SPECS/test.spec
Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
quote:
> 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/ :
>
use
rpmbuild -bb SPECS/test.spec
Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
quote:
> 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/ :
>
use
rpmbuild -bb SPECS/test.spec
Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks alot I will try that.
But why do all the HOWTOs like this one :
http://www.ibiblio.org/pub/Linux/do...l_single/RPM-HO
WTO.html#SPEC-FILE
say I should do that :
rpm -ba foobar-1.0.spec
Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks alot I will try that.
But why do all the HOWTOs like this one :
http://www.ibiblio.org/pub/Linux/do...l_single/RPM-HO
WTO.html#SPEC-FILE
say I should do that :
rpm -ba foobar-1.0.spec
Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks alot I will try that.
But why do all the HOWTOs like this one :
http://www.ibiblio.org/pub/Linux/do...l_single/RPM-HO
WTO.html#SPEC-FILE
say I should do that :
rpm -ba foobar-1.0.spec
Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks alot I will try that.
But why do all the HOWTOs like this one :
http://www.ibiblio.org/pub/Linux/do...l_single/RPM-HO
WTO.html#SPEC-FILE
say I should do that :
rpm -ba foobar-1.0.spec
Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks alot I will try that.
But why do all the HOWTOs like this one :
http://www.ibiblio.org/pub/Linux/do...l_single/RPM-HO
WTO.html#SPEC-FILE
say I should do that :
rpm -ba foobar-1.0.spec
Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
package.rpm it will install but I cant find the files anywhere. And 2nd when
I try to use rpm -e package.rpm it tells me that the package is not
installed, but says package already installed when I use rpm -i package.rpm
again.
Any idea ?
Thanks, Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
package.rpm it will install but I cant find the files anywhere. And 2nd when
I try to use rpm -e package.rpm it tells me that the package is not
installed, but says package already installed when I use rpm -i package.rpm
again.
Any idea ?
Thanks, Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
package.rpm it will install but I cant find the files anywhere. And 2nd when
I try to use rpm -e package.rpm it tells me that the package is not
installed, but says package already installed when I use rpm -i package.rpm
again.
Any idea ?
Thanks, Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
package.rpm it will install but I cant find the files anywhere. And 2nd when
I try to use rpm -e package.rpm it tells me that the package is not
installed, but says package already installed when I use rpm -i package.rpm
again.
Any idea ?
Thanks, Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
package.rpm it will install but I cant find the files anywhere. And 2nd when
I try to use rpm -e package.rpm it tells me that the package is not
installed, but says package already installed when I use rpm -i package.rpm
again.
Any idea ?
Thanks, Sebastian
"Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...quote:
> On Tue, 18 Nov 2003 14:38:51 +0100, Sebastian Scholz wrote:
>
to[QUOTE][color=darkred]
>
> use
>
> rpmbuild -bb SPECS/test.spec
>
> Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Wed, 19 Nov 2003 14:07:52 +0100, Sebastian Scholz wrote:
<top posting corrected>
quote:
> "Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
> news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...
> to
>
> Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
> package.rpm it will install but I cant find the files anywhere. And 2nd
> when I try to use rpm -e package.rpm it tells me that the package is not
> installed, but says package already installed when I use rpm -i
> package.rpm again.
>
> Any idea ?
>
> Thanks, Sebastian
>
Sure, try
rpm -q package
rpm -ql package
and
rpm -e package
to delete
(things like -e and -q take the package w/o the .rpm)
Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Wed, 19 Nov 2003 14:07:52 +0100, Sebastian Scholz wrote:
<top posting corrected>
quote:
> "Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
> news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...
> to
>
> Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
> package.rpm it will install but I cant find the files anywhere. And 2nd
> when I try to use rpm -e package.rpm it tells me that the package is not
> installed, but says package already installed when I use rpm -i
> package.rpm again.
>
> Any idea ?
>
> Thanks, Sebastian
>
Sure, try
rpm -q package
rpm -ql package
and
rpm -e package
to delete
(things like -e and -q take the package w/o the .rpm)
Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Wed, 19 Nov 2003 14:07:52 +0100, Sebastian Scholz wrote:
<top posting corrected>
quote:
> "Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
> news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...
> to
>
> Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
> package.rpm it will install but I cant find the files anywhere. And 2nd
> when I try to use rpm -e package.rpm it tells me that the package is not
> installed, but says package already installed when I use rpm -i
> package.rpm again.
>
> Any idea ?
>
> Thanks, Sebastian
>
Sure, try
rpm -q package
rpm -ql package
and
rpm -e package
to delete
(things like -e and -q take the package w/o the .rpm)
Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Wed, 19 Nov 2003 14:07:52 +0100, Sebastian Scholz wrote:
<top posting corrected>
quote:
> "Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
> news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...
> to
>
> Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
> package.rpm it will install but I cant find the files anywhere. And 2nd
> when I try to use rpm -e package.rpm it tells me that the package is not
> installed, but says package already installed when I use rpm -i
> package.rpm again.
>
> Any idea ?
>
> Thanks, Sebastian
>
Sure, try
rpm -q package
rpm -ql package
and
rpm -e package
to delete
(things like -e and -q take the package w/o the .rpm)
Jacob
| |
| Jacob Heider 2004-01-23, 7:48 pm |
| On Wed, 19 Nov 2003 14:07:52 +0100, Sebastian Scholz wrote:
<top posting corrected>
quote:
> "Jacob Heider" <lord-jacob@comcast.net> schrieb im Newsbeitrag
> news:ca1f935583755faa840d0109bdbed858@ne
ws.teranews.com...
> to
>
> Ok, that works so far. Now I have 2 new problems. 1st when I use rpm -i
> package.rpm it will install but I cant find the files anywhere. And 2nd
> when I try to use rpm -e package.rpm it tells me that the package is not
> installed, but says package already installed when I use rpm -i
> package.rpm again.
>
> Any idea ?
>
> Thanks, Sebastian
>
Sure, try
rpm -q package
rpm -ql package
and
rpm -e package
to delete
(things like -e and -q take the package w/o the .rpm)
Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks again Jacob. The only problem left with the "rpm -e package" is that
I was somehow able to install the package twice and it tells me that the
package name shows more then one package.
There is one more prblem with the rpm itself. I try to install it which
works fine but the files I added in the SPEC file (see the first posting)
are nowhere seen.
Hope you can give me a hint here aswell ;)
Sebastian
quote:
> Sure, try
>
> rpm -q package
> rpm -ql package
> and
> rpm -e package
> to delete
>
> (things like -e and -q take the package w/o the .rpm)
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks again Jacob. The only problem left with the "rpm -e package" is that
I was somehow able to install the package twice and it tells me that the
package name shows more then one package.
There is one more prblem with the rpm itself. I try to install it which
works fine but the files I added in the SPEC file (see the first posting)
are nowhere seen.
Hope you can give me a hint here aswell ;)
Sebastian
quote:
> Sure, try
>
> rpm -q package
> rpm -ql package
> and
> rpm -e package
> to delete
>
> (things like -e and -q take the package w/o the .rpm)
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks again Jacob. The only problem left with the "rpm -e package" is that
I was somehow able to install the package twice and it tells me that the
package name shows more then one package.
There is one more prblem with the rpm itself. I try to install it which
works fine but the files I added in the SPEC file (see the first posting)
are nowhere seen.
Hope you can give me a hint here aswell ;)
Sebastian
quote:
> Sure, try
>
> rpm -q package
> rpm -ql package
> and
> rpm -e package
> to delete
>
> (things like -e and -q take the package w/o the .rpm)
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks again Jacob. The only problem left with the "rpm -e package" is that
I was somehow able to install the package twice and it tells me that the
package name shows more then one package.
There is one more prblem with the rpm itself. I try to install it which
works fine but the files I added in the SPEC file (see the first posting)
are nowhere seen.
Hope you can give me a hint here aswell ;)
Sebastian
quote:
> Sure, try
>
> rpm -q package
> rpm -ql package
> and
> rpm -e package
> to delete
>
> (things like -e and -q take the package w/o the .rpm)
>
> Jacob
| |
| Sebastian Scholz 2004-01-23, 7:48 pm |
| Thanks again Jacob. The only problem left with the "rpm -e package" is that
I was somehow able to install the package twice and it tells me that the
package name shows more then one package.
There is one more prblem with the rpm itself. I try to install it which
works fine but the files I added in the SPEC file (see the first posting)
are nowhere seen.
Hope you can give me a hint here aswell ;)
Sebastian
quote:
> Sure, try
>
> rpm -q package
> rpm -ql package
> and
> rpm -e package
> to delete
>
> (things like -e and -q take the package w/o the .rpm)
>
> Jacob
|
|
|
|