- 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
|
Name: libmtp
|
||||||
Version: 1.0.3
|
Version: 1.0.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?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/
|
||||||
|
|
||||||
@ -12,7 +12,6 @@ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.g
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Requires: udev
|
Requires: udev
|
||||||
Requires: hal-info
|
|
||||||
BuildRequires: libusb-devel
|
BuildRequires: libusb-devel
|
||||||
BuildRequires: doxygen
|
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
|
(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
|
||||||
@ -100,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-, root,root,-)
|
%defattr(-, root,root,-)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
/lib/udev/rules.d/*
|
/lib/udev/rules.d/*
|
||||||
|
|
||||||
|
%files hal
|
||||||
|
%defattr(-, root,root,-)
|
||||||
%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libmtp.fdi
|
%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libmtp.fdi
|
||||||
|
|
||||||
%files examples
|
%files examples
|
||||||
@ -116,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Set ENV{ACL_MANAGE}="0" and TAG+="udev-acl" akin to rfkill
|
||||||
apparently this may be an interrim solution.
|
apparently this may be an interrim solution.
|
||||||
|
Loading…
Reference in New Issue
Block a user