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