diff --git a/libmtp.changes b/libmtp.changes index 640e6bb..cebcfb6 100644 --- a/libmtp.changes +++ b/libmtp.changes @@ -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 diff --git a/libmtp.spec b/libmtp.spec index 9b6b736..bffdaf3 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -19,7 +19,7 @@ Autoreqprov: on Requires: libusb Summary: Access to MTP Players Version: 0.1.3 -Release: 1 +Release: 3 Source0: %name-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -31,6 +31,28 @@ iRiver, Samsung and others. +Authors: +-------- + Richard Low + Linus Walleij + + based on code by: + Mariusz Woloszyn + Marcus Meissner + +%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: -------- Richard Low @@ -44,7 +66,10 @@ Authors: %setup -q %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} make @@ -62,9 +87,7 @@ install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thi %files %defattr(-, root, root) %doc COPYING TODO README ChangeLog AUTHORS -%{_libdir}/lib* -%{_libdir}/pkgconfig/libmtp.pc -%{_prefix}/include/libmtp.h +%{_libdir}/lib*.so.* %{_prefix}/bin/* %dir /usr/share/hal %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/ /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 +* Thu Feb 08 2007 - dmueller@suse.de +- split into -devel subpackage * Wed Jan 17 2007 - meissner@suse.de - upstream 0.1.3 - bugfixes.