Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ansus:KDE3
libextractor
libextractor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libextractor.spec of Package libextractor
# spec file for package libextractor # norootforbuild %define plugins applefile asf deb dvi elf exiv2 filename flac flv gif hash_md5 hash_rmd160 hash_sha1 html id3v2 id3v23 id3v24 it jpeg lower man mime mp3 nsf nsfe ogg ole2 oo png ps qt real riff rpm s3m sid split tar thumbnailgtk thumbnailqt tiff translit wav xm zip %if 0%{?opensuse_bs:1} %define plugins_extra %nil %else %define plugins_extra mpeg %endif Name: libextractor1 BuildRequires: gcc-c++ pkgconfig libstdc++-devel make BuildRequires: ImageMagick gtk2-devel BuildRequires: libgsf-devel BuildRequires: vorbis-tools libvorbis-devel python-devel BuildRequires: flac-devel rpm-devel BuildRequires: libqt4-devel BuildRequires: libtool automake autoconf %if 0%{?!opensuse_bs:1} BuildRequires: libmp4v2-devel %endif License: GNU General Public License (GPL) Group: System/Libraries PreReq: %install_info_prereq Version: 0.5.22 Release: 0 Summary: Library to Extract Metadata from Files # http://gnunet.org/libextractor/download/libextractor-%{version}.tar.gz Source: libextractor-%{version}.tar.bz2 Source99: rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://www.gnu.org/software/libextractor/ Provides: libextractor = %{version}-%{release} Provides: libextractor_common0 = %{version}-%{release} %description Using libextractor, you can extract metadata from files of arbitrary types. Supported file formats include HTML, PDF, DVI, PS, MP3, OGG, WAV, JPEG, GIF, PNG, TIFF, RPM, ZIP, TAR, ELF, REAL, RIFF (AVI), MPEG, QT, and ASF. Also, various additional MIME types are detected. Helper libraries perform the extraction. It is extendable by linking against external extractors for additional file types. The goal is to provide developers of indexing tools with a universal library to obtain simple keywords to match against queries. libextractor contains a shell command "extract" that, similar to the well-known "file" command, can extract metadata from a file and print the results to stdout. Authors: -------- Christian Grothoff <christian@grothoff.org> %package -n libextractor-devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} %description -n libextractor-devel This package contains all necessary include files and libraries needed to develop applications that require these. Authors: -------- Christian Grothoff <christian@grothoff.org> %package -n libextractor-tools Summary: Command-Line Frontend for libextractor Group: Productivity/File utilities Requires: %{name} = %{version}-%{release} %description -n libextractor-tools Using libextractor, you can extract metadata from files of arbitrary types. Supported file formats include HTML, PDF, DVI, PS, MP3, OGG, WAV, JPEG, GIF, PNG, TIFF, RPM, ZIP, TAR, ELF, REAL, RIFF (AVI), MPEG, QT, and ASF. Also, various additional MIME types are detected. This package contains a command-line frontend. Authors: -------- Christian Grothoff <christian@grothoff.org> %debug_package %prep %setup -q -n "libextractor-%{version}" %build %configure \ --enable-xpdf \ --enable-exiv2 \ --enable-printable \ --enable-gsf \ --enable-gnome \ --disable-ffmpeg \ --with-plugindirname="libextractor1" \ --with-qt="%{_usr}" # -j4 breaks build %__sed -i 's|^\(libdir=\).*|\1%{_libdir}|;/^Libs:/s|-L/usr/lib||g' libextractor.pc %__mv po/libextractor{,1}.pot %__make DOMAIN="libextractor1" %install %makeinstall DOMAIN="libextractor1" %find_lang libextractor1 echo -n >plugins.lst for p in %plugins %plugins_extra; do echo "%{_libdir}/libextractor1/libextractor_${p}.so" >>plugins.lst echo "%{_libdir}/libextractor1/libextractor_${p}.la" >>plugins.lst done cat libextractor1.lang plugins.lst > files.lst %post -n libextractor1 -p /sbin/ldconfig %postun -n libextractor1 -p /sbin/ldconfig %post -n libextractor-tools %install_info --info-dir=%{_infodir} %{_infodir}/extractor.info.gz %postun -n libextractor-tools %install_info_delete --info-dir=%{_infodir} %{_infodir}/extractor.info.gz %clean %__rm -rf "%{buildroot}" %files -f files.lst %defattr(-, root, root) %doc AUTHORS COPYING NEWS README TODO %{_libdir}/libextractor_common.so.0 %{_libdir}/libextractor_common.so.0.*.* %{_libdir}/libextractor.so.1 %{_libdir}/libextractor.so.1.*.* %dir %{_libdir}/libextractor1 %{_libdir}/libextractor1/libextractor_printable_*.so %{_libdir}/libextractor1/libextractor_printable_*.la %{_libdir}/libextractor1/libextractor_pdf.so %{_libdir}/libextractor1/libextractor_pdf.so.* %{_libdir}/libextractor1/libextractor_pdf.la %{_libdir}/libextractor1/libextractor_thumbnail.so %files -n libextractor-tools %defattr(-, root, root) %{_bindir}/extract %doc %{_mandir}/man1/extract.1* %doc %{_infodir}/extractor.info* %files -n libextractor-devel %defattr(-, root, root) %{_includedir}/extractor.h %{_libdir}/pkgconfig/libextractor.pc %{_libdir}/libextractor.so %{_libdir}/libextractor.la %{_libdir}/libextractor_common.so %{_libdir}/libextractor_common.la %doc %{_mandir}/man3/libextractor.3* %changelog -n libextractor * Tue May 5 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.5.22 - shared library naming policy - spec file cleanup - update to 0.5.22 * Tue Sep 2 2008 - mstopka@opensuse.org - new upstream version * Sun Dec 24 2006 - dmacvicar@suse.de - temporary package as it is disabled in factory
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor