parent
f3b09e85b5
commit
566ea3edad
@ -0,0 +1 @@
|
||||
/libudfread-1.1.0.tar.bz2
|
@ -0,0 +1,25 @@
|
||||
From 51c80f22b70f79d1b3919836699ea1241c3efc3a Mon Sep 17 00:00:00 2001
|
||||
From: Xavier Bachelot <xavier@bachelot.org>
|
||||
Date: Thu, 3 Sep 2020 16:05:47 +0200
|
||||
Subject: [PATCH] No need to call both LT_INIT and AC_PROG_LIBTOOL
|
||||
|
||||
Thus drop deprecated AC_PROG_LIBTOOL.
|
||||
---
|
||||
configure.ac | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 571f16a..64948e7 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -56,7 +56,6 @@ AC_ARG_ENABLE([extra-warnings],
|
||||
dnl required programs
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
-AC_PROG_LIBTOOL
|
||||
|
||||
LT_INIT
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
@ -0,0 +1,68 @@
|
||||
Name: libudfread
|
||||
Version: 1.1.0
|
||||
Release: 2%{?dist}
|
||||
Summary: UDF reader library
|
||||
License: LGPLv2+
|
||||
URL: https://code.videolan.org/videolan/libudfread
|
||||
Source0: https://code.videolan.org/videolan/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
||||
|
||||
# https://code.videolan.org/videolan/libudfread/-/merge_requests/2.patch
|
||||
Patch0: libudfread-1.1.0-drop_ac_prog_libtool.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
|
||||
|
||||
%description
|
||||
This library allows reading UDF filesystems, like raw devices and image files.
|
||||
The library is created and maintained by VideoLAN Project and is used by
|
||||
projects like VLC and Kodi.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
%doc ChangeLog
|
||||
%license COPYING
|
||||
%{_libdir}/libudfread.so.0*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/udfread/
|
||||
%{_libdir}/libudfread.so
|
||||
%{_libdir}/pkgconfig/udfread.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 03 2020 Xavier Bachelot <xavier@bachelot.org> 1.1.0-2
|
||||
- Don't glob _includedir
|
||||
- Patch obsolete m4 macro
|
||||
|
||||
* Thu Aug 13 2020 Xavier Bachelot <xavier@bachelot.org> 1.1.0-1
|
||||
- Initial package
|
Loading…
Reference in new issue