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