diff --git a/jflex-bootstrap.spec b/jflex-bootstrap.spec index 83a4737..3023da9 100644 --- a/jflex-bootstrap.spec +++ b/jflex-bootstrap.spec @@ -1,3 +1,21 @@ +# +# spec file for package jflex-bootstrap +# +# Copyright (c) 2011 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/ +# + + %define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} %define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} %define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} @@ -13,11 +31,11 @@ Name: jflex-bootstrap # This line is not a comment, please do not remove it! #%(sh %{_sourcedir}/jpackage-bootstrap-prepare.sh %{_sourcedir} %{name}) Version: 1.4.3 -Release: 1 +Release: 10 Summary: Lexical Analyzer Generator for Java License: GPLv2+ Group: Development/Libraries/Java -URL: http://www.jflex.de/ +Url: http://www.jflex.de/ Source0: http://www.jflex.de/jflex-%{version}.tar.bz2 Source1: jflex.script Patch0: jflex-javac-no-target.patch @@ -35,7 +53,7 @@ BuildRequires: jflex-bootstrap BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: junit BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description JFlex is a lexical analyzer generator for Java written in Java. It is @@ -55,6 +73,7 @@ Design goals The main design goals of JFlex are: %if %without bootstrap %package javadoc +License: GPLv2+ Group: Development/Libraries/Java Summary: Javadoc for %{name} @@ -76,6 +95,7 @@ Design goals The main design goals of JFlex are: This package contains javadoc for %{name}. %package doc +License: GPLv2+ Group: Development/Libraries/Java Summary: Documentation and examples for %{name} @@ -167,6 +187,7 @@ popd %{_javadir}/JFlex.jar %if %without bootstrap + %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-%{version} diff --git a/jflex.spec b/jflex.spec index c49ae91..8ff6df8 100644 --- a/jflex.spec +++ b/jflex.spec @@ -1,3 +1,21 @@ +# +# spec file for package jflex +# +# Copyright (c) 2011 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/ +# + + %define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} %define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} %define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} @@ -12,11 +30,11 @@ Name: jflex # This line is not a comment, please do not remove it! #%(sh %{_sourcedir}/jpackage-bootstrap-prepare.sh %{_sourcedir} %{name}) Version: 1.4.3 -Release: 1 +Release: 13 Summary: Lexical Analyzer Generator for Java License: GPLv2+ Group: Development/Libraries/Java -URL: http://www.jflex.de/ +Url: http://www.jflex.de/ Source0: http://www.jflex.de/jflex-%{version}.tar.bz2 Source1: jflex.script Patch0: jflex-javac-no-target.patch @@ -35,7 +53,7 @@ BuildRequires: jflex-bootstrap BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: junit BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description JFlex is a lexical analyzer generator for Java written in Java. It is @@ -55,6 +73,7 @@ Design goals The main design goals of JFlex are: %if %without bootstrap %package javadoc +License: GPLv2+ Group: Development/Libraries/Java Summary: Javadoc for %{name} @@ -76,6 +95,7 @@ Design goals The main design goals of JFlex are: This package contains javadoc for %{name}. %package doc +License: GPLv2+ Group: Development/Libraries/Java Summary: Documentation and examples for %{name} @@ -167,6 +187,7 @@ popd %{_javadir}/JFlex.jar %if %without bootstrap + %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-%{version} diff --git a/ready b/ready deleted file mode 100644 index 473a0f4..0000000