- Split out hal sub-package
This commit is contained in:
parent
d373e044c5
commit
cde7a7f945
18
libmtp.spec
18
libmtp.spec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: libmtp
|
||||
Version: 1.0.3
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: A software library for MTP media players
|
||||
URL: http://libmtp.sourceforge.net/
|
||||
|
||||
@ -12,7 +12,6 @@ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.g
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: LGPLv2+
|
||||
Requires: udev
|
||||
Requires: hal-info
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: doxygen
|
||||
|
||||
@ -21,6 +20,15 @@ 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
|
||||
@ -100,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-, root,root,-)
|
||||
%{_libdir}/*.so.*
|
||||
/lib/udev/rules.d/*
|
||||
|
||||
%files hal
|
||||
%defattr(-, root,root,-)
|
||||
%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libmtp.fdi
|
||||
|
||||
%files examples
|
||||
@ -116,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 17 2010 Bastien Nocera <bnocera@redhat.com> 1.0.3-5
|
||||
- Split out hal sub-package
|
||||
|
||||
* Thu Jun 10 2010 Linus Walleij <triad@df.lth.se> 1.0.3-4
|
||||
- Set ENV{ACL_MANAGE}="0" and TAG+="udev-acl" akin to rfkill
|
||||
apparently this may be an interrim solution.
|
||||
|
Loading…
Reference in New Issue
Block a user