Je m’invite a nouveau sur ce topic.
J’aimerais essayer kid3 mais je ne trouve pas de rpm. Je me suis donc renseigner pour le réaliser moi-même et j’ai suivi ces deux guide:
http://qa.mandrakesoft.com/twiki/bin/view/Main/RpmHowTo
http://www.linuxplusvalue.be/mylpv.php?id=97
Voici mon fichier spec:
%define name kid3
%define version 0.5
%define release 1md
Name: %{name}
Summary: Edit/Generate ID3 tags
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.bz2
URL: http://kid3.sourceforge.net/
Group: Applications/Multimedia
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
License: GPL
Requires: Qt, id3lib
%description
- Edit ID3v1.1 tags
- Edit all ID3v2.3 frames
- Convert between ID3v1.1 and ID3v2.3 tags
- Edit tags of multiple files, e.g. the artist, album, year and genre
of all files of an album typically have the same values and can be
set together.
- Generate tags from filenames
- Generate filenames from tags
- Rename directories from tags
- Generate playlist files
- Automatically convert upper and lower case and replace strings
- Import from freedb.org and other sources of album data
Kid3 uses Qt and id3lib and runs under Linux (KDE or only Qt) and Windows.
%prep
%setup -q
#%patch -p1
%build
%configure --prefix=/usr/X11R6/include --with-qt-include=/usr/include/qt3
%make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
%doc NEWS COPYING AUTHORS README
%{_bindir}/kid3
%changelog
- Création de mon premier RPM
Je tape ensuite : rpm -ba kid3.spec
configure ce passe bien, l’install (virtuel dans mon /rpm/BUILD) aussi par contre les paketages ne sont pas fait
et pour cause j’ai le message suivant:
[…] libX11.so.6 libXcursor.so.1 libXext.so.6 libXft.so.2 libXinerama.so.1 libXrandr.so.2 libXrender.so.1 libXt.so.6 libz.so.1
Vérification des fichiers non empaquetés: /usr/lib/rpm/check-files /home/micael/rpm/tmp/kid3-0.5-1md-buildroot
erreur: Fichier(s) installé(s) (mais non empaquetés):
/usr/share/applnk/Multimedia/kid3.desktop
/usr/share/apps/kid3/kid3ui.rc
/usr/share/doc/HTML/de/kid3/common
/usr/share/doc/HTML/de/kid3/index.cache.bz2
/usr/share/doc/HTML/de/kid3/index.docbook
/usr/share/doc/HTML/en/kid3/common
/usr/share/doc/HTML/en/kid3/index.cache.bz2
/usr/share/doc/HTML/en/kid3/index.docbook
/usr/share/icons/hicolor/16x16/apps/kid3.png
/usr/share/icons/hicolor/32x32/apps/kid3.png
/usr/share/icons/hicolor/48x48/apps/kid3.png
/usr/share/locale/de/LC_MESSAGES/kid3.mo
/usr/share/locale/ru/LC_MESSAGES/kid3.mo
Erreur de construction de RPM:
Fichier(s) installé(s) (mais non empaquetés):
/usr/share/applnk/Multimedia/kid3.desktop
/usr/share/apps/kid3/kid3ui.rc
/usr/share/doc/HTML/de/kid3/common
/usr/share/doc/HTML/de/kid3/index.cache.bz2
/usr/share/doc/HTML/de/kid3/index.docbook
/usr/share/doc/HTML/en/kid3/common
/usr/share/doc/HTML/en/kid3/index.cache.bz2
/usr/share/doc/HTML/en/kid3/index.docbook
/usr/share/icons/hicolor/16x16/apps/kid3.png
/usr/share/icons/hicolor/32x32/apps/kid3.png
/usr/share/icons/hicolor/48x48/apps/kid3.png
/usr/share/locale/de/LC_MESSAGES/kid3.mo
/usr/share/locale/ru/LC_MESSAGES/kid3.mo
Quelqu’un aurait-il une idée ou même la solution.