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
This commit is contained in:
Ismail Dönmez 2015-10-29 18:18:36 +00:00 committed by Git OBS Bridge
parent 9d48590146
commit fc2214b56f
2 changed files with 20 additions and 1 deletions

View File

@ -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

View File

@ -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}