Immer noch unklar für mich
[edit]
habe noch dein Edit deines letzten Postings gelesen:
Code:
rpmbuild --rebuild <Paketname>.src.rpm
Das führt aber bei mir nicht zu einem benutzbaren Paket.
Code:
#nach rpmbuild --rebuild:
~> recoverjpeg
bash: recoverjpeg: command not found
#nach checkinstall & dessen rpm:
~> recoverjpeg
Usage: recoverjpeg [options] file|device
Options:
-b blocksize Block size in bytes (default: 512)
-f format Format string in printf syntax
-h This help message
-i index Initial picture index
-m maxsize Max jpeg file size in bytes (default: 6m)
-q Be quiet
-r readsize Size of disk reads in bytes (default: 128m)
-v verbose Replace progress bar by details
Laut manpage soll ja "rpmbuild --rebuild" das Paket tatsächlich installieren:
Code:
When invoked this way, rpmbuild installs the named source package, and
does a prep, compile and install. In addition, --rebuild builds a new
binary package. When the build has completed, the build directory is
removed (as in --clean) and the the sources and spec file for the package
are removed.
[/edit]
Weil das ein source-rpm ist.
Ja. Daß in einer Source-RPM Sourcen sind, finde auch ich nicht so super erstaunlich.
Aber es gibt auch welche, die anschließend die Sourcen installieren.
Von dieser Liste:
Code:
# find * | grep "src.rpm"
AntPhone/ant-phone-0.1.5-41.src.rpm
CSS/libdvdcss2-1.2.9-0.pm.0.nosrc.rpm
Grafik/recoverjpeg-1.1.1-2.guru.suse101.src.rpm
Multimedia/ABC/abc2prt/abc2prt-1.0.2-1.src.rpm
Multimedia/ABC/abcMIDI/abcMIDI-2006_01_17-1.src.rpm
Multimedia/ABC/tclabc/tclabc-0.18.10-1.src.rpm
Multimedia/mpc/mpc-0.11.2-0.pm.0.src.rpm
Multimedia/Streamtuner/streamtuner-0.99.99-1.suse.src.rpm
Multimedia/mp3splt/mp3splt-2.1-1.src.rpm
Multimedia/k3b_monkey/k3bmonkeyaudioplugin-1.0-0.pm.0.src.rpm
Netz/Chat/CenterICQ/centericq-4.21.0-1.src.rpm
Netz/Portknocker/knock-0.5-1.src.rpm
Systool/Wine/wine-0.9.9-SuSELinux92.src.rpm
Systool/sane/sane-1.0.16-0.pm.0.src.rpm
Systool/Cacti/cacti-0.8.6i-1.src.rpm
Systool/ISO-tools/bin2iso-1.9-1.b.src.rpm
Systool/bin2iso/cdemu-0.7-SuSE9_br.src.rpm
Systool/bin2iso/bin2iso-1.9-0.b.rf.src.rpm
haben sich z.B. bei weitem nicht alle so verhalten. Sogar eher selten, wenn man das sieht:
Code:
# ls -l
insgesamt 17951
drwxr-xr-x 2 root root 1648 2007-01-25 17:21 .
drwxr-xr-x 7 root root 168 2004-10-14 17:48 ..
-rw-rw-r-- 1 root root 327669 2006-01-23 07:53 abcMIDI-2006_01_17.tar.gz
-rw-r--r-- 1 root root 315666 2003-07-30 16:05 ant-phone-0.1.5.tar.bz2
-rw-r--r-- 1 root root 9110 2003-08-17 15:49 ant-phone-codecleanup.diff
-rw-r--r-- 1 root root 63 2003-08-18 10:21 ant-phone.desktop
-rw-r--r-- 1 root root 140 2003-08-17 15:16 ant-phone-gettext_version.diff
-rw-r--r-- 1 root root 289 2003-08-18 10:50 ant-phone-isdn_log_name.diff
-rw-r--r-- 1 root root 379 2003-08-18 10:42 ant-phone-makefile.diff
-rw-r--r-- 1 root root 35594 2000-03-29 22:11 bin2iso19b_linux.c
-rw-r--r-- 1 root users 5115375 2005-05-28 14:25 bochs-2.2.tar.gz
-rw-r--r-- 1 root root 23038 2005-01-05 15:36 cdemu-0.7.tar.bz2
-rw-r--r-- 1 root users 1939915 2005-09-02 16:51 centericq-4.21.0.tar.gz
-rw-r--r-- 1 root root 702418 2004-12-21 20:52 icecast-2.2.0.tar.gz
-rw-r--r-- 1 root users 3189252 2004-12-11 17:52 k3b-0.11.18.tar.bz2
-rw-r--r-- 1 root users 2738463 2004-03-21 23:55 k3b-i18n-0.11.tar.bz2
-rw-r--r-- 1 root root 439377 2004-03-21 18:45 k3bmonkeyaudioplugin.tar.bz2
-rw-r--r-- 1 root root 83990 2005-06-29 20:59 knock-0.5.tar.gz
-rw-r--r-- 1 root root 303 2004-05-19 09:41 knockd.conf
-rw-r--r-- 1 root root 1779 2004-04-15 11:51 knockd.init
-rw-r--r-- 1 root root 12 2004-04-15 11:49 knockd.sysconfig
-rw-r--r-- 1 root users 298574 2005-07-29 17:04 libmpcdec-1.2.tar.bz2
-rw-r--r-- 1 root root 187 2003-09-09 17:23 logrotate.xntp
-rw-r--r-- 1 root root 1976 2003-08-22 19:29 ntp1.bk.patch
-rw-r--r-- 1 root root 332 2003-08-22 19:29 ntp2.bk.patch
-rw-r--r-- 1 root root 15240 2003-08-22 19:29 ntp-4.1.1-noroot.patch
-rw-r--r-- 1 root root 1792 2003-08-22 19:29 ntp-4.1.1.ntpdate_overflow.diff
-rw-r--r-- 1 root root 347 2003-05-20 13:20 ntp-4.1.1.SuSE-Config.diff
-rw-r--r-- 1 root root 4640 2003-08-21 21:08 ntp-4.1.1.SuSE-Config.tar.gz
-rw-r--r-- 1 root root 2019495 2003-05-20 13:20 ntp-4.1.1.tar.gz
-rw-r--r-- 1 root root 57318 2003-08-22 19:29 ntp-automake.diff
-rw-r--r-- 1 root root 210 2003-08-22 19:29 ntp-codecleanup.diff
-rw-r--r-- 1 root root 368171 2003-02-04 00:00 NTP-FAQ-3.4.tar.gz
-rw-r--r-- 1 root root 672 2003-08-22 19:29 ntp-libcap.diff
-rw-r--r-- 1 root root 57303 2003-09-03 18:27 ntp-no_caddr_t.diff
-rw-r--r-- 1 root root 292 2003-09-04 14:52 ntp-segfault_on_invalid_device.diff
-rw-r--r-- 1 root root 8079 2003-08-22 19:29 ntp-type_punning.diff
-rw-r--r-- 1 root root 68911 2006-12-07 22:41 recoverjpeg-1.1.1.tar.gz
-rw-r--r-- 1 root users 33386 2005-08-09 20:16 testtool-20030401_1.tar.bz2
-rw-r--r-- 1 root root 466 2003-08-22 19:29 xntp-libobjs.diff
-rw-r--r-- 1 root root 670 2003-08-29 18:28 xntp-posix_options.diff
-rw-rw-r-- 1 root root 406125 2005-03-16 05:30 yum-2.2.1.tar.gz
Ich meine, wenn man eine RPM und SPEC baut, in der alle nötigen Sourcen sind, wieso löst man dann nicht deren Installation aus?
Ich kapiere einfach nicht, wozu man mit einer RPM durchsetzt, daß Sourcen unter /usr/src/packages/SOURCES landen, wenn man sowieso nicht weiß, ob hinterher eine RPM darus gebaut wird, von der der packet manager was weiß. Schließlich sind nicht mal die meisten Sourcen als RPM verfügbar. Und in denen wo nicht RPM sind, steht in der README fast immer "irgend wo auspacken, als root Dreisatz machen". Kaum ein Mensch sucht herunter geladene Sourcen in "/usr/scr/packages/SOURCES", sonder da, wo man Downloads speichert bzw. sammelt. Also ich zumindest...