Accepting request 140130 from devel:libraries:c_c++
- mtp-probe no longer working in factory, wrong udev dir. (forwarded request 140129 from elvigia) OBS-URL: https://build.opensuse.org/request/show/140130 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmtp?expand=0&rev=55
This commit is contained in:
commit
1cedb0b978
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 4 18:57:19 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- mtp-probe no longer working in factory, wrong udev dir.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 22 11:34:52 UTC 2012 - toddrme2178@gmail.com
|
Sat Sep 22 11:34:52 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
12
libmtp.spec
12
libmtp.spec
@ -22,6 +22,7 @@ BuildRequires: doxygen
|
|||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: libusb-1_0-devel
|
BuildRequires: libusb-1_0-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: pkgconfig(udev)
|
||||||
Summary: Commandline utilities for access to MTP Players
|
Summary: Commandline utilities for access to MTP Players
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Productivity/Multimedia/Sound/Players
|
Group: Productivity/Multimedia/Sound/Players
|
||||||
@ -30,7 +31,8 @@ Release: 0
|
|||||||
%define sonum 9
|
%define sonum 9
|
||||||
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
|
||||||
|
%define _udevdir %(pkg-config --variable=udevdir udev)
|
||||||
%description
|
%description
|
||||||
This package contains binaries and documentation that allow access to
|
This package contains binaries and documentation that allow access to
|
||||||
USB based media players based on the MTP (Media Transfer Protocol)
|
USB based media players based on the MTP (Media Transfer Protocol)
|
||||||
@ -75,7 +77,7 @@ Transfer Protocol) authored by Microsoft.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-doxygen
|
%configure --with-udev=%{_udevdir} --disable-static --enable-doxygen
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -101,10 +103,8 @@ rm -rf %{buildroot}/%{_libdir}/*.la
|
|||||||
#dir /usr/share/hal/fdi/information
|
#dir /usr/share/hal/fdi/information
|
||||||
#dir /usr/share/hal/fdi/information/20thirdparty/
|
#dir /usr/share/hal/fdi/information/20thirdparty/
|
||||||
#usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
|
#usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
|
||||||
%dir /lib/udev
|
%{_udevdir}/mtp-probe
|
||||||
/lib/udev/mtp-probe
|
%{_udevrulesdir}/69-libmtp.rules
|
||||||
%dir /lib/udev/rules.d
|
|
||||||
%config /lib/udev/rules.d/69-libmtp.rules
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user