Accepting request 98422 from devel:libraries:c_c++
1.1.1 version update, add galaxy nexus support, fixed spec file syntax (forwarded request 98417 from adrianSuSE) OBS-URL: https://build.opensuse.org/request/show/98422 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmtp?expand=0&rev=48
This commit is contained in:
commit
fe0be01081
12
add-galaxy-nexus-support.diff
Normal file
12
add-galaxy-nexus-support.diff
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- src/music-players.h
|
||||||
|
+++ src/music-players.h 2011-12-29 12:39:15.813619378 +0100
|
||||||
|
@@ -277,6 +277,9 @@
|
||||||
|
{ "Samsung", 0x04e8, "GT-B2710/Xcover 271", 0x68af,
|
||||||
|
DEVICE_FLAG_UNLOAD_DRIVER |
|
||||||
|
DEVICE_FLAG_PLAYLIST_SPL_V1 },
|
||||||
|
+ { "Samsung", 0x04e8, "GT-I9250 Galaxy Nexus", 0x685c,
|
||||||
|
+ DEVICE_FLAG_UNLOAD_DRIVER |
|
||||||
|
+ DEVICE_FLAG_PLAYLIST_SPL_V2 },
|
||||||
|
// From anonymous Sourceforge user
|
||||||
|
{ "Samsung", 0x04e8, "GT-S5230", 0xe20c, DEVICE_FLAG_NONE },
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3f73581ece00e0dc2442173f304c8d2f37847ff9e48fa23bc39fbd14c1da65dc
|
|
||||||
size 638571
|
|
3
libmtp-1.1.1.tar.gz
Normal file
3
libmtp-1.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1e6c64c440d0510aa246e70a3a60953c52f4c1402b707eb4bb00a0fd2df8d1fd
|
||||||
|
size 642112
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 29 11:46:54 UTC 2011 - adrian@suse.de
|
||||||
|
|
||||||
|
- add support for Galaxy Nexus
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 21 21:30:49 UTC 2011 - adrian@suse.de
|
||||||
|
|
||||||
|
- updated to 1.1.1
|
||||||
|
* device updates
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 19 10:01:27 CEST 2011 - meissner@suse.de
|
Mon Sep 19 10:01:27 CEST 2011 - meissner@suse.de
|
||||||
|
|
||||||
|
20
libmtp.spec
20
libmtp.spec
@ -15,20 +15,20 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define debug_package_requires libmtp9 = %{version}-%{release}
|
%define debug_package_requires libmtp9 = %{version}-%{release}
|
||||||
|
|
||||||
Name: libmtp
|
Name: libmtp
|
||||||
Url: http://sf.net/projects/libmtp
|
Url: http://sf.net/projects/libmtp
|
||||||
BuildRequires: doxygen pkg-config
|
BuildRequires: doxygen
|
||||||
BuildRequires: libusb-devel
|
BuildRequires: libusb-devel
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
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
|
||||||
AutoReqProv: on
|
Version: 1.1.1
|
||||||
Summary: Commandline utilities for access to MTP Players
|
Release: 0
|
||||||
Version: 1.1.0
|
Source0: http://downloads.sourceforge.net/project/libmtp/libmtp/%{version}/libmtp-%{version}.tar.gz
|
||||||
Release: 7
|
Patch0: add-galaxy-nexus-support.diff
|
||||||
Source0: %name-%version.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -51,7 +51,6 @@ Authors:
|
|||||||
Marcus Meissner <marcus@jet.franken.de>
|
Marcus Meissner <marcus@jet.franken.de>
|
||||||
|
|
||||||
%package -n libmtp9
|
%package -n libmtp9
|
||||||
License: LGPL-2.1+
|
|
||||||
Summary: Library for accessing MTP Players
|
Summary: Library for accessing MTP Players
|
||||||
Group: Productivity/Multimedia/Sound/Players
|
Group: Productivity/Multimedia/Sound/Players
|
||||||
|
|
||||||
@ -75,12 +74,10 @@ Authors:
|
|||||||
Marcus Meissner <marcus@jet.franken.de>
|
Marcus Meissner <marcus@jet.franken.de>
|
||||||
|
|
||||||
%package -n mtp-tools
|
%package -n mtp-tools
|
||||||
License: LGPL-2.1+
|
|
||||||
Summary: Commandline utilities for access to MTP Players
|
Summary: Commandline utilities for access to MTP Players
|
||||||
Group: Productivity/Multimedia/Sound/Players
|
Group: Productivity/Multimedia/Sound/Players
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: LGPL-2.1+
|
|
||||||
Summary: Development files for access to MTP Player library
|
Summary: Development files for access to MTP Player library
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: libmtp9 = %version
|
Requires: libmtp9 = %version
|
||||||
@ -120,6 +117,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-doxygen
|
%configure --disable-static --enable-doxygen
|
||||||
@ -152,7 +150,7 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|||||||
%dir /lib/udev
|
%dir /lib/udev
|
||||||
/lib/udev/mtp-probe
|
/lib/udev/mtp-probe
|
||||||
%dir /lib/udev/rules.d
|
%dir /lib/udev/rules.d
|
||||||
%config /lib/udev/rules.d/39-libmtp.rules
|
%config /lib/udev/rules.d/69-libmtp.rules
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user