SHA256
1
0
forked from pool/jflex

Autobuild autoformatter for 61538

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jflex?expand=0&rev=9
This commit is contained in:
Ruediger Oertel 2011-02-18 11:25:57 +00:00 committed by Git OBS Bridge
parent b6bf6e5a9f
commit 2dbe8233d4
3 changed files with 48 additions and 6 deletions

View File

@ -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}

View File

@ -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}

0
ready
View File