Sisyphus repositório
Última atualização: 30 setembro 2022 | SRPMs: 17695 | Visitas: 25051571
en ru br
ALT Linux repositórios
5.0: 0.5.20b-alt1
4.1: 0.5.18a-alt1
4.0: 0.5.16-alt0.1
3.0: 0.4.2-alt1.2

Group :: Sistema/Bibliotecas
RPM: libextractor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable snapshot
%def_enable ffmpeg
# test_rpm failed
%def_disable check

Name: libextractor
Version: 1.11
Release: alt1

Summary: libextractor is a simple library for keyword extraction

Group: System/Libraries
License: GPLv2+

%if_disabled snapshot
Source: %name-%version.tar

%define flac_ver 1.3

BuildRequires: gcc-c++ zlib-devel bzlib-devel glib2-devel libexiv2-devel libflac-devel >= %flac_ver
BuildRequires: libgsf-devel libltdl7-devel libgtk+3-devel
BuildRequires: libmpeg2-devel libtiff-devel libmp4v2-devel libqt4-devel librpm-devel
BuildRequires: libopus-devel libvorbis-devel libflac-devel
BuildRequires: iso-codes-devel libgif-devel libarchive-devel libtidy-devel
BuildRequires: libjpeg-devel gst-plugins1.0-devel
%if_enabled ffmpeg
BuildRequires: libavcodec-devel libavutil-devel
BuildRequires: libavformat-devel libavresample-devel libswscale-devel
BuildRequires: makeinfo

libextractor is a simple library for keyword extraction.
libextractor does not support all formats but supports a simple plugging
mechanism such that you can quickly add extractors for additional
formats, even without recompiling libextractor. libextractor typically
ships with a dozen helper-libraries that can be used to obtain keywords
from common file-types.

%package -n extract
Summary: extract is a simple command-line interface to libextractor
Group: File tools
Requires: %name = %version-%release

%description -n extract
libextractor is a simple library for keyword extraction.
This package privides the extract is a simple command-line interface to

%package devel
Summary: %name development files and libraries
Group: Development/C
Requires: %name = %version-%release

%description devel
This package contains the files needed to build packages that depend on %name.


%configure --disable-static \
%{subst_enable ffmpeg}


# remove non-packaged files

rm -f %buildroot%_libdir/%name/*.la

%find_lang %name

export LD_LIBRARY_PATH=%buildroot%_libdir
export LIBEXTRACTOR_PREFIX=%buildroot%_libdir
# some tests failed in hasher -- need to investigate
%make check

%files -f %name.lang
%dir %_libdir/%name

%files -n extract

%files devel


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009