From fc2214b56fcd1adf640f5e45d4e03b9741416096c7b0d7a58f6e4fa4bed45bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 29 Oct 2015 18:18:36 +0000 Subject: [PATCH] Accepting request 341372 from home:Dmitry_R:android-tools - Split udev rules to separate package android-tools will use this package OBS-URL: https://build.opensuse.org/request/show/341372 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp?expand=0&rev=84 --- libmtp.changes | 5 +++++ libmtp.spec | 16 +++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/libmtp.changes b/libmtp.changes index bd5f055..788ec19 100644 --- a/libmtp.changes +++ b/libmtp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 26 13:45:30 UTC 2015 - dmitry_r@opensuse.org + +- Split udev rules to separate package + ------------------------------------------------------------------- Sun Oct 4 15:14:12 UTC 2015 - meissner@suse.com diff --git a/libmtp.spec b/libmtp.spec index 51d2287..ef39d7e 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -44,9 +44,20 @@ authored by Microsoft. Common devices using this technology are Creative Zen, iRiver, Samsung and others. -%package -n %{name}%{sonum} +%package -n %{name}-udev +Summary: Udev rules for accessing MTP devices +Group: Hardware/Mobile +Requires: udev + +%description -n %{name}-udev +This package contains the udev rules that allow access to USB based media +players based on the MTP (Media Transfer Protocol) authored by +Microsoft. + +%package -n %{name}%{sonum} Summary: Library for accessing MTP Players Group: Productivity/Multimedia/Sound/Players +Requires: %{name}-udev >= %{version} %description -n %{name}%{sonum} This package contains the libraries that allow access to USB based media @@ -106,6 +117,9 @@ rm -rf %{buildroot}/%{_libdir}/*.la #dir /usr/share/hal/fdi/information #dir /usr/share/hal/fdi/information/20thirdparty/ #usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi + +%files -n %{name}-udev +%defattr(-, root, root) %{_udevdir} %{_udevrulesdir}