Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
jlex
jlex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jlex.spec of Package jlex
# # spec file for package jlex # # 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/ # # icecream 0 Name: jlex BuildRequires: ant BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: xml-commons-apis-bootstrap #!BuildIgnore: xml-commons-apis xml-commons-resolver xml-commons xerces-j2 #!BuildIgnore: xml-commons-jaxp-1.3-apis xml-commons-resolver12 %define name jlex %define version 1.2.6 %define release 2jpp %define section free Version: 1.2.6 Release: 0 Summary: A Lexical Analyzer Generator for Java License: BSD-3-Clause Group: Development/Libraries/Java Source0: http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.5/Main.java Source1: %{name}-%{version}.build.xml Patch0: %{name}-%{version}.static.patch Url: http://www.cs.princeton.edu/~appel/modern/java/JLex/ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description JLex is a lexical analyzer generator for Java. %prep %setup -c -T cp %{SOURCE0} . %patch0 -p0 cp %{SOURCE1} build.xml %build unset CLASSPATH ant %install # jar install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 dist/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) %files %defattr(-,root,root,-) %{_javadir}/* %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