Hello community, here is the log from the commit of package libnjb checked in at Tue Apr 18 19:09:15 CEST 2006. -------- --- libnjb/libnjb.changes 2006-01-25 21:37:35.000000000 +0100 +++ STABLE/libnjb/libnjb.changes 2006-04-18 18:45:03.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Apr 18 18:43:20 CEST 2006 - gekker@suse.de + +- Instally our own hal fdi file for support of more devices (#149288) + +------------------------------------------------------------------- New: ---- 10-usb-music-players-libnjb.fdi ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnjb.spec ++++++ --- /var/tmp/diff_new_pack.aVI10e/_old 2006-04-18 19:07:52.000000000 +0200 +++ /var/tmp/diff_new_pack.aVI10e/_new 2006-04-18 19:07:52.000000000 +0200 @@ -1,25 +1,26 @@ # # spec file for package libnjb (Version 2.2.4) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libnjb -BuildRequires: libusb +BuildRequires: hal-devel libusb URL: http://libnjb.sourceforge.net License: BSD Group: Development/Libraries/Other Autoreqprov: on Version: 2.2.4 -Release: 3 +Release: 13 Summary: Nomad Jukebox API Source: %{name}-%{version}.tar.gz +Source1: 10-usb-music-players-libnjb.fdi BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: dbus-1 hal libusb @@ -87,6 +88,16 @@ %install make install DESTDIR=$RPM_BUILD_ROOT +%if %suse_version >= 1000 + # Check the installed hal (in neededforbuild) if the directory + # is still at the place we expect to avoid surprises. + if [ ! -d /usr/share/hal/fdi/information/10freedesktop/ ] ; then + echo "*** The hal FDI file location has changed. Fix the build." + exit 1 + fi + install -m 0755 -d $RPM_BUILD_ROOT/usr/share/hal/fdi/information/10freedesktop/ + install -m 0644 %{S:1} $RPM_BUILD_ROOT/usr/share/hal/fdi/information/10freedesktop/10-usb-music-players-libnjb.fdi +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -96,6 +107,7 @@ %doc AUTHORS FAQ README LICENSE %{_bindir}/njb-* %{_libdir}/libnjb.so.* +%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libnjb.fdi %files devel %defattr(-,root,root) @@ -105,6 +117,8 @@ %{_libdir}/pkgconfig/libnjb.pc %changelog -n libnjb +* Tue Apr 18 2006 - gekker@suse.de +- Instally our own hal fdi file for support of more devices (#149288) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Sat Dec 31 2005 - ro@suse.de ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...