Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frauh
jasmin
jasmin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jasmin.spec of Package jasmin
# # spec file for package jasmin # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: jasmin Summary: A Java Assembler Interface. Version: 2.3 Release: 0.1 Group: Development/Language/Other License: GNU General Public License (GPL) v2 Url: http://jasmin.sourceforge.net/ Vendor: Florian Rauh Source0: %{name}-%{version}.zip Source1: jasmin-run.sh BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ant BuildRequires: dos2unix BuildRequires: unzip Requires: java >= 1.5.0 %define install_dir %{_datadir}/%{name} %description Jasmin is a Java Assembler Interface. It takes ASCII descriptions for Java classes, written in a simple assembler-like syntax, using the Java Virtual Machine instruction set. It converts them into binary Java class files suitable for loading into a Java interpreter. Jasmin was originally written as the companion to the book "Java Virtual Machine", published by O'Reilly, written by Jon Meyer and Troy Downing. (See http://www.ora.com/catalog/javavm/). The book is now out of print. However, the Jasmin assembler retains its usefulness as a utility, and continues its life as an OpenSource project. %prep %setup -q -n %{name}-%{version} %build # fix a bug with the line endings in the build.sh file dos2unix build.sh sh build.sh %install install -m 755 -d $RPM_BUILD_ROOT/%{install_dir} cp jasmin.jar $RPM_BUILD_ROOT/%{install_dir} # documentation mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} cp *.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} cp -r docs $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} install -m 755 -d $RPM_BUILD_ROOT/%{_bindir} cp %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_defaultdocdir}/%{name} %doc %{_defaultdocdir}/%{name}/*.txt %doc %{_defaultdocdir}/%{name}/docs %{_bindir}/* %{install_dir} %{install_dir}/* %changelog * Tue Feb 23 2010 florian.rauh@web.de - initial release based on jasmin 2.3
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