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
|
||||
|
||||
|
12
libmtp.spec
12
libmtp.spec
@ -22,6 +22,7 @@ BuildRequires: doxygen
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libusb-1_0-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(udev)
|
||||
Summary: Commandline utilities for access to MTP Players
|
||||
License: LGPL-2.1+
|
||||
Group: Productivity/Multimedia/Sound/Players
|
||||
@ -30,7 +31,8 @@ Release: 0
|
||||
%define sonum 9
|
||||
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
|
||||
%define _udevdir %(pkg-config --variable=udevdir udev)
|
||||
%description
|
||||
This package contains binaries and documentation that allow access to
|
||||
USB based media players based on the MTP (Media Transfer Protocol)
|
||||
@ -75,7 +77,7 @@ Transfer Protocol) authored by Microsoft.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-doxygen
|
||||
%configure --with-udev=%{_udevdir} --disable-static --enable-doxygen
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -101,10 +103,8 @@ 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
|
||||
%dir /lib/udev
|
||||
/lib/udev/mtp-probe
|
||||
%dir /lib/udev/rules.d
|
||||
%config /lib/udev/rules.d/69-libmtp.rules
|
||||
%{_udevdir}/mtp-probe
|
||||
%{_udevrulesdir}/69-libmtp.rules
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
Reference in New Issue
Block a user