New upstream version.
This commit is contained in:
parent
9629a04e51
commit
d0dc571c66
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@ i386
|
|||||||
/libmtp-1.1.6.tar.gz
|
/libmtp-1.1.6.tar.gz
|
||||||
/libmtp-1.1.7.tar.gz
|
/libmtp-1.1.7.tar.gz
|
||||||
/libmtp-1.1.8.tar.gz
|
/libmtp-1.1.8.tar.gz
|
||||||
|
/libmtp-1.1.9.tar.gz
|
||||||
|
20
libmtp.spec
20
libmtp.spec
@ -4,7 +4,7 @@
|
|||||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
Name: libmtp
|
Name: libmtp
|
||||||
Version: 1.1.8
|
Version: 1.1.9
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A software library for MTP media players
|
Summary: A software library for MTP media players
|
||||||
URL: http://libmtp.sourceforge.net/
|
URL: http://libmtp.sourceforge.net/
|
||||||
@ -16,6 +16,7 @@ License: LGPLv2+
|
|||||||
Requires: udev
|
Requires: udev
|
||||||
BuildRequires: libusb1-devel
|
BuildRequires: libusb1-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: libgcrypt-devel
|
||||||
Obsoletes: libmtp-hal
|
Obsoletes: libmtp-hal
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -38,6 +39,7 @@ Group: System Environment/Libraries
|
|||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: libusb1-devel
|
Requires: libusb1-devel
|
||||||
|
Requires: libgcrypt-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides development files for the libmtp
|
This package provides development files for the libmtp
|
||||||
@ -48,7 +50,6 @@ library for MTP media players.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--disable-mtpz \
|
|
||||||
--with-udev-rules=69-libmtp.rules
|
--with-udev-rules=69-libmtp.rules
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -74,6 +75,9 @@ popd
|
|||||||
mkdir -p -m 755 $RPM_BUILD_ROOT%{_pkgdocdir}
|
mkdir -p -m 755 $RPM_BUILD_ROOT%{_pkgdocdir}
|
||||||
install -p -m 644 AUTHORS ChangeLog COPYING INSTALL README TODO \
|
install -p -m 644 AUTHORS ChangeLog COPYING INSTALL README TODO \
|
||||||
$RPM_BUILD_ROOT%{_pkgdocdir}
|
$RPM_BUILD_ROOT%{_pkgdocdir}
|
||||||
|
# Move some autogenerated documentation where we want it
|
||||||
|
mv $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/html \
|
||||||
|
$RPM_BUILD_ROOT%{_pkgdocdir}
|
||||||
# Touch generated files to make them always have the same time stamp.
|
# Touch generated files to make them always have the same time stamp.
|
||||||
touch -r configure.ac \
|
touch -r configure.ac \
|
||||||
$RPM_BUILD_ROOT%{_includedir}/*.h \
|
$RPM_BUILD_ROOT%{_includedir}/*.h \
|
||||||
@ -90,8 +94,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{_pkgdocdir}
|
%dir %{_pkgdocdir}
|
||||||
%{_pkgdocdir}/COPYING
|
%{_pkgdocdir}/COPYING
|
||||||
%{_libdir}/libmtp.so.9*
|
%{_libdir}/libmtp.so.9*
|
||||||
/lib/udev/rules.d/*
|
/usr/lib/udev/rules.d/*
|
||||||
/lib/udev/mtp-probe
|
/usr/lib/udev/hwdb.d/*
|
||||||
|
/usr/lib/udev/mtp-probe
|
||||||
|
|
||||||
%files examples
|
%files examples
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -105,8 +110,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_libdir}/pkgconfig/libmtp.pc
|
%{_libdir}/pkgconfig/libmtp.pc
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 11 2015 Linus Walleij <triad@df.lth.se> - 1.1.9-1
|
||||||
|
- New upstream version with many fixes.
|
||||||
|
- Require libgrypt-devel to build, build libmtpz.
|
||||||
|
- Install hwdb file.
|
||||||
|
- Move documentation to a good place.
|
||||||
|
|
||||||
* Tue Aug 26 2014 Linus Walleij <triad@df.lth.se> - 1.1.8-1
|
* Tue Aug 26 2014 Linus Walleij <triad@df.lth.se> - 1.1.8-1
|
||||||
- Get the bug fix below from upstream instead.
|
- Get the bug fix below from upstream instead.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user