2007-01-08 17:46:05 +01:00
|
|
|
#
|
2008-08-27 02:22:15 +02:00
|
|
|
# spec file for package libmtp (Version 0.3.1)
|
2007-01-08 17:46:05 +01:00
|
|
|
#
|
2008-01-09 21:41:22 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-08 17:46:05 +01:00
|
|
|
#
|
2008-08-27 02:22:15 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-08 17:46:05 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-08-28 02:07:54 +02:00
|
|
|
%define debug_package_requires libmtp8
|
2008-03-03 16:29:16 +01:00
|
|
|
|
2007-01-08 17:46:05 +01:00
|
|
|
Name: libmtp
|
2007-10-09 18:29:12 +02:00
|
|
|
Url: http://sf.net/projects/libmtp
|
2008-06-26 15:56:34 +02:00
|
|
|
BuildRequires: doxygen
|
2007-06-05 01:10:42 +02:00
|
|
|
%if %suse_version > 1020
|
2007-05-17 11:43:47 +02:00
|
|
|
BuildRequires: libusb-devel
|
2007-06-05 01:10:42 +02:00
|
|
|
%else
|
|
|
|
BuildRequires: libusb
|
|
|
|
%endif
|
2007-10-29 10:28:06 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-08 17:46:05 +01:00
|
|
|
Group: Productivity/Multimedia/Sound/Players
|
2007-10-09 18:29:12 +02:00
|
|
|
AutoReqProv: on
|
2008-08-27 02:22:15 +02:00
|
|
|
Summary: Commandline utilities for access to MTP Players
|
|
|
|
Version: 0.3.1
|
2008-08-28 02:07:54 +02:00
|
|
|
Release: 2
|
2007-01-08 17:46:05 +01:00
|
|
|
Source0: %name-%version.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2007-08-10 17:09:52 +02:00
|
|
|
This package contains binaries and documentation that allow accessto
|
|
|
|
USB based media players based on the MTP (Media TransferProtocol)
|
2008-08-27 02:22:15 +02:00
|
|
|
authored by Microsoft.
|
|
|
|
|
|
|
|
Common devices using this technology are Creative Zen, iRiver, Samsung
|
|
|
|
and others.
|
2007-01-08 17:46:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-26 12:59:37 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Richard Low <richard@wentnet.com>
|
|
|
|
Linus Walleij <triad@df.lth.se>
|
|
|
|
|
|
|
|
based on code by:
|
|
|
|
Mariusz Woloszyn <emsi@ipartners.pl>
|
|
|
|
Marcus Meissner <marcus@jet.franken.de>
|
|
|
|
|
2008-06-26 15:56:34 +02:00
|
|
|
%package -n libmtp8
|
|
|
|
License: LGPL v2.1 or later
|
2008-08-27 02:22:15 +02:00
|
|
|
Summary: Library for accessing MTP Players
|
2007-10-26 12:59:37 +02:00
|
|
|
Group: Productivity/Multimedia/Sound/Players
|
|
|
|
|
2008-06-26 15:56:34 +02:00
|
|
|
%description -n libmtp8
|
2008-08-27 02:22:15 +02:00
|
|
|
This package contain the libraries that allow access to USB based media
|
2007-10-26 12:59:37 +02:00
|
|
|
players based on the MTP (Media TransferProtocol) authored by
|
2008-08-27 02:22:15 +02:00
|
|
|
Microsoft.
|
|
|
|
|
|
|
|
Common devices using this technology are Creative Zen, iRiver, Samsung
|
|
|
|
and others.
|
2007-10-26 12:59:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-09 01:13:18 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Richard Low <richard@wentnet.com>
|
|
|
|
Linus Walleij <triad@df.lth.se>
|
|
|
|
|
|
|
|
based on code by:
|
|
|
|
Mariusz Woloszyn <emsi@ipartners.pl>
|
|
|
|
Marcus Meissner <marcus@jet.franken.de>
|
|
|
|
|
2008-08-27 02:22:15 +02:00
|
|
|
%package -n mtp-tools
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: Commandline utilities for access to MTP Players
|
|
|
|
Group: Productivity/Multimedia/Sound/Players
|
|
|
|
|
2007-02-09 01:13:18 +01:00
|
|
|
%package devel
|
2008-06-26 15:56:34 +02:00
|
|
|
License: LGPL v2.1 or later
|
2008-08-27 02:22:15 +02:00
|
|
|
Summary: Development files for access to MTP Player library
|
2007-07-27 01:56:14 +02:00
|
|
|
Group: Development/Libraries/Other
|
2008-06-26 15:56:34 +02:00
|
|
|
Requires: libmtp8 = %version
|
2007-06-05 01:10:42 +02:00
|
|
|
%if %suse_version > 1020
|
2007-05-17 11:43:47 +02:00
|
|
|
Requires: libusb-devel
|
2007-06-05 01:10:42 +02:00
|
|
|
%endif
|
2007-02-09 01:13:18 +01:00
|
|
|
|
|
|
|
%description devel
|
2008-08-27 02:22:15 +02:00
|
|
|
This package contains the development headers for the libmtp library
|
|
|
|
that allows access to USB based media players based on the MTP (Media
|
|
|
|
Transfer Protocol) authored by Microsoft.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Richard Low <richard@wentnet.com>
|
|
|
|
Linus Walleij <triad@df.lth.se>
|
|
|
|
|
|
|
|
based on code by:
|
|
|
|
Mariusz Woloszyn <emsi@ipartners.pl>
|
|
|
|
Marcus Meissner <marcus@jet.franken.de>
|
|
|
|
|
|
|
|
%description -n mtp-tools
|
|
|
|
This package contains binaries that allow command line access to USB
|
|
|
|
based media players based on the MTP (Media TransferProtocol) authored
|
|
|
|
by Microsoft. For graphical user interfaces use Amarok or Banshee.
|
2007-02-09 01:13:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-08 17:46:05 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Richard Low <richard@wentnet.com>
|
|
|
|
Linus Walleij <triad@df.lth.se>
|
|
|
|
|
|
|
|
based on code by:
|
|
|
|
Mariusz Woloszyn <emsi@ipartners.pl>
|
|
|
|
Marcus Meissner <marcus@jet.franken.de>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2008-08-28 02:07:54 +02:00
|
|
|
%configure --program-prefix=mtp- --disable-static
|
2007-01-08 17:46:05 +01:00
|
|
|
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
|
2008-06-26 15:56:34 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/doc/libmtp*
|
2008-08-28 02:07:54 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2007-01-08 17:46:05 +01:00
|
|
|
|
2008-06-26 15:56:34 +02:00
|
|
|
%post -n libmtp8 -p /sbin/ldconfig
|
2007-01-10 17:49:12 +01:00
|
|
|
|
2008-06-26 15:56:34 +02:00
|
|
|
%postun -n libmtp8 -p /sbin/ldconfig
|
2007-01-10 17:49:12 +01:00
|
|
|
|
2008-08-27 02:22:15 +02:00
|
|
|
%files -n mtp-tools
|
2007-01-08 17:46:05 +01:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_prefix}/bin/*
|
2007-10-26 12:59:37 +02:00
|
|
|
|
2008-06-26 15:56:34 +02:00
|
|
|
%files -n libmtp8
|
2007-10-26 12:59:37 +02:00
|
|
|
%defattr(-, root, root)
|
2008-08-27 02:22:15 +02:00
|
|
|
%doc COPYING README ChangeLog AUTHORS
|
2007-10-26 12:59:37 +02:00
|
|
|
%{_libdir}/lib*.so.*
|
2007-01-08 17:46:05 +01:00
|
|
|
%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
|
|
|
|
|
2007-02-09 01:13:18 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2008-08-27 02:22:15 +02:00
|
|
|
%doc doc/html TODO
|
2007-02-09 01:13:18 +01:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/libmtp.pc
|
|
|
|
%{_prefix}/include/libmtp.h
|
2007-11-26 20:47:26 +01:00
|
|
|
|
2007-03-08 00:50:50 +01:00
|
|
|
%changelog
|
2008-08-28 02:07:54 +02:00
|
|
|
* Wed Aug 27 2008 meissner@suse.de
|
|
|
|
- let debuginfo require libmtp8
|
|
|
|
- disable static libs and .la files
|
2008-08-27 02:22:15 +02:00
|
|
|
* Tue Aug 26 2008 meissner@suse.de
|
|
|
|
- upgraded to 0.3.1
|
|
|
|
- lots of new ids
|
|
|
|
- sansa player handling better now
|
|
|
|
- special playlist support for a subkind of devices
|
|
|
|
- commandline tools now live in mtp-tools, libmtp is empty.
|
2008-06-26 15:56:34 +02:00
|
|
|
* Tue Jun 24 2008 meissner@suse.de
|
|
|
|
- upgraded to 0.3.0
|
|
|
|
- new major version 8 due to API changes
|
|
|
|
- new devices
|
|
|
|
- lots of bugfixes
|
|
|
|
- libmtp7 renamed to libmtp8
|
|
|
|
- doxygen added as buildrequires
|
2008-03-11 17:41:33 +01:00
|
|
|
* Tue Mar 11 2008 meissner@suse.de
|
|
|
|
- upgraded to 0.2.6.1
|
|
|
|
- disabled debug
|
|
|
|
- info.bus -> info.subsystem in FDI file
|
2008-03-03 16:29:16 +01:00
|
|
|
* Mon Mar 03 2008 meissner@suse.de
|
|
|
|
- upgraded to 0.2.6
|
|
|
|
- some new devices
|
|
|
|
- bugfixes
|
|
|
|
- remove LIBMTP_Set_Object_Parent function -> new major
|
|
|
|
* Wed Jan 09 2008 meissner@suse.de
|
2008-01-09 21:41:22 +01:00
|
|
|
- upgraded to 0.2.5
|
|
|
|
- several new devices
|
|
|
|
- code cleanups and bugfixes
|
2008-03-03 16:29:16 +01:00
|
|
|
* Mon Nov 26 2007 meissner@suse.de
|
2007-11-26 20:47:26 +01:00
|
|
|
- upgraded to 0.2.4
|
|
|
|
- various bug fixes and new fixes
|
|
|
|
- header-repairing for Zen devices
|
2008-03-03 16:29:16 +01:00
|
|
|
* Sun Oct 28 2007 meissner@suse.de
|
2007-10-29 10:28:06 +01:00
|
|
|
- --program-prefix=mtp- is needed.
|
2008-03-03 16:29:16 +01:00
|
|
|
* Fri Oct 26 2007 meissner@suse.de
|
2007-10-26 12:59:37 +02:00
|
|
|
- upgraded to 0.2.3
|
|
|
|
- new devices added
|
|
|
|
- varous bugfixes, speed ups
|
|
|
|
- bumped so from 6 to 7
|
|
|
|
- split off libmtp7 package
|
2008-03-03 16:29:16 +01:00
|
|
|
* Mon Oct 08 2007 meissner@suse.de
|
2007-10-09 18:29:12 +02:00
|
|
|
- upgraded to 0.2.2
|
|
|
|
- bugfixes, new devices, faster metadata read
|
2008-03-03 16:29:16 +01:00
|
|
|
* Fri Aug 10 2007 meissner@suse.de
|
2007-08-10 17:09:52 +02:00
|
|
|
- upgraded to 0.2.1 release
|
|
|
|
- fixed for LFS support
|
2008-03-03 16:29:16 +01:00
|
|
|
* Sun Aug 05 2007 meissner@suse.de
|
2007-08-06 21:27:01 +02:00
|
|
|
- upgraded to 0.2.0 release
|
|
|
|
- more USB ids
|
|
|
|
- 64bit handling
|
2008-03-03 16:29:16 +01:00
|
|
|
* Thu Jul 26 2007 meissner@suse.de
|
2007-07-27 01:56:14 +02:00
|
|
|
- uprgaded to current CVS state
|
|
|
|
- caching of fs and metadata
|
|
|
|
- new devices
|
|
|
|
- ptp reset binary
|
|
|
|
- bugfixes
|
2008-03-03 16:29:16 +01:00
|
|
|
* Mon Jun 04 2007 stbinner@suse.de
|
2007-06-05 01:10:42 +02:00
|
|
|
- fix build requires for older distributions
|
2008-03-03 16:29:16 +01:00
|
|
|
* Wed May 16 2007 olh@suse.de
|
2007-05-17 11:43:47 +02:00
|
|
|
- Buildrequires libusb -> libusb-devel
|
|
|
|
Remove unneded Requires libusb
|
|
|
|
-devel package requires libusb-devel
|
2008-03-03 16:29:16 +01:00
|
|
|
* Tue Mar 27 2007 meissner@suse.de
|
2007-03-29 00:48:36 +02:00
|
|
|
- upstream 0.1.5
|
|
|
|
- uses SetObjPropList for most devices
|
|
|
|
- usb lowlevel communication fixes for
|
|
|
|
stubborn devices
|
|
|
|
- some new ids
|
2008-03-03 16:29:16 +01:00
|
|
|
* Thu Mar 08 2007 meissner@suse.de
|
2007-03-08 00:50:50 +01:00
|
|
|
- upstream 0.1.4
|
|
|
|
- lots of bugfixes
|
|
|
|
- multiple device handling
|
2008-03-03 16:29:16 +01:00
|
|
|
* Thu Feb 08 2007 dmueller@suse.de
|
2007-02-09 01:13:18 +01:00
|
|
|
- split into -devel subpackage
|
2008-03-03 16:29:16 +01:00
|
|
|
* Wed Jan 17 2007 meissner@suse.de
|
2007-01-17 11:35:23 +01:00
|
|
|
- upstream 0.1.3
|
|
|
|
- bugfixes.
|
2008-03-03 16:29:16 +01:00
|
|
|
* Wed Jan 10 2007 meissner@suse.de
|
2007-01-10 17:49:12 +01:00
|
|
|
- use %%run_ldconfig in post/postun. (from rpmlint)
|
2008-03-03 16:29:16 +01:00
|
|
|
* Mon Jan 08 2007 meissner@suse.de
|
2007-01-08 17:46:05 +01:00
|
|
|
- Upgraded to 0.1.2:
|
|
|
|
- new devices
|
|
|
|
- lots of bugfixes, rewritten lowlevel
|
|
|
|
communications layer.
|
2008-03-03 16:29:16 +01:00
|
|
|
* Sat Dec 02 2006 meissner@suse.de
|
2007-01-08 17:46:05 +01:00
|
|
|
- Upgraded to 0.1.0:
|
|
|
|
- new devices
|
|
|
|
- metadata, tracks, vcf handling
|
|
|
|
- enhanced tools
|
|
|
|
- HAL snippet
|
2008-03-03 16:29:16 +01:00
|
|
|
* Thu Sep 21 2006 meissner@suse.de
|
2007-01-08 17:46:05 +01:00
|
|
|
- Upgraded to 0.0.19:
|
|
|
|
- formatting of devices added
|
|
|
|
- lots of fixes
|
2008-03-03 16:29:16 +01:00
|
|
|
* Mon Aug 28 2006 meissner@suse.de
|
2007-01-08 17:46:05 +01:00
|
|
|
- Upgraded to 0.0.16
|
|
|
|
- better handling of non-ascii filenames
|
|
|
|
- handling of large files
|
2008-03-03 16:29:16 +01:00
|
|
|
* Wed Aug 23 2006 meissner@suse.de
|
2007-01-08 17:46:05 +01:00
|
|
|
- libmtp 0.0.13
|
|
|
|
- Library to access MTP devices.
|
|
|
|
- Small sample tools for accessing.
|