This commit is contained in:
parent
514b9a7b8e
commit
a51d8f9e82
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1f3c668de982b0f21ee065ef2f55fdfef8e97494c1990a1710e2c8fa4878eb52
|
|
||||||
size 394061
|
|
3
libmtp-0.2.3.tar.bz2
Normal file
3
libmtp-0.2.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b8da85f2b5c1693d16650d3f8a2142442536813905fa36a13dae623b347307cb
|
||||||
|
size 396121
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 26 11:16:25 CEST 2007 - meissner@suse.de
|
||||||
|
|
||||||
|
- upgraded to 0.2.3
|
||||||
|
- new devices added
|
||||||
|
- varous bugfixes, speed ups
|
||||||
|
- bumped so from 6 to 7
|
||||||
|
- split off libmtp7 package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 8 18:07:28 CEST 2007 - meissner@suse.de
|
Mon Oct 8 18:07:28 CEST 2007 - meissner@suse.de
|
||||||
|
|
||||||
|
48
libmtp.spec
48
libmtp.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmtp (Version 0.2.2)
|
# spec file for package libmtp (Version 0.2.3)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -21,7 +21,7 @@ License: LGPL v2 or later
|
|||||||
Group: Productivity/Multimedia/Sound/Players
|
Group: Productivity/Multimedia/Sound/Players
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Access to MTP Players
|
Summary: Access to MTP Players
|
||||||
Version: 0.2.2
|
Version: 0.2.3
|
||||||
Release: 1
|
Release: 1
|
||||||
Source0: %name-%version.tar.bz2
|
Source0: %name-%version.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -34,6 +34,27 @@ 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>
|
||||||
|
|
||||||
|
%package -n libmtp7
|
||||||
|
Summary: Access to MTP Players
|
||||||
|
Group: Productivity/Multimedia/Sound/Players
|
||||||
|
|
||||||
|
%description -n libmtp7
|
||||||
|
This package contains libraries that allow access to USB based media
|
||||||
|
players based on the MTP (Media TransferProtocol) authored by
|
||||||
|
Microsoft. Common devices using this technology are Creative Zen,
|
||||||
|
iRiver, Samsung and others.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Richard Low <richard@wentnet.com>
|
Richard Low <richard@wentnet.com>
|
||||||
@ -46,7 +67,7 @@ Authors:
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Access to MTP Players (development files)
|
Summary: Access to MTP Players (development files)
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: %name = %version
|
Requires: libmtp7 = %version
|
||||||
%if %suse_version > 1020
|
%if %suse_version > 1020
|
||||||
Requires: libusb-devel
|
Requires: libusb-devel
|
||||||
%endif
|
%endif
|
||||||
@ -72,11 +93,7 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
%configure
|
||||||
%if %suse_version > 1000
|
|
||||||
export CFLAGS="$CFLAGS -fstack-protector"
|
|
||||||
%endif
|
|
||||||
./configure --prefix=%{_prefix} --libdir=%{_libdir}
|
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -84,17 +101,20 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
install -d $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/
|
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 -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
|
||||||
|
|
||||||
%post
|
%post -n libmtp7
|
||||||
%run_ldconfig
|
%run_ldconfig
|
||||||
|
|
||||||
%postun
|
%postun -n libmtp7
|
||||||
%run_ldconfig
|
%run_ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc COPYING TODO README ChangeLog AUTHORS
|
%doc COPYING TODO README ChangeLog AUTHORS
|
||||||
%{_libdir}/lib*.so.*
|
|
||||||
%{_prefix}/bin/*
|
%{_prefix}/bin/*
|
||||||
|
|
||||||
|
%files -n libmtp7
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
%dir /usr/share/hal
|
%dir /usr/share/hal
|
||||||
%dir /usr/share/hal/fdi
|
%dir /usr/share/hal/fdi
|
||||||
%dir /usr/share/hal/fdi/information
|
%dir /usr/share/hal/fdi/information
|
||||||
@ -109,6 +129,12 @@ install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thi
|
|||||||
%{_libdir}/pkgconfig/libmtp.pc
|
%{_libdir}/pkgconfig/libmtp.pc
|
||||||
%{_prefix}/include/libmtp.h
|
%{_prefix}/include/libmtp.h
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 26 2007 - meissner@suse.de
|
||||||
|
- upgraded to 0.2.3
|
||||||
|
- new devices added
|
||||||
|
- varous bugfixes, speed ups
|
||||||
|
- bumped so from 6 to 7
|
||||||
|
- split off libmtp7 package
|
||||||
* Mon Oct 08 2007 - meissner@suse.de
|
* Mon Oct 08 2007 - meissner@suse.de
|
||||||
- upgraded to 0.2.2
|
- upgraded to 0.2.2
|
||||||
- bugfixes, new devices, faster metadata read
|
- bugfixes, new devices, faster metadata read
|
||||||
|
Loading…
Reference in New Issue
Block a user