Hi, Would someone mind casting an eye over the attached spec file, please? I am trying to build rpms against it on Fedora 15 beta but it errors saying that "Installed (but unpackaged) file(s) found". However, all the files listed are those contained in the %files sections for the sub-packages. rpm-check appears to be ignoring them. Adding them to the %files for the package removes them from the error list but this seems wrong. I can run the same spec file on fedora 14, with only rpm "build requires" and "requires" versions being different, and it works fine. Likewise, rpmlint seems to have no problems with it. Any advice would be greatly appreciated. Thanks phantomjinx -- "I know exactly who reads the papers ... The Daily Mirror is read by people who think they run the country. The Guardian is read by people who think they ought to run the country. The Times is read by people who do actually run the country. The Daily Mail is read by the wives of the people who run the country. The Financial Times is read by the people who own the country. The Morning Star is read by the people who think the country ought to be run by another country. The Daily Telegraph is read by the people who think it is." Jim Hacker, Yes Minister
Name: gtkpod Version: %{REVISION} Release: 1%{?dist} Summary: Graphical song management program for Apple's iPod Group: Applications/Multimedia # The help documentation is under GFDL, the rest of the code is GPLv2+ License: GPLv2+ and GFDL URL: http://www.gtkpod.org Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils BuildRequires: flex BuildRequires: gettext BuildRequires: gnome-vfs2-devel BuildRequires: hal-devel BuildRequires: intltool BuildRequires: libgpod-devel >= 0.7.0 BuildRequires: perl(XML::Parser) BuildRequires: anjuta-devel >= 2.91 BuildRequires: libgdl-devel >= 3.0.0 Requires: lib%{name}%{?_isa} = %{version}-%{release} %description gtkpod is a platform independent Graphical User Interface for Apple's iPod using GTK2. It supports all current iPod models, including the Mini, Photo, Shuffle, Nano, Video, Classic, Touch, and iPhone. ### libgtkpod rpm ### %package -n lib%{name} BuildRequires: curl-devel BuildRequires: libid3tag-devel >= 0.15 # some of the scripts in the scripts directory use which Requires: which Requires: curl Requires: libid3tag Summary: Core Library for %{name} Group: Applications/Multimedia %description -n lib%{name} This is the core library and plugins for gtkpod. ### libgtkpod devel rpm ### %package -n lib%{name}-devel Requires: %{name}%{?_isa} = %{version}-%{release} Summary: Development files for the %{name} library Group: Applications/Multimedia %description -n lib%{name}-devel This is the core library and plugins development files for gtkpod. ### coverweb plugin rpm ### %package plugin-coverweb Requires: webkitgtk3 >= 1.4 Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: webkitgtk3-devel >= 1.4 Summary: Cover web plugin for %{name} Group: Applications/Multimedia %description plugin-coverweb This provides the cover web plugin for gtkpod, which provides a browser window internally to gtkpod. This allows the dragging and dropping of cover art directly from locations on the internet. ### media player rpm ### %package plugin-media-player Requires: gstreamer Requires: gstreamer-plugins-ugly Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: gstreamer-devel BuildRequires: gstreamer-plugins-base-devel Summary: Media player plugin for %{name} Group: Applications/Multimedia %description plugin-media-player This provides a media player plugin for gtkpod, allowing audio and video tracks to be previewed. ### filetype flac rpm ### %package plugin-filetype-flac Requires: flac Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: flac-devel Summary: The flac support plugin for %{name} Group: Applications/Multimedia %description plugin-filetype-flac This provides support for flac files in gtkpod. ### filetype mp4 m4a rpm ### %package plugin-filetype-mp4 Requires: faad2 Requires: libmp4v2 >= 1.5 Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libmp4v2-devel >= 1.5 Summary: The m4a and mp4 support plugin for %{name} Group: Applications/Multimedia %description plugin-filetype-mp4 This provides support for m4a and mp4 files in gtkpod. ### filetype ogg rpm ### %package plugin-filetype-ogg Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libvorbis-devel Summary: The ogg vorbis audio support plugin for %{name} Group: Applications/Multimedia %description plugin-filetype-ogg This provides support for ogg vorbis files in gtkpod. %prep %setup -q %build %configure \ --disable-static \ --enable-silent-rules \ make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la desktop-file-install \ --vendor fedora \ --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %find_lang %{name} %clean rm -rf %{buildroot} %post /sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %postun /sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi ### gtkpod rpm files ### %files %defattr(-,root,root,-) %{_bindir}/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/applications/*.desktop %{_datadir}/%{name}/data/AUTHORS %{_datadir}/%{name}/data/COPYING %{_datadir}/%{name}/data/anjuta.session %{_datadir}/%{name}/data/default.profile %{_datadir}/%{name}/data/dock-layout.xml %{_datadir}/%{name}/data/glade/core-%{name}.xml %{_datadir}/%{name}/data/glade/core_prefs.xml %{_datadir}/%{name}/data/glade/cover_display.xml %{_datadir}/%{name}/data/glade/details_editor.xml %{_datadir}/%{name}/data/glade/exporter.xml %{_datadir}/%{name}/data/glade/mserv.xml %{_datadir}/%{name}/data/glade/photo_editor.xml %{_datadir}/%{name}/data/glade/playlist_display.xml %{_datadir}/%{name}/data/glade/playlist_display_toolbar.xml %{_datadir}/%{name}/data/glade/repository_editor.xml %{_datadir}/%{name}/data/glade/sorttab_display.xml %{_datadir}/%{name}/data/glade/track_display.xml %{_datadir}/%{name}/data/%{name}*.png %{_datadir}/%{name}/icons/*.png %{_mandir}/man1/%{name}* %{_datadir}/%{name}/doc ### libgtkpod rpm files ### %files -n lib%{name} -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog* COPYING README TODOandBUGS.txt TROUBLESHOOTING %{_libdir}/lib%{name}*.so* %{_libdir}/%{name}/core_prefs.plugin %{_libdir}/%{name}/cover_display.plugin %{_libdir}/%{name}/details_editor.plugin %{_libdir}/%{name}/exporter.plugin %{_libdir}/%{name}/filetype_mp3.plugin %{_libdir}/%{name}/filetype_video.plugin %{_libdir}/%{name}/filetype_wav.plugin %{_libdir}/%{name}/info_display.plugin %{_libdir}/%{name}/mserv.plugin %{_libdir}/%{name}/photo_editor.plugin %{_libdir}/%{name}/playlist_display.plugin %{_libdir}/%{name}/repository_editor.plugin %{_libdir}/%{name}/sorttab_display.plugin %{_libdir}/%{name}/track_display.plugin %{_libdir}/%{name}/libcore_prefs.so %{_libdir}/%{name}/libcover_display.so %{_libdir}/%{name}/libexporter.so %{_libdir}/%{name}/libdetails_editor.so %{_libdir}/%{name}/libfiletype_mp3.so %{_libdir}/%{name}/libfiletype_video.so %{_libdir}/%{name}/libfiletype_wav.so %{_libdir}/%{name}/libinfo_display.so %{_libdir}/%{name}/libmserv.so %{_libdir}/%{name}/libphoto_editor.so %{_libdir}/%{name}/libplaylist_display.so %{_libdir}/%{name}/librepository_editor.so %{_libdir}/%{name}/libsorttab_display.so %{_libdir}/%{name}/libtrack_display.so %{_datadir}/%{name}/data/ui/core_prefs.ui %{_datadir}/%{name}/data/ui/cover_display.ui %{_datadir}/%{name}/data/ui/details_editor.ui %{_datadir}/%{name}/data/ui/exporter.ui %{_datadir}/%{name}/data/ui/gtkpod.ui %{_datadir}/%{name}/data/ui/info_display.ui %{_datadir}/%{name}/data/ui/mserv.ui %{_datadir}/%{name}/data/ui/photo_editor.ui %{_datadir}/%{name}/data/ui/playlist_display.ui %{_datadir}/%{name}/data/ui/repository_editor.ui %{_datadir}/%{name}/data/ui/sorttab_display.ui %{_datadir}/%{name}/data/ui/track_display.ui %{_datadir}/%{name}/scripts/*.sh %{_datadir}/%{name}/scripts/mab2vcard %{_datadir}/%{name}/scripts/sync-*.py* %{_datadir}/%{name}/icons/hicolor/*/places/core_prefs-gtkpod-category.png %{_datadir}/%{name}/icons/hicolor/*/places/cover_display-default-cover.png %{_datadir}/%{name}/icons/hicolor/*/places/mserv-gtkpod-category.png %{_datadir}/%{name}/icons/hicolor/*/places/photo-*.png %{_datadir}/%{name}/icons/hicolor/*/places/playlist-photo.png %{_datadir}/%{name}/icons/hicolor/*/places/playlist_display-*.png %{_datadir}/%{name}/icons/hicolor/*/places/sorttab_display-sorttab-category.png %{_datadir}/%{name}/icons/hicolor/*/places/star-*.png %{_datadir}/%{name}/icons/hicolor/*/places/track_display-track-category.png %{_datadir}/%{name}/icons/hicolor/scalable/places/playlist_display-*.svg %(_datadir}/glib-2.0/schemas/org.gtkpod.gschema.xml ### libgtkpod devel rpm files ### %files -n lib%{name}-devel %defattr(-,root,root,-) %{_includedir}/%{name} %{_libdir}/pkgconfig/lib%{name}* ### coverweb plugin rpm files ### %files plugin-coverweb %defattr(-,root,root,-) %{_libdir}/%{name}/coverweb.plugin %{_datadir}/%{name}/data/ui/coverweb.ui %{_datadir}/%{name}/data/glade/coverweb.xml %{_libdir}/%{name}/libcoverweb.so %{_datadir}/%{name}/icons/hicolor/*/places/cover_web-gtkpod-category.png ### media plugin rpm files ### %files plugin-media-player %defattr(-,root,root,-) %{_libdir}/%{name}/media_player.plugin %{_datadir}/%{name}/data/ui/media_player.ui %{_datadir}/%{name}/data/glade/media_player.xml %{_libdir}/%{name}/libmedia_player.so %{_datadir}/%{name}/icons/hicolor/*/places/media_player-player-icon.png %{_datadir}/%{name}/icons/hicolor/*/places/media_player-volume-control.png ### filetype flac rpm files ### %files plugin-filetype-flac %defattr(-,root,root,-) %{_libdir}/%{name}/filetype_flac.plugin %{_libdir}/%{name}/libfiletype_flac.so ### filetype mp4 rpm files ### %files plugin-filetype-mp4 %defattr(-,root,root,-) %{_libdir}/%{name}/filetype_mp4.plugin %{_libdir}/%{name}/libfiletype_mp4.so %{_libdir}/%{name}/filetype_m4a.plugin %{_libdir}/%{name}/libfiletype_m4a.so ### filetype ogg rpm files ### %files plugin-filetype-ogg %defattr(-,root,root,-) %{_libdir}/%{name}/filetype_ogg.plugin %{_libdir}/%{name}/libfiletype_ogg.so %changelog * Thu Mar 31 2011 Paul Richardson <pgrichardson@xxxxxxxxx> - 2.0.0-1 Update to 2.0.0 * Wed Aug 11 2010 David Malcolm <dmalcolm@xxxxxxxxxx> - 1.0.0-2 - recompiling .py files against Python 2.7 (rhbz#623316) * Wed Aug 11 2010 Todd Zullinger <tmz@xxxxxxxxx> - 1.0.0-1 - Update to 1.0.0 * Tue Jun 15 2010 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.16-1 - Update to 0.99.16 - Link with libdl * Sun Feb 14 2010 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.14-4 - Link with libm and libvorbis (#564853) * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.99.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.99.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 20 2009 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.14-1 - Update to 0.99.14 - Add GFDL to License tag, for documentation - Update xdg-open patch so it applies without fuzz - Drop libgnomecanvas-devel BR, it is not used anymore - Apply upstream patch to fix lame-tag endianess problem (this prevented gapless playback from working correctly) * Sat Jan 17 2009 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.12-5 - Apply upstream fix for disappearing tooltips (#428940) * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@xxxxxxxxx> - 0.99.12-4 - Rebuild for Python 2.6 * Tue Jun 10 2008 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.12-3 - use xdg-open as default player (#449199) (patch from Debarshi Ray) - update %%description to include more complete model list * Tue Feb 12 2008 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.12-2 - rebuild for gcc 4.3 * Tue Dec 11 2007 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.12-1 - update to 0.99.12 * Wed Nov 21 2007 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.10-2 - rebuild for libgpod-0.6.0 - apply upstream patch to fix smart playlist play time bug - Requires: which (used in some of the provided scripts) * Sat Aug 04 2007 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.10-1 - update to 0.99.10 - use upstream .desktop file - add new BRs, update libgpod BR to >= 0.5.2 - add %%post and %%postun to update the icon cache - update license tag * Fri Feb 16 2007 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.8-3 - preserve timestamps when copying .desktop file to builddir and running make install - use a symlink for the menu icon * Mon Feb 12 2007 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.8-2 - remove redundant gtk2-devel BR - move .desktop creation to a separate file - remove livna stuff from .desktop file - don't use macros for install and mkdir - remove NEWS file from %%doc as it mostly mirrors the ChangeLog * Mon Feb 12 2007 Todd Zullinger <tmz@xxxxxxxxx> - 0.99.8-1 - initial fedora package, parts stolen from Matthias' FreshRPMS spec
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel