Kill off HAL dependency.

This commit is contained in:
Linus Walleij 2011-06-07 21:28:56 +02:00
parent 6326d40cd9
commit 94725784cb

View File

@ -3,7 +3,7 @@
Name: libmtp
Version: 1.0.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A software library for MTP media players
URL: http://libmtp.sourceforge.net/
@ -21,15 +21,6 @@ This package provides a software library for communicating with MTP
(Media Transfer Protocol) media players, typically audio players, video
players etc.
%package hal
Summary: Music player information for HAL
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: hal-info
%description hal
This package provides information about detecting MTP devices using HAL.
%package examples
Summary: Example programs for libmtp
Group: Applications/Multimedia
@ -77,8 +68,6 @@ ln -sf mtp-connect mtp-newfolder
ln -sf mtp-connect mtp-sendfile
ln -sf mtp-connect mtp-sendtr
popd
mkdir -p $RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop
install -p -m 644 libmtp.fdi $RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libmtp.fdi
# Copy documentation to a good place
mkdir -p -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
install -p -m 644 AUTHORS ChangeLog COPYING INSTALL README TODO \
@ -87,8 +76,6 @@ $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
touch -r configure.ac \
$RPM_BUILD_ROOT%{_includedir}/*.h \
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc \
$RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libmtp.fdi
%clean
rm -rf $RPM_BUILD_ROOT
@ -102,10 +89,6 @@ rm -rf $RPM_BUILD_ROOT
/lib/udev/rules.d/*
/lib/udev/mtp-probe
%files hal
%defattr(-, root,root,-)
%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libmtp.fdi
%files examples
%defattr(-,root,root,-)
%{_bindir}/*
@ -120,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Jun 07 2011 Linus Walleij <triad@df.lth.se> 1.0.6-3
- Nuke HAL dependency.
* Fri Apr 01 2011 Linus Walleij <triad@df.lth.se> 1.0.6-2
- Maybe fixing a probing issue on an input device.