libmtp/libmtp.spec

164 lines
5.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: libmtp
Version: 1.1.10
Release: 1mamba
Summary: A library implementation of the Media Transfer Protocol (MTP)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://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: libusb-devel
BuildRequires: pkg-config
## AUTOBUILDREQ-END
Provides: libmtp7
Obsoletes: libmtp7
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%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 need for development.
%package -n mtp-tools
Group: System/Tools
Summary: A collection of tools using libmtp
Provides: mtp7-tools
Obsoletes: mtp7-tools
%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.
%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.*
/lib/udev/mtp-probe
/lib/udev/rules.d/69-libmtp.rules
/lib/udev/hwdb.d/69-libmtp.hwdb
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/libmtp.h
%{_libdir}/libmtp.la
%{_libdir}/libmtp.so
%{_libdir}/pkgconfig/libmtp.pc
%doc ChangeLog README TODO
%files -n mtp-tools
%defattr(-,root,root)
%{_bindir}/mtp-*
%changelog
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 1.1.10-1mamba
- automatic version update by autodist
* Sat May 09 2015 Automatic Build System <autodist@mambasoft.it> 1.1.9-1mamba
- automatic update by autodist
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 1.1.8-1mamba
- automatic version update by autodist
* Fri Aug 29 2014 Automatic Build System <autodist@mambasoft.it> 1.1.7-1mamba
- automatic update by autodist
* 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