removed requirement for libtqt-devel and other specfile fixes [release 1.13-2mamba;Sun Mar 03 2024]

This commit is contained in:
Silvan Calarco 2024-03-03 21:40:25 +01:00
parent 1b9d77026e
commit 94fe42769b
2 changed files with 6 additions and 27 deletions

View File

@ -1,15 +0,0 @@
--- libextractor-1.2/src/plugins/thumbnailffmpeg_extractor.c.orig 2013-08-28 11:30:31.000000000 +0200
+++ libextractor-1.2/src/plugins/thumbnailffmpeg_extractor.c 2013-10-27 07:03:46.045814925 +0100
@@ -327,10 +327,10 @@
#endif
}
-#if AV_VERSION_INT(54,25,0) > LIBAVUTIL_VERSION_INT
+#if AV_VERSION_INT(54,25,0) > LIBAVCODEC_VERSION_INT
#define ENUM_CODEC_ID enum CodecID
#else
-#define ENUM_CODEC_ID enum AvCodecID
+#define ENUM_CODEC_ID enum AVCodecID
#endif

View File

@ -1,6 +1,6 @@
Name: libextractor
Version: 1.13
Release: 1mamba
Release: 2mamba
Summary: A library used to extract meta-data from files of arbitrary type
Group: System/Libraries
Vendor: openmamba
@ -8,7 +8,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnu.org/software/libextractor/
Source: http://ftp.gnu.org/gnu/libextractor/libextractor-%{version}.tar.gz
Patch0: libextractor-1.2-ffmpeg-2.2.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -37,17 +36,9 @@ BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
BuildRequires: libz-devel
BuildRequires: libbzip2-devel
BuildRequires: mpeg2dec-devel
BuildRequires: libvorbis-devel
BuildRequires: gettext-devel
BuildRequires: pkgconfig
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libqt-devel
BuildRequires: libgsf-devel
Requires(post): %{__install_info}
Requires(preun): %{__install_info}
@ -63,12 +54,12 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libextractor is a library used to extract meta-data from files of arbitrary type.
It is designed to use helper-libraries to perform the actual extraction, and to be trivially extendable by linking against external extractors for additional file types.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%configure
@ -120,6 +111,9 @@ exit 0
%doc ChangeLog NEWS README TODO
%changelog
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
- removed requirement for libtqt-devel and other specfile fixes
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
- automatic version update by autodist