Name: libmtp Version: 1.1.21 Release: 1mamba Summary: A library implementation of the Media Transfer Protocol (MTP) Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://libmtp.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/libmtp/libmtp/%{version}/libmtp-%{version}.tar.gz Patch0: %{name}-1.0.0-fix_DESTDIR_links.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcrypt-devel BuildRequires: libudev-devel BuildRequires: libusb-devel ## AUTOBUILDREQ-END Provides: libmtp7 Obsoletes: libmtp7 < 1.1.19 %description libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems. We implement MTP Basic, the stuff proposed for standardization. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: libmtp7-devel Obsoletes: libmtp7-devel < 1.1.19 %description devel libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems. We implement MTP Basic, the stuff proposed for standardization. This package contains static libraries and header files needed for development. %package -n mtp-tools Group: System/Tools Summary: A collection of tools using libmtp Provides: mtp7-tools Obsoletes: mtp7-tools < 1.1.19 %description -n mtp-tools libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems. We implement MTP Basic, the stuff proposed for standardization. This package contains a collection of tools using libmtp. %debug_package %prep %setup -q #%patch0 -p1 %build %configure \ --with-udev=`pkg-config --variable=udevdir udev` %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -f %{buildroot}%{_libdir}/libmtp.a %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libmtp.so.* %{_prefix}/lib/udev/mtp-probe %{_udevrulesdir}/69-libmtp.rules %{_prefix}/lib/udev/hwdb.d/69-libmtp.hwdb %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_includedir}/libmtp.h %{_libdir}/libmtp.so %{_libdir}/pkgconfig/libmtp.pc %dir %{_docdir}/libmtp-%{version} %dir %{_docdir}/libmtp-%{version}/html %{_docdir}/libmtp-%{version}/html/* %doc ChangeLog README TODO %files -n mtp-tools %defattr(-,root,root) %{_bindir}/mtp-* %changelog * Fri Apr 28 2023 Automatic Build System 1.1.21-1mamba - automatic version update by autodist * Sun Jul 03 2022 Automatic Build System 1.1.20-1mamba - automatic version update by autodist * Wed Sep 29 2021 Automatic Build System 1.1.19-1mamba - automatic version update by autodist * Mon Oct 12 2020 Automatic Build System 1.1.18-1mamba - automatic version update by autodist * Fri Feb 07 2020 Automatic Build System 1.1.17-1mamba - automatic version update by autodist * Sun Oct 28 2018 Automatic Build System 1.1.16-1mamba - automatic version update by autodist * Sun Apr 01 2018 Automatic Build System 1.1.15-1mamba - automatic version update by autodist * Mon Oct 02 2017 Automatic Build System 1.1.14-1mamba - automatic version update by autodist * Tue Apr 04 2017 Automatic Build System 1.1.13-1mamba - automatic version update by autodist * Fri Aug 12 2016 Automatic Build System 1.1.12-1mamba - automatic version update by autodist * Sat Feb 20 2016 Automatic Build System 1.1.11-1mamba - automatic version update by autodist * Fri Oct 09 2015 Automatic Build System 1.1.10-1mamba - automatic version update by autodist * Sat May 09 2015 Automatic Build System 1.1.9-1mamba - automatic update by autodist * Sun Sep 21 2014 Automatic Build System 1.1.8-1mamba - automatic version update by autodist * Fri Aug 29 2014 Automatic Build System 1.1.7-1mamba - automatic update by autodist * Tue Mar 19 2013 Automatic Build System 1.1.6-1mamba - automatic version update by autodist * Tue Oct 02 2012 Davide Madrisan 1.1.5-1mamba - update to 1.1.5 * Sun Mar 18 2012 Davide Madrisan 1.1.2-1mamba - update to 1.1.2 * Thu Nov 10 2011 Silvan Calarco 1.1.1-1mamba - update to 1.1.1 * Sun Aug 21 2011 Silvan Calarco 1.1.0-1mamba - update to 1.1.0 * Sun Aug 21 2011 Silvan Calarco 1.0.6-1mamba - update to 1.0.6 - remove mtp- binary prefix - remove hal fdi * Wed Jan 26 2011 Automatic Build System 1.0.4-1mamba - automatic update by autodist * Sat Jun 05 2010 Davide Madrisan 1.0.3-1mamba - update to 1.0.3 - install the libmtp.fdi file * Thu May 13 2010 Automatic Build System 1.0.2-1mamba - automatic update by autodist * Sun Aug 09 2009 Automatic Build System 1.0.0-1mamba - automatic update by autodist * Sat Apr 04 2009 Silvan Calarco 0.3.7-1mamba - automatic update by autodist * Sun Mar 01 2009 Silvan Calarco 0.3.6-1mamba - automatic update by autodist * Mon Dec 15 2008 Silvan Calarco 0.3.3-1mamba - automatic update to 0.3.3 by autodist * Thu Jul 31 2008 Silvan Calarco 0.2.6-1mamba - update to 0.2.6 - install udev rules file from upstream file in sources * Fri Nov 23 2007 Silvan Calarco 0.2.2-2mamba - added package mtp-tools; binaries created with mtp- prefix * Thu Nov 22 2007 Aleph0 0.2.2-1mamba - update to 0.2.2 - add rules for udev * Fri Feb 09 2007 Aleph0 0.1.3-1qilnx - update to version 0.1.3 by autospec * Tue Oct 31 2006 Davide Madrisan 0.0.21-1qilnx - package created by autospec