]> git.pld-linux.org Git - packages/libextractor.git/blame - libextractor.spec
- outdated (python binding separated from libextractor)
[packages/libextractor.git] / libextractor.spec
CommitLineData
f62a8524 1#
b9f124d2
JB
2# Conditional build:
3%bcond_with static # build with static glib
9ef92358 4%bcond_without static_libs # don't build static library
f62a8524 5#
e6895d44 6Summary: Meta-data extraction library
1f56d8de 7Summary(pl): Biblioteka do ekstrakcji metadanych
e6895d44 8Name: libextractor
d809ecde 9Version: 0.5.0
a4491c19 10Release: 1
e6895d44 11License: GPL
12Group: Libraries
fd470388 13# strange, .tar.gz is ~500kB smaller than .tar.bz2
bf567ee8 14Source0: http://gnunet.org/libextractor/download/%{name}-%{version}.tar.gz
d809ecde 15# Source0-md5: 5ca78c69a523e54b8c3c08369786f48a
16Patch0: %{name}-make_python.patch
bf567ee8 17URL: http://gnunet.org/libextractor/
b9f124d2 18BuildRequires: ImageMagick-devel >= 1:6.0.0
1611298c
JB
19BuildRequires: autoconf >= 2.57
20BuildRequires: automake
a4491c19 21BuildRequires: gettext-devel >= 0.14
f62a8524 22%if %{with static}
e28cbb8f 23BuildRequires: glib2-static >= 2.0.0
f62a8524
JB
24%else
25BuildRequires: glib2-devel >= 2.0.0
26%endif
22ef719f
JB
27BuildRequires: libltdl-devel
28BuildRequires: libstdc++-devel
1611298c 29BuildRequires: libtool >= 2:1.5
e6895d44 30BuildRequires: libvorbis-devel
d809ecde 31BuildRequires: python-devel >= 1:2.3
22ef719f 32BuildRequires: zlib-devel
e6895d44 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
e6895d44 35%description
36libextractor is a simple library for meta-data extraction.
37libextractor uses a plugin-mechanism that makes it easy to add support
38for more file formats, allowing anybody to add new extractors quickly.
39
40libextractor currently features meta-data extractors for HTML, JPEG,
dba19c27 41Ogg, MP3, PNG, RPM, GIF, ZIP, QT, ASF, Real Audio and Video,
e6895d44 42PostScript and PDF documents. It also detects many more MIME-types in
43a fashion similar to the well-known "file" tool.
44
45Each item of meta-data that is extracted from a file is categorized
46into one of currently about 40 meta-data categories (e.g. title,
47author, description or MIME-type).
48
49This libextractor package also contains a little binary tool "extract"
50that can be used to invoke libextractor from the command line.
51"extract" can be used similar to "file", but while "file" currently
52supports a wider range of file types, "extract" should be able to
53provide more precise and more detailed information for the supported
dba19c27 54types of documents (HTML, JPEG, Ogg, MP3, PNG, GIF, RPM, RA, RM, PS,
e6895d44 55PDF, ZIP, QT, ASF).
56
57%description -l pl
1f56d8de 58