Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
metadata-extractor
metadata-extractor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File metadata-extractor.spec of Package metadata-extractor
# Copyright (c) 2006-2008 oc2pus # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments to toni@links2linux.de # norootforbuild Name: metadata-extractor Summary: A project to extract Exif and Iptc image meta-data from media such as JPEG files URL: http://www.drewnoakes.com/code/exif/ Group: Productivity/Multimedia/Video/Editors and Convertors Version: 2.3.1 Release: 0.pm.1.1 License: GPL BuildRequires: ant BuildRequires: ant-junit BuildRequires: java-1_6_0-openjdk-devel #BuildRequires: java-1_5_0-sun-devel BuildRequires: junit BuildRequires: update-alternatives BuildRequires: xerces-j2 BuildRequires: xml-commons-apis Requires: java >= 1.5 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Source0: http://www.drewnoakes.com/code/exif/%{name}-%{version}-src.jar Patch: %{name}-build.xml.diff Patch1: http://josm.openstreetmap.de/svn/trunk/lib/metadata-extractor-2.3.1-nosun.diff BuildArch: noarch %description A project to extract Exif and Iptc image meta-data from media such as JPEG files. What began as a simple utility to extract the date-taken from a digital still camera (DSC) Jpeg file is now a general metadata extraction framework. Support currently exists for Exif and Iptc metadata segments. Extraction of these segments is provided for Jpeg files. It is hoped that individuals with specific needs will extend the framework by adding their own classes. Information extracted by this library might be of use to you if you're writing an image browser, image categoriser, photo album, etc... I started coding this library for use in my own photo gallery. This metadata library is available with Java source code for usage in the public domain. %package javadoc Summary: User documentation for metadata-extractor Group: Documentation/Other PreReq: coreutils %description javadoc User documentation for metadata-extractor. %prep %setup -q -T -c -n %{name}-%{version} %jar xf %{SOURCE0} %patch %if %suse_version >= 1100 %patch1 -p1 %endif %__rm -rf Libraries %build export LANG=de_DE %ant dist-binaries javadoc %install export NO_BRP_CHECK_BYTECODE_VERSION=true # jars %__install -dm 755 %{buildroot}%{_javadir} %__install -m 644 Releases/%{name}-%{version}.jar \ %{buildroot}%{_javadir} pushd %{buildroot}%{_javadir} for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"` done popd # javadoc %__install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version} %__cp -pr javadoc/* \ %{buildroot}%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # ghost symlink %clean [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" %post javadoc %__rm -f %{_javadocdir}/%{name} ln -s %{name}-%{version} %{_javadocdir}/%{name} %files %defattr(-,root,root) %doc ChangeLog.txt %{_javadir}/*.jar %files javadoc %defattr(0644,root,root,0755) %doc %{_javadocdir}/%{name}-%{version} %ghost %doc %{_javadocdir}/%{name} %changelog * Wed Oct 15 2008 Toni Graffy <toni@links2linux.de> - 2.3.1-0.pm.2 - rebuild with patch for openSuSE >= 11.0 * Sun Nov 26 2006 Toni Graffy <toni@links2linux.de> - 2.3.1-0.pm.1 - First packaged release 2.3.1
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