SPECS: josm.spec (NEW) - new spec

jajcus jajcus at pld-linux.org
Sun Apr 12 21:16:56 CEST 2009


Author: jajcus                       Date: Sun Apr 12 19:16:56 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new spec

---- Files affected:
SPECS:
   josm.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/josm.spec
diff -u /dev/null SPECS/josm.spec:1.1
--- /dev/null	Sun Apr 12 21:16:56 2009
+++ SPECS/josm.spec	Sun Apr 12 21:16:51 2009
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+#
+Summary:	Java OpenStreetMap Editor
+Summary(pl.UTF-8):	Edytor OpenStreetMap w Javie
+Name:		josm
+Version:	1515
+Release:	1
+License:	GPL v2+
+Group:		Applications
+# this should be the 'tested' snapshot, available also at
+# http://josm.openstreetmap.de/josm-tested.jar
+Source0:	http://josm.openstreetmap.de/download/%{name}-snapshot-%{version}.jar
+# Source0-md5:	e59c600a41719b38edb3108dce2ae871
+URL:		http://josm.openstreetmap.de/
+Requires:	jre >= 1.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+JOSM is an editor for OpenStreetMap (OSM) written in Java 1.5.
+Currently it supports loading stand alone GPX tracks and GPX track
+data from the OSM database as well as loading and editing existing
+nodes, ways, metadata tags and relations from the OSM database.
+
+%prep
+%setup -q -c -T
+
+%build
+cat >josm <<EOF
+#!/bin/sh
+
+exec java -jar %{_datadir}/%{name}/%{name}-snapshot-%{version}.jar
+EOF
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+install %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/%{name}/
+install josm $RPM_BUILD_ROOT%{_bindir}/josm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/04/12 19:16:51  jajcus
+- new spec
+
================================================================


More information about the pld-cvs-commit mailing list