SPECS: josm.spec - R: jre-X11 - BR: rpm-javaprov - include java rpm macros ...

pawelz pawelz at pld-linux.org
Sun Apr 12 21:30:26 CEST 2009


Author: pawelz                       Date: Sun Apr 12 19:30:26 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- R: jre-X11
- BR: rpm-javaprov
- include java rpm macros
- verbose files
- TODO (where to install .jar? Why not in %%{_javadir})

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

---- Diffs:

================================================================
Index: SPECS/josm.spec
diff -u SPECS/josm.spec:1.1 SPECS/josm.spec:1.2
--- SPECS/josm.spec:1.1	Sun Apr 12 21:16:51 2009
+++ SPECS/josm.spec	Sun Apr 12 21:30:21 2009
@@ -1,5 +1,7 @@
 # $Revision$, $Date$
-#
+# TODO:
+# - move .jar to %%{_javadir}?
+%include	/usr/lib/rpm/macros.java
 Summary:	Java OpenStreetMap Editor
 Summary(pl.UTF-8):	Edytor OpenStreetMap w Javie
 Name:		josm
@@ -12,7 +14,8 @@
 Source0:	http://josm.openstreetmap.de/download/%{name}-snapshot-%{version}.jar
 # Source0-md5:	e59c600a41719b38edb3108dce2ae871
 URL:		http://josm.openstreetmap.de/
-Requires:	jre >= 1.5
+BuildRequires:	rpm-javaprov
+Requires:	jre-X11 >= 1.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,7 +45,7 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/josm
 %{_datadir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -51,6 +54,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/04/12 19:30:21  pawelz
+- R: jre-X11
+- BR: rpm-javaprov
+- include java rpm macros
+- verbose files
+- TODO (where to install .jar? Why not in %%{_javadir})
+
 Revision 1.1  2009/04/12 19:16:51  jajcus
 - new spec
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/josm.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list