[openmamba-devel-it] aiuto specfile
gil
puntogil a libero.it
Mar 4 Mar 2008 17:25:14 CET
ciao
sto facendo un po di pratica con autospec...
ho questo errore:
+ /usr/lib/rpm/brp-infodir
+ /usr/lib/rpm/brp-strip-builddirs
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-shared
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
+ /usr/lib/rpm/brp-nobuildrootpath
Processing files: skype-2.0.0.43-1mamba
error: File must begin with "/": %{_desktopdir}/*.desktop
error: File must begin with "/": %{_miconsdir}/*
error: File must begin with "/": %{_liconsdir}/*
error: File must begin with "/": %{_niconsdir}/*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.57979
+ umask 022
+ cd /usr/src/RPM/BUILD
+ DOCDIR=/var/tmp/skype-root/usr/share/doc/skype-2.0.0.43
+ export DOCDIR
+ rm -rf /var/tmp/skype-root/usr/share/doc/skype-2.0.0.43
+ /bin/mkdir -p /var/tmp/skype-root/usr/share/doc/skype-2.0.0.43
+ cp -pr README LICENSE
ChangeLog /var/tmp/skype-root/usr/share/doc/skype-2.0.0.43
cp: cannot stat `README': No such file or directory
cp: cannot stat `LICENSE': No such file or directory
cp: cannot stat `ChangeLog': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.57979 (%doc)
RPM build errors:
File must begin with "/": %{_desktopdir}/*.desktop
File must begin with "/": %{_miconsdir}/*
File must begin with "/": %{_liconsdir}/*
File must begin with "/": %{_niconsdir}/*
Bad exit status from /var/tmp/rpm-tmp.57979 (%doc)
ERROR: rpmbuild è terminato con il codice d'errore `1
il file spec lo combinato... cosi :
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d T %{buildroot}{%{_bindir},/usr/doc/%{name}-%{version},/install,
%{_datadir}/applications,%{_datadir}/icons/hicolor/{16x16,32x32,48x48}/apps/,
%{_datadir}/%{name},%{_datadir}/%{name}/{lang,sounds,avatars},
%{_sysconfdir}/dbus-1/system.d}
install -D -m
644 /usr/src/RPM/BUILD/usr/share/%{name}/%{name} %{buildroot}%{_bindir}/%{name}/%{name}
install -D -m
644 /usr/src/RPM/BUILD/usr/share/skype/sounds/*.wav %{buildroot}%{_datadir}/%{name}/sounds/
install -D -m
644 /usr/src/RPM/BUILD/usr/share/skype/lang/*.qm %{buildroot}%{_datadir}/%{name}/lang/
install -D -m
644 /usr/src/RPM/BUILD/usr/share/skype/lang/*.ts %{buildroot}%{_datadir}/%{name}/lang/
install -D -m
644 /usr/src/RPM/BUILD/usr/share/skype/avatars/*.png %{buildroot}%{_datadir}/%{name}/avatars/
install -D -m
644 /usr/src/RPM/BUILD/etc/dbus-1/system.d/%{name}.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/
install -D -m
644 /usr/src/RPM/BUILD/usr/share/icons/hicolor/16x16/apps/*.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/
install -D -m
644 /usr/src/RPM/BUILD/usr/share/icons/hicolor/32x32/apps/*.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
install -D -m
644 /usr/src/RPM/BUILD/usr/share/icons/hicolor/48x48/apps/*.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
install -D -m
644 /usr/share/applications/*.desktop %{buildroot}%{_datadir}/applications/
install -D -m
644 /usr/src/RPM/BUILD/install/slack-required %{buildroot}/install
install -D -m 644 /usr/src/RPM/BUILD/install/slack-desc %{buildroot}/install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%doc README LICENSE ChangeLog
%{_bindir}/*
%{_desktopdir}/*.desktop
%{_miconsdir}/*
%{_liconsdir}/*
%{_niconsdir}/*
%{_datadir}/%{name}
Maggiori informazioni sulla lista
openmamba-devel-it