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