Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
geotag
geotag.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File geotag.spec of Package geotag
# # spec file for package geotag # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{?suse_version} >= 1030 %define build_from_source 1 %else %define build_from_source 0 %endif Name: geotag Version: 0.095 Release: 0 Url: http://geotag.sourceforge.net BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: coreutils BuildRequires: unzip %if %build_from_source BuildRequires: ant BuildRequires: ant-junit BuildRequires: java-devel >= 1.6 BuildRequires: junit %endif BuildArch: noarch Source: geotag-%{version}.tar.gz Source1: geotag-%{version}.jar Source2: geotag.sh Source3: build.xml Requires: dcraw Requires: exiftool Requires: gpsbabel Requires: jre Summary: Tool to Synchronize GPS Tracklog with Date/Time Stamps of Image EXIF Data License: GPL Group: Applications/GIS %description Geotag is an open source program that allows you match date/time information from photos with location information from a GPS unit or from a map. %if %build_from_source %prep %setup -q -n Geotag cp $RPM_SOURCE_DIR/build.xml . %build #find . -name \*.java > files #mkdir build dist #javac -d build -target 1.5 -nowarn -cp /usr/share/java/junit.jar @files #pushd build #cat > manifest << EOF #Manifest-Version: 1.0 #Main-Class: org/fibs/geotag/Geotag #EOF #jar -cvfm ../dist/geotag.jar manifest * #popd ant %endif %install mkdir -p $RPM_BUILD_ROOT%{_javadir} %if %build_from_source install -m 644 dist/GeoTag.jar $RPM_BUILD_ROOT%{_javadir} %if 0%{?suse_version} < 1100 export NO_BRP_CHECK_BYTECODE_VERSION=true %endif %else install -m 644 %SOURCE1 $RPM_BUILD_ROOT%{_javadir}/GeoTag.jar export NO_BRP_CHECK_BYTECODE_VERSION=true %endif mkdir -p $RPM_BUILD_ROOT%{_bindir} install %SOURCE2 $RPM_BUILD_ROOT%{_bindir}/geotag %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(0644,root,root,0755) %{_javadir}/* %attr(0755,root,root) %{_bindir}/geotag %changelog
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