Accepting request 83389 from devel:libraries:c_c++

update to 1.1.0

OBS-URL: https://build.opensuse.org/request/show/83389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmtp?expand=0&rev=45
This commit is contained in:
Lars Vogdt 2011-09-19 20:55:25 +00:00 committed by Git OBS Bridge
commit 88796d7c56
4 changed files with 28 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a0b6ef8edc5504bbfd733b37d15f5145130481216b0be513a5eed19dd46d5d6
size 476126

3
libmtp-1.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f73581ece00e0dc2442173f304c8d2f37847ff9e48fa23bc39fbd14c1da65dc
size 638571

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 19 10:01:27 CEST 2011 - meissner@suse.de
- updated to 1.1.0
* lots of new devices
* IAD (0xfe class) device detection
- drop HAL FDI snippets
- libmtp8 -> libmtp9
-------------------------------------------------------------------
Fri Jun 10 09:23:53 UTC 2011 - andrea.turrini@gmail.com

View File

@ -16,7 +16,7 @@
#
%define debug_package_requires libmtp8 = %{version}-%{release}
%define debug_package_requires libmtp9 = %{version}-%{release}
Name: libmtp
Url: http://sf.net/projects/libmtp
@ -26,9 +26,9 @@ License: LGPLv2.1+
Group: Productivity/Multimedia/Sound/Players
AutoReqProv: on
Summary: Commandline utilities for access to MTP Players
Version: 1.0.6
Version: 1.1.0
Release: 7
Source0: %name-%version.tar.bz2
Source0: %name-%version.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -50,12 +50,12 @@ Authors:
Mariusz Woloszyn <emsi@ipartners.pl>
Marcus Meissner <marcus@jet.franken.de>
%package -n libmtp8
%package -n libmtp9
License: LGPLv2.1+
Summary: Library for accessing MTP Players
Group: Productivity/Multimedia/Sound/Players
%description -n libmtp8
%description -n libmtp9
This package contains the libraries that allow access to USB based media
players based on the MTP (Media Transfer Protocol) authored by
Microsoft.
@ -83,7 +83,7 @@ Group: Productivity/Multimedia/Sound/Players
License: LGPLv2.1+
Summary: Development files for access to MTP Player library
Group: Development/Libraries/Other
Requires: libmtp8 = %version
Requires: libmtp9 = %version
Requires: libusb-devel
%description devel
@ -127,30 +127,28 @@ make
%install
make install DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/
install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
#install -d $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/
#install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
rm -rf $RPM_BUILD_ROOT/usr/share/doc/libmtp*
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
mv $RPM_BUILD_ROOT/lib/udev/rules.d/libmtp.rules $RPM_BUILD_ROOT/lib/udev/rules.d/39-libmtp.rules
%post -n libmtp9 -p /sbin/ldconfig
%post -n libmtp8 -p /sbin/ldconfig
%postun -n libmtp8 -p /sbin/ldconfig
%postun -n libmtp9 -p /sbin/ldconfig
%files -n mtp-tools
%defattr(-, root, root)
%{_prefix}/bin/*
%files -n libmtp8
%files -n libmtp9
%defattr(-, root, root)
%doc COPYING README ChangeLog AUTHORS
%{_libdir}/lib*.so.*
%dir /usr/share/hal
%dir /usr/share/hal/fdi
%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 /usr/share/hal
#dir /usr/share/hal/fdi
#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