This commit is contained in:
parent
01420e6b17
commit
9dc0ba641b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 8 10:16:36 CET 2007 - dmueller@suse.de
|
||||||
|
|
||||||
|
- split into -devel subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 17 11:28:17 CET 2007 - meissner@suse.de
|
Wed Jan 17 11:28:17 CET 2007 - meissner@suse.de
|
||||||
|
|
||||||
|
43
libmtp.spec
43
libmtp.spec
@ -19,7 +19,7 @@ Autoreqprov: on
|
|||||||
Requires: libusb
|
Requires: libusb
|
||||||
Summary: Access to MTP Players
|
Summary: Access to MTP Players
|
||||||
Version: 0.1.3
|
Version: 0.1.3
|
||||||
Release: 1
|
Release: 3
|
||||||
Source0: %name-%version.tar.bz2
|
Source0: %name-%version.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -31,6 +31,28 @@ 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 devel
|
||||||
|
Summary: Access to MTP Players (development files)
|
||||||
|
Group: Productivity/Multimedia/Sound/Players
|
||||||
|
Requires: %name = %version
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
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:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Richard Low <richard@wentnet.com>
|
Richard Low <richard@wentnet.com>
|
||||||
@ -44,7 +66,10 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
%if %suse_version > 1000
|
||||||
|
export CFLAGS="$CFLAGS -fstack-protector"
|
||||||
|
%endif
|
||||||
./configure --prefix=%{_prefix} --libdir=%{_libdir}
|
./configure --prefix=%{_prefix} --libdir=%{_libdir}
|
||||||
make
|
make
|
||||||
|
|
||||||
@ -62,9 +87,7 @@ install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thi
|
|||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc COPYING TODO README ChangeLog AUTHORS
|
%doc COPYING TODO README ChangeLog AUTHORS
|
||||||
%{_libdir}/lib*
|
%{_libdir}/lib*.so.*
|
||||||
%{_libdir}/pkgconfig/libmtp.pc
|
|
||||||
%{_prefix}/include/libmtp.h
|
|
||||||
%{_prefix}/bin/*
|
%{_prefix}/bin/*
|
||||||
%dir /usr/share/hal
|
%dir /usr/share/hal
|
||||||
%dir /usr/share/hal/fdi
|
%dir /usr/share/hal/fdi
|
||||||
@ -72,7 +95,17 @@ install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thi
|
|||||||
%dir /usr/share/hal/fdi/information/20thirdparty/
|
%dir /usr/share/hal/fdi/information/20thirdparty/
|
||||||
/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
|
/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%{_libdir}/lib*.la
|
||||||
|
%{_libdir}/lib*.a
|
||||||
|
%{_libdir}/pkgconfig/libmtp.pc
|
||||||
|
%{_prefix}/include/libmtp.h
|
||||||
|
|
||||||
%changelog -n libmtp
|
%changelog -n libmtp
|
||||||
|
* Thu Feb 08 2007 - dmueller@suse.de
|
||||||
|
- split into -devel subpackage
|
||||||
* Wed Jan 17 2007 - meissner@suse.de
|
* Wed Jan 17 2007 - meissner@suse.de
|
||||||
- upstream 0.1.3
|
- upstream 0.1.3
|
||||||
- bugfixes.
|
- bugfixes.
|
||||||
|
Loading…
Reference in New Issue
Block a user