diff options
author | CoprDistGit <infra@openeuler.org> | 2024-11-21 05:43:17 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-11-21 05:43:17 +0000 |
commit | b1e2f72181a89e898471203e156858677f3256d5 (patch) | |
tree | 0c6d5069466232774d26ee2bfd06c60b74eb5f38 /libmtp.spec | |
parent | f7f723af70477db521fc7d07bf8a7e18f942b6e2 (diff) |
automatic import of libmtpopeneuler24.03_LTS
Diffstat (limited to 'libmtp.spec')
-rw-r--r-- | libmtp.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmtp.spec b/libmtp.spec index 9b8ebbd..4ee28d5 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -6,8 +6,10 @@ License: LGPL-2.1-or-later URL: https://libmtp.sourceforge.net/ Source0: https://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: 0001-doc-Don-t-document-internal-endian-macros.patch +Patch1: libmtp-1.1.22-udev-dir.patch -BuildRequires: libusbx-devel doxygen libgcrypt-devel chrpath gcc gettext-devel libtool +BuildRequires: autoconf automake libtool +BuildRequires: libusbx-devel doxygen libgcrypt-devel gcc gettext-devel Requires: udev Provides: %{name}-examples%{?_isa} %{name}-examples Obsoletes: %{name}-examples @@ -29,6 +31,7 @@ This package includes development files for libmtp. %autosetup -n libmtp-%{version} -p1 %build +autoreconf -fi %configure --disable-static --with-udev-rules=69-libmtp.rules --with-udev=%{_prefix}/lib/udev %make_build |