]> git.pld-linux.org Git - packages/libextractor.git/blob - libextractor.spec
5665bd93f740a6118d0409bd626d50f904809e39
[packages/libextractor.git] / libextractor.spec
1 Summary:        Meta-data extraction library
2 Summary(pl):    Biblioteka do ekstrakcji meta-danych
3 Name:           libextractor
4 Version:        0.2.4
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Requires:       glibc >= 2.2.4
9 Requires:       libvorbis
10 Requires:       libogg
11 BuildRequires:  libvorbis-devel
12 BuildRequires:  libogg-devel
13 URL:            http://www.ovmj.org/%{name}/
14 Source0:        http://www.ovmj.org/%{name}/download/%{name}-%{version}.tar.bz2
15 # Source0-md5:  9d059e4b02cac89661816f19458d0bf5
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %package devel
19 Summary:        Development files for libextractor
20 Summary(pl):    Pliki nag³ówkowe libextractor
21 Group:          Development/Libraries
22 Requires:       %{name} = %{version}
23
24 %package static
25 Summary:        Static libextractor libraries
26 Summary(pl):    Statyczne biblioteki libextractor
27 Group:          Development/Libraries
28 Requires:       %{name}-devel = %{version}
29
30
31 %description
32 libextractor is a simple library for meta-data extraction.
33 libextractor uses a plugin-mechanism that makes it easy to add support
34 for more file formats, allowing anybody to add new extractors quickly.
35
36 libextractor currently features meta-data extractors for HTML, JPEG,
37 OGG, MP3, PNG, RPM, GIF, ZIP, QT, ASF, Real audio and video,
38 PostScript and PDF documents. It also detects many more MIME-types in
39 a fashion similar to the well-known "file" tool.
40
41 Each item of meta-data that is extracted from a file is categorized
42 into one of currently about 40 meta-data categories (e.g. title,
43 author, description or MIME-type).
44
45 This libextractor package also contains a little binary tool "extract"
46 that can be used to invoke libextractor from the command line.
47 "extract" can be used similar to "file", but while "file" currently
48 supports a wider range of file types, "extract" should be able to
49 provide more precise and more detailed information for the supported
50 types of documents (HTML, JPEG, OGG, MP3, PNG, GIF, RPM, RA, RM, PS,
51 PDF, ZIP, QT, ASF).
52
53 %description -l pl
54 libextractor to prosta biblioteka s³u¿±ca do ekstrakcji meta-danych.
55 libextractor u¿ywa mechanizmu "wtyczek", dziêki czemu ³atwo jest dodaæ
56 wsparcie dla nowych formatów plików.
57
58 libextractor obecnie pozwala na pozyskanie meta-danych z plików w
59 formatach HTML, JPEG, OGG, MP3, PNG, RPM, GIF, ZIP, QT, ASF, Real
60 audio i video, PostScript oraz PDF. Ponadto rozpoznaje du¿o wiêcej
61 typów MIME, podobnie jak dobrze znane narzêdzie "file".
62
63 Ka¿da informacja pobrana z pliku nale¿y do jednej z ponad 400
64 kategorii (np. tytu³, autor, opis, typ MIME).
65
66 Ta paczka zawiera te¿ narzedzie "extract", które pozwala skorzystaæ z
67 us³ug libextractor bezpo¶rednio z linii komend. "extract" mo¿e byæ
68 u¿ywane w podobny sposób, co "file". "file" zna wiêcej typów danych,
69 "extract" natomiast dostarcza bardziej precyzyjnych i szczegó³owych
70 informacji na temat obs³ugiwanych formatów (HTML, JPEG, OGG, MP3, PNG,
71 GIF, RPM, RA, RM, PS, PDF, ZIP, QT, ASF).
72
73 %description devel
74 This package contains files to develop with libextractor, that is
75 either to create plugins or to compile applications with libextractor.
76
77 %description devel -l pl
78 Piki nag³ówkowe wymagane do tworzenia aplikacji i wtyczek
79 korzystaj±cych z libextractor.
80
81 %description static
82 This package contains static libraries of libextractor.
83
84 %description static -l pl
85 Statyczna wersja bibliotek libextractor.
86
87 %prep
88 %setup -q
89
90 %build
91 %configure
92 make
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99 %makeinstall
100
101 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
103
104 %files
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libextractor.so
107 %attr(755,root,root) %{_libdir}/libextractor.so.*
108 %attr(755,root,root) %{_libdir}/libextractor_*.so
109 %attr(755,root,root) %{_libdir}/libextractor_*.so.*
110 %attr(755,root,root) %{_bindir}/extract
111 %doc %{_mandir}/man1/*
112
113 %files devel
114 %defattr(644,root,root,755)
115 %{_libdir}/*.la
116 %{_includedir}/extractor.h
117 %doc %{_mandir}/man3/*
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/*.a
This page took 0.086039 seconds and 3 git commands to generate.