Kill off HAL dependency.
This commit is contained in:
parent
6326d40cd9
commit
94725784cb
22
libmtp.spec
22
libmtp.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: libmtp
|
Name: libmtp
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A software library for MTP media players
|
Summary: A software library for MTP media players
|
||||||
URL: http://libmtp.sourceforge.net/
|
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
|
(Media Transfer Protocol) media players, typically audio players, video
|
||||||
players etc.
|
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
|
%package examples
|
||||||
Summary: Example programs for libmtp
|
Summary: Example programs for libmtp
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -77,8 +68,6 @@ ln -sf mtp-connect mtp-newfolder
|
|||||||
ln -sf mtp-connect mtp-sendfile
|
ln -sf mtp-connect mtp-sendfile
|
||||||
ln -sf mtp-connect mtp-sendtr
|
ln -sf mtp-connect mtp-sendtr
|
||||||
popd
|
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
|
# Copy documentation to a good place
|
||||||
mkdir -p -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
mkdir -p -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
||||||
install -p -m 644 AUTHORS ChangeLog COPYING INSTALL README TODO \
|
install -p -m 644 AUTHORS ChangeLog COPYING INSTALL README TODO \
|
||||||
@ -87,8 +76,6 @@ $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
|||||||
touch -r configure.ac \
|
touch -r configure.ac \
|
||||||
$RPM_BUILD_ROOT%{_includedir}/*.h \
|
$RPM_BUILD_ROOT%{_includedir}/*.h \
|
||||||
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc \
|
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc \
|
||||||
$RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libmtp.fdi
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -102,10 +89,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/lib/udev/rules.d/*
|
/lib/udev/rules.d/*
|
||||||
/lib/udev/mtp-probe
|
/lib/udev/mtp-probe
|
||||||
|
|
||||||
%files hal
|
|
||||||
%defattr(-, root,root,-)
|
|
||||||
%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libmtp.fdi
|
|
||||||
|
|
||||||
%files examples
|
%files examples
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -120,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Apr 01 2011 Linus Walleij <triad@df.lth.se> 1.0.6-2
|
||||||
- Maybe fixing a probing issue on an input device.
|
- Maybe fixing a probing issue on an input device.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user