93 lines
2.5 KiB
RPMSpec
93 lines
2.5 KiB
RPMSpec
|
#
|
||
|
# spec file for package libmtp (Version 0.1.2)
|
||
|
#
|
||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: libmtp
|
||
|
URL: http://sf.net/projects/libmtp
|
||
|
BuildRequires: libusb
|
||
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||
|
Group: Productivity/Multimedia/Sound/Players
|
||
|
Autoreqprov: on
|
||
|
Requires: libusb
|
||
|
Summary: Access to MTP Players
|
||
|
Version: 0.1.2
|
||
|
Release: 1
|
||
|
Source0: %name-%version.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
This package contains a library that allows access to USB based media
|
||
|
players based on the MTP (Media Transfer Protocol) authored by
|
||
|
Microsoft. Common devices using this technology are Creative Zen,
|
||
|
iRiver, Samsung and others.
|
||
|
|
||
|
|
||
|
|
||
|
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
|
||
|
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
||
|
./configure --prefix=%{_prefix} --libdir=%{_libdir}
|
||
|
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
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%doc COPYING TODO README ChangeLog AUTHORS
|
||
|
%{_libdir}/lib*
|
||
|
%{_libdir}/pkgconfig/libmtp.pc
|
||
|
%{_prefix}/include/libmtp.h
|
||
|
%{_prefix}/bin/*
|
||
|
%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
|
||
|
|
||
|
%changelog -n libmtp
|
||
|
* Mon Jan 08 2007 - meissner@suse.de
|
||
|
- Upgraded to 0.1.2:
|
||
|
- new devices
|
||
|
- lots of bugfixes, rewritten lowlevel
|
||
|
communications layer.
|
||
|
* Sat Dec 02 2006 - meissner@suse.de
|
||
|
- Upgraded to 0.1.0:
|
||
|
- new devices
|
||
|
- metadata, tracks, vcf handling
|
||
|
- enhanced tools
|
||
|
- HAL snippet
|
||
|
* Thu Sep 21 2006 - meissner@suse.de
|
||
|
- Upgraded to 0.0.19:
|
||
|
- formatting of devices added
|
||
|
- lots of fixes
|
||
|
* Mon Aug 28 2006 - meissner@suse.de
|
||
|
- Upgraded to 0.0.16
|
||
|
- better handling of non-ascii filenames
|
||
|
- handling of large files
|
||
|
* Wed Aug 23 2006 - meissner@suse.de
|
||
|
- libmtp 0.0.13
|
||
|
- Library to access MTP devices.
|
||
|
- Small sample tools for accessing.
|