2024-01-06 05:06:43 +01:00
|
|
|
Name: libmtp
|
2024-11-23 10:30:02 +01:00
|
|
|
Version: 1.1.22
|
2024-01-06 05:06:43 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library implementation of the Media Transfer Protocol (MTP)
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 05:06:45 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:06:46 +01:00
|
|
|
URL: https://libmtp.sourceforge.net/
|
2024-01-06 05:06:43 +01:00
|
|
|
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
|
2024-01-06 05:06:45 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
2024-01-06 05:06:43 +01:00
|
|
|
BuildRequires: libusb-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Provides: libmtp7
|
2024-01-06 05:06:45 +01:00
|
|
|
Obsoletes: libmtp7 < 1.1.19
|
2024-01-06 05:06:43 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 05:06:45 +01:00
|
|
|
Obsoletes: libmtp7-devel < 1.1.19
|
2024-01-06 05:06:43 +01:00
|
|
|
|
|
|
|
%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.
|
2024-01-06 05:06:45 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:06:43 +01:00
|
|
|
|
|
|
|
%package -n mtp-tools
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: A collection of tools using libmtp
|
|
|
|
Provides: mtp7-tools
|
2024-01-06 05:06:45 +01:00
|
|
|
Obsoletes: mtp7-tools < 1.1.19
|
2024-01-06 05:06:43 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-06 05:06:45 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:06:43 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-11-23 10:30:02 +01:00
|
|
|
# Workaround for udev installation path
|
|
|
|
sed -i "s|id -u|echo 0|" configure
|
2024-01-06 05:06:43 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:06:44 +01:00
|
|
|
%configure \
|
|
|
|
--with-udev=`pkg-config --variable=udevdir udev`
|
|
|
|
|
2024-01-06 05:06:43 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/libmtp.a
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmtp.so.*
|
2024-01-06 05:06:45 +01:00
|
|
|
%{_prefix}/lib/udev/mtp-probe
|
|
|
|
%{_udevrulesdir}/69-libmtp.rules
|
|
|
|
%{_prefix}/lib/udev/hwdb.d/69-libmtp.hwdb
|
2024-01-06 05:06:43 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libmtp.h
|
|
|
|
%{_libdir}/libmtp.so
|
|
|
|
%{_libdir}/pkgconfig/libmtp.pc
|
2024-01-06 05:06:45 +01:00
|
|
|
%dir %{_docdir}/libmtp-%{version}
|
|
|
|
%dir %{_docdir}/libmtp-%{version}/html
|
|
|
|
%{_docdir}/libmtp-%{version}/html/*
|
2024-01-06 05:06:43 +01:00
|
|
|
%doc ChangeLog README TODO
|
|
|
|
|
|
|
|
%files -n mtp-tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/mtp-*
|
|
|
|
|
|
|
|
%changelog
|
2024-11-23 10:30:02 +01:00
|
|
|
* Fri Nov 22 2024 Automatic Build System <autodist@openmamba.org> 1.1.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:46 +01:00
|
|
|
* Fri Apr 28 2023 Automatic Build System <autodist@mambasoft.it> 1.1.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:45 +01:00
|
|
|
* Sun Jul 03 2022 Automatic Build System <autodist@mambasoft.it> 1.1.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:45 +01:00
|
|
|
* Wed Sep 29 2021 Automatic Build System <autodist@mambasoft.it> 1.1.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:45 +01:00
|
|
|
* Mon Oct 12 2020 Automatic Build System <autodist@mambasoft.it> 1.1.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:45 +01:00
|
|
|
* Fri Feb 07 2020 Automatic Build System <autodist@mambasoft.it> 1.1.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:45 +01:00
|
|
|
* Sun Oct 28 2018 Automatic Build System <autodist@mambasoft.it> 1.1.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:44 +01:00
|
|
|
* Sun Apr 01 2018 Automatic Build System <autodist@mambasoft.it> 1.1.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:44 +01:00
|
|
|
* Mon Oct 02 2017 Automatic Build System <autodist@mambasoft.it> 1.1.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:44 +01:00
|
|
|
* Tue Apr 04 2017 Automatic Build System <autodist@mambasoft.it> 1.1.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:44 +01:00
|
|
|
* Fri Aug 12 2016 Automatic Build System <autodist@mambasoft.it> 1.1.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:44 +01:00
|
|
|
* Sat Feb 20 2016 Automatic Build System <autodist@mambasoft.it> 1.1.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:44 +01:00
|
|
|
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 1.1.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:44 +01:00
|
|
|
* Sat May 09 2015 Automatic Build System <autodist@mambasoft.it> 1.1.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:06:44 +01:00
|
|
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 1.1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:06:43 +01:00
|
|
|
* Fri Aug 29 2014 Automatic Build System <autodist@mambasoft.it> 1.1.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:06:43 +01:00
|
|
|
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 02 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.1.5-1mamba
|
|
|
|
- update to 1.1.5
|
|
|
|
|
|
|
|
* Sun Mar 18 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.1.2-1mamba
|
|
|
|
- update to 1.1.2
|
|
|
|
|
|
|
|
* Thu Nov 10 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- update to 1.1.1
|
|
|
|
|
|
|
|
* Sun Aug 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- update to 1.1.0
|
|
|
|
|
|
|
|
* Sun Aug 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.6-1mamba
|
|
|
|
- update to 1.0.6
|
|
|
|
- remove mtp- binary prefix
|
|
|
|
- remove hal fdi
|
|
|
|
|
|
|
|
* Wed Jan 26 2011 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 05 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.0.3-1mamba
|
|
|
|
- update to 1.0.3
|
|
|
|
- install the libmtp.fdi file
|
|
|
|
|
|
|
|
* Thu May 13 2010 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Aug 09 2009 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.3-1mamba
|
|
|
|
- automatic update to 0.3.3 by autodist
|
|
|
|
|
|
|
|
* Thu Jul 31 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.6-1mamba
|
|
|
|
- update to 0.2.6
|
|
|
|
- install udev rules file from upstream file in sources
|
|
|
|
|
|
|
|
* Fri Nov 23 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-2mamba
|
|
|
|
- added package mtp-tools; binaries created with mtp- prefix
|
|
|
|
|
|
|
|
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 0.2.2-1mamba
|
|
|
|
- update to 0.2.2
|
|
|
|
- add rules for udev
|
|
|
|
|
|
|
|
* Fri Feb 09 2007 Aleph0 <aleph0@openmamba.org> 0.1.3-1qilnx
|
|
|
|
- update to version 0.1.3 by autospec
|
|
|
|
|
|
|
|
* Tue Oct 31 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.0.21-1qilnx
|
|
|
|
- package created by autospec
|