Hello !
Merci de votre aide constante, ca fait plaisir 🙂
Bon j'avoue que trasher m'a tracé une voie d'or mais tant mieux, j'ai une bien meillieure vue du fonctionnement du fichier .spec maintenant
L'empaquetage à l'air d'etre OK, je poste en dessous le (long) rapport apparement sans message d'erreur et mon fichier .spec !
Création :
RPM-builder@Dwarf ~/rpmbuild/SPECS $ rpmbuild -bp fedora-images-one.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eRsqPG
+ umask 022
+ cd /home/RPM-builder/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/RPM-builder/rpmbuild/BUILD
+ rm -rf fedora-images-one-1.0
+ /bin/tar -xf /home/RPM-builder/rpmbuild/SOURCES/fedora-images-one-1.0.tar
+ cd fedora-images-one-1.0
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
RPM-builder@Dwarf ~/rpmbuild/SPECS $ rpmbuild -bi --short-circuit fedora-images-one.spec
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6VGtwx
+ umask 022
+ cd /home/RPM-builder/rpmbuild/BUILD
+ '[' /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386 '!=' / ']'
+ rm -rf /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
++ dirname /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
+ mkdir -p /home/RPM-builder/rpmbuild/BUILDROOT
+ mkdir /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
+ cd fedora-images-one-1.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mkdir -p '/home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386//usr/share/%{Wallpapers}'
+ install -d BUILD/fedora-images-one-1.0 '/home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386//usr/share/%{Wallpapers}'
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/RPM-builder/rpmbuild/BUILD/fedora-images-one-1.0
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: fedora-images-one-1.0-1.fc14.i686
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: fedora-images-one-debuginfo-1.0-1.fc14.i686
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
RPM-builder@Dwarf ~/rpmbuild/SPECS $ rpmbuild -ba fedora-images-one.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BzxYmU
+ umask 022
+ cd /home/RPM-builder/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/RPM-builder/rpmbuild/BUILD
+ rm -rf fedora-images-one-1.0
+ /bin/tar -xf /home/RPM-builder/rpmbuild/SOURCES/fedora-images-one-1.0.tar
+ cd fedora-images-one-1.0
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Dzy4J2
+ umask 022
+ cd /home/RPM-builder/rpmbuild/BUILD
+ cd fedora-images-one-1.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vFkiab
+ umask 022
+ cd /home/RPM-builder/rpmbuild/BUILD
+ '[' /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386 '!=' / ']'
+ rm -rf /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
++ dirname /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
+ mkdir -p /home/RPM-builder/rpmbuild/BUILDROOT
+ mkdir /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
+ cd fedora-images-one-1.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mkdir -p '/home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386//usr/share/%{Wallpapers}'
+ install -d BUILD/fedora-images-one-1.0 '/home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386//usr/share/%{Wallpapers}'
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/RPM-builder/rpmbuild/BUILD/fedora-images-one-1.0
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: fedora-images-one-1.0-1.fc14.i686
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: fedora-images-one-debuginfo-1.0-1.fc14.i686
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
Wrote: /home/RPM-builder/rpmbuild/SRPMS/fedora-images-one-1.0-1.fc14.src.rpm
Wrote: /home/RPM-builder/rpmbuild/RPMS/i686/fedora-images-one-1.0-1.fc14.i686.rpm
Wrote: /home/RPM-builder/rpmbuild/RPMS/i686/fedora-images-one-debuginfo-1.0-1.fc14.i686.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hAa7fL
+ umask 022
+ cd /home/RPM-builder/rpmbuild/BUILD
+ cd fedora-images-one-1.0
+ rm -rf /home/RPM-builder/rpmbuild/BUILDROOT/fedora-images-one-1.0-1.fc14.i386
+ exit 0
RPM-builder@Dwarf ~/rpmbuild/SPECS $ cd .. ; ls -R
.:
BUILD BUILDROOT RPMS SOURCES SPECS SRPMS
./BUILD:
fedora-images-one-1.0
./BUILD/fedora-images-one-1.0:
BUILD debugfiles.list debuglinks.list debugsources.list logo.png
./BUILD/fedora-images-one-1.0/BUILD:
fedora-images-one-1.0
./BUILD/fedora-images-one-1.0/BUILD/fedora-images-one-1.0:
./BUILDROOT:
./RPMS:
i686
./RPMS/i686:
fedora-images-one-1.0-1.fc14.i686.rpm
fedora-images-one-debuginfo-1.0-1.fc14.i686.rpm
./SOURCES:
fedora-images-one-1.0 fedora-images-one-1.0.tar
./SOURCES/fedora-images-one-1.0:
logo.png
./SPECS:
fedora-images-one.spec
./SRPMS:
fedora-images-one-1.0-1.fc14.src.rpm
Fichier .spec :
RPM-builder@Dwarf ~/rpmbuild $ cat SPECS/fedora-images-one.spec
Name: fedora-images-one
Version: 1.0
Release: 1%{?dist}
Summary: Fedora
#Group:
License: GNU GPL
#URL:
Source0: fedora-images-one-1.0.tar
#BuildRequires:
#Requires:
%description
Fedora logos and wallpapers
%prep
%setup -q
%build
#
%install
mkdir -p %{buildroot}/%{_datadir}/%{Wallpapers}
install -d BUILD/fedora-images-one-1.0 %{buildroot}/%{_datadir}/%{Wallpapers}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc
%{_datadir}/%{Wallpapers}
%changelog
RPM-builder@Dwarf ~/rpmbuild $
Ca me semble bien lancé non? 🙂 en tout cas, le .rpm est présent
Je m'en vais lire la doc sur la facon de tester un rpm !