Compare commits
10 Commits
83727d8d2d
...
bc07319031
Author | SHA256 | Date | |
---|---|---|---|
bc07319031 | |||
b40adf836a | |||
8a82cff749 | |||
f80582623d | |||
0258006618 | |||
5496450943 | |||
cffdfff74c | |||
5d7a59d16b | |||
b08b688c3f | |||
d2b20edb6a |
@@ -1,61 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<!-- NOT USABLE FOR BUILDS, only for installing into a repository! -->
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.sonatype.oss</groupId>
|
||||
<artifactId>oss-parent</artifactId>
|
||||
<version>6</version>
|
||||
</parent>
|
||||
<groupId>org.abcl</groupId>
|
||||
<artifactId>abcl</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>ABCL - Armed Bear Common Lisp</name>
|
||||
<description>Common Lisp implementation running on the JVM</description>
|
||||
<url>http://abcl.org</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU General Public License with Classpath exception</name>
|
||||
<url>http://www.gnu.org/software/classpath/license.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<connection>scm:svn:http://abcl.org/svn/trunk/</connection>
|
||||
<developerConnection>scm:svn:svn+ssh://abcl.org/project/armedbear/svn/trunk/</developerConnection>
|
||||
<url>http://abcl.org/trac/browser/trunk/abcl</url>
|
||||
</scm>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>ehu</id>
|
||||
<name>Erik Huelsmann</name>
|
||||
<email>ehuels (at) gmail (dot) com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>easyE</id>
|
||||
<name>Mark Evenson</name>
|
||||
<email>evenson (at) panix (dot) com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>V-ille</id>
|
||||
<name>Ville Voutilainen</name>
|
||||
<email>ville.voutilainen (at) gmail (dot) com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>astalla</id>
|
||||
<name>Alessio Stalla</name>
|
||||
<email>alessiostalla (at) gmail (dot) com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>rudi</id>
|
||||
<name>Rudi Schlatte</name>
|
||||
<email>rudi (at) constantly (dot) at</email>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies />
|
||||
</project>
|
135
abcl-1.9.2.pom
Normal file
135
abcl-1.9.2.pom
Normal file
@@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project
|
||||
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
|
||||
xmlns="https://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.sonatype.oss</groupId>
|
||||
<artifactId>oss-parent</artifactId>
|
||||
<version>6</version>
|
||||
</parent>
|
||||
<groupId>org.abcl</groupId>
|
||||
<artifactId>abcl</artifactId>
|
||||
<version>1.9.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>ABCL - Armed Bear Common Lisp</name>
|
||||
<description>Common Lisp implementation running on the JVM</description>
|
||||
<url>https://abcl.org</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU General Public License with Classpath exception</name>
|
||||
<url>https://www.gnu.org/software/classpath/license.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<connection>scm:svn:https://abcl.org/svn/trunk/</connection>
|
||||
<developerConnection>scm:git:https://gitlab.common-lisp.net/abcl/abcl</developerConnection>
|
||||
<url>https://gitlab.common-lisp.net/abcl/abcl</url>
|
||||
</scm>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>ehu</id>
|
||||
<name>Erik Huelsmann</name>
|
||||
<email>ehuels (at) gmail (dot) com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>easyE</id>
|
||||
<name>Mark Evenson</name>
|
||||
<email>evenson (at) panix (dot) com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>V-ille</id>
|
||||
<name>Ville Voutilainen</name>
|
||||
<email>ville.voutilainen (at) gmail (dot) com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>astalla</id>
|
||||
<name>Alessio Stalla</name>
|
||||
<email>alessiostalla (at) gmail (dot) com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>rudi</id>
|
||||
<name>Rudi Schlatte</name>
|
||||
<email>rudi (at) constantly (dot) at</email>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies/>
|
||||
<build>
|
||||
<directory>${project.basedir}/build</directory>
|
||||
<sourceDirectory>${project.basedir}/src</sourceDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<dependencies>
|
||||
</dependencies>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>clean</id>
|
||||
<phase>clean</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<ant antfile="build.xml" target="abcl.clean"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>compile</id>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<ant antfile="build.xml" target="abcl.compile"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>package</id>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<ant antfile="build.xml" target="abcl.wrapper"/>
|
||||
<ant antfile="build.xml" target="abcl.contrib"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>test</id>
|
||||
<phase>test</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<ant antfile="build.xml" target="test.abcl"/>
|
||||
|
||||
<!-- test.ansi.compiled requires
|
||||
<git+https://gitlab.common-lisp.net/ansi-test/ansi-test/>
|
||||
to be cloned locally as <file:../ansi-test/>
|
||||
-->
|
||||
<ant antfile="build.xml" target="test.ansi.compiled"/>
|
||||
|
||||
<!-- test.cl-bench requires
|
||||
<git+https://gitlab.common-lisp.net/ansi-test/cl-bench/>
|
||||
to be cloned locally as <file:../cl-bench/>
|
||||
-->
|
||||
<ant antfile="build.xml" target="test.cl-bench"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
23
abcl-no-hostname.patch
Normal file
23
abcl-no-hostname.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
--- abcl-src-1.8.0/build.xml 2022-04-01 10:57:16.639032286 +0200
|
||||
+++ abcl-src-1.8.0/build.xml 2022-04-01 10:57:41.515183040 +0200
|
||||
@@ -338,7 +338,7 @@
|
||||
<property name="abcl.build.path"
|
||||
value="${build.classes.dir}/org/armedbear/lisp/build"/>
|
||||
<target name="abcl.stamp"
|
||||
- depends="abcl.compile,abcl.stamp.version,abcl.stamp.hostname">
|
||||
+ depends="abcl.compile,abcl.stamp.version">
|
||||
<mkdir dir="${abcl.build.path}/.."/>
|
||||
<loadfile property="abcl.version"
|
||||
srcFile="${abcl.version.path}"/>
|
||||
@@ -466,11 +466,6 @@
|
||||
value="${abcl.version}-${abcl.version.src}"/>
|
||||
</target>
|
||||
|
||||
- <target name="abcl.stamp.hostname" if="unix">
|
||||
- <exec executable="hostname" outputproperty="abcl.hostname"/>
|
||||
- <echo>abcl.hostname: ${abcl.hostname}</echo>
|
||||
- </target>
|
||||
-
|
||||
<target name="abcl.system.uptodate">
|
||||
<condition property="abcl.system.needs-update.p">
|
||||
<and>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d871ee2f6bcf991d5a6eff7ea5105ef808610db882604d4df0411e971ad257f
|
||||
size 2613411
|
3
abcl-src-1.9.2.tar.gz
Normal file
3
abcl-src-1.9.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e2f4b8f85e2d95d95e5bdbcd9fa17ad6131a17e2fcf12bc19ffb97b48bc1d38
|
||||
size 2477992
|
208
abcl.changes
208
abcl.changes
@@ -1,3 +1,211 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 16:47:15 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 13 11:05:58 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Update to v1.9.2
|
||||
* Changes
|
||||
+ [r15712] JNA contrib has been updated to jna-5.13.0
|
||||
+ [r15711] (Alan Ruttenberg) Restore most of the speed of the
|
||||
generic function cache that was degraded with abcl-1.9.1
|
||||
+ [r15709] (Alejandrozf) The ABCL-STEPPER contrib provides a
|
||||
interpreted implementation of CL:STEP.
|
||||
+ [r15692][r15701]-[r15707] Substantially re-worked the Gray
|
||||
Stream implementation to fix many of its outstanding issues.
|
||||
+ [r15700] Introduced the POSIX-SYSCALLS contrib which allows
|
||||
one to set environment variables in the hosting JVM process.
|
||||
+ [r15698] (Uthar) Fix GRAY-STREAMS:STREAM-ELEMENT-TYPE for
|
||||
binary streams.
|
||||
+ [r15689] (jpellegrini) Fix CL:LOG for behavior at zero.
|
||||
+ [r15686] Extensive grouting of accumulated bitrot in the
|
||||
ASDF-JAR contrib to enable more complete packaging of
|
||||
non-compilation artifacts as well as systems residing in jar
|
||||
files.
|
||||
+ [r15683] EXTENSION:REGISTER-ASDF adds a directory to ASDF by
|
||||
using the configuration API.
|
||||
+ [r15682] SYSTEM:ZIP now works with source in jar files.
|
||||
+ [r15674] (Uthar) Augment JAVA:JNEW-RUNTIME-CLASS docstring.
|
||||
+ [r15673] The outdated GNU Info version of User Manual has
|
||||
been removed. The GNU Info conversion was done by hand, and
|
||||
is neither easily reproducible nor particually accurate at
|
||||
this point.
|
||||
+ [r15672] Fix build under podman by qualify remote registry
|
||||
for containerization base.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 6 23:26:25 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Update to v1.9.1
|
||||
* Changes
|
||||
+ [r15652] (Tarn W. Burton) Avoid NIL in simple LOOP from
|
||||
FORMAT directives.
|
||||
+ [r15651] Maven may now be used for building/testing ABCL.
|
||||
+ [r15650] The build autoconfigure targets for openjdk17+ now
|
||||
add necessary opens command line switches to enable the
|
||||
successful use of CL+SSL via CFFI on such platforms.
|
||||
+ [r15653][r15647] ABCL-ASDF:MAKE-LOCAL-MAVEN downloads a
|
||||
version of Maven installed into the local XDG directory
|
||||
location and configures its subsequent use in the current
|
||||
session. ABCL-ASDF provides a restart to invoke this
|
||||
installation if Maven can't be located at runtime.
|
||||
+ [r15644] (alejandrozf) fix compilation of a few TYPE-ERROR
|
||||
cases
|
||||
+ [r15643][r15645] (oldk1331) Fix SYS:RUN-PROGRAM waiting
|
||||
problems
|
||||
+ [r15639-40] (Alan) DEFMETHOD now accepts subtypes of
|
||||
MOP:SPECIALIZER as a discriminator.
|
||||
+ [r15636] Provide SETF'abl api for inspecting and modifying
|
||||
the underlying JVM context classloader.
|
||||
+ [r15635] Implement THREADS:GET-JAVA-THREAD
|
||||
+ [r15633] Update openjdk versions ci installation automation
|
||||
to use latest openjdk8, openjdk11, openjdk17, and openjdk19
|
||||
binaries.
|
||||
+ [r15632] ABCL-INTROSPECT properly scope reference to
|
||||
JavaStackFrame
|
||||
+ [r15631] Update IDE build/debug artifacts to Netbeans 16
|
||||
+ [r15630] (alejandrozf) Fix compilation of top-level lambda in
|
||||
function position.
|
||||
+ [r15628] (alejandrozf) Fix COMPILE-FILE-PATHNAME for Maxima.
|
||||
+ [r15622-24] Use TLS for all http resource names.
|
||||
+ [r15619] (alejandrozf) Accept KEYWORD as a package name when
|
||||
interning.
|
||||
+ [r15617] Upgrade to jna-5.12.1.
|
||||
+ [r15616] Enable compilation of wide indicies for ALOAD,
|
||||
ASTORE, ILOAD, ISTORE, LLOAD, and LSTORE opcodes.
|
||||
+ [r15610] Revisit strategy for use of virtual threads. Native
|
||||
threads are now the default. The ability to spawn virtual
|
||||
threads is indicated by the presence of :VIRTUAL-THREADS in
|
||||
CL:*FEATURES*. Setting the special THREADS:*THREADING-MODEL*
|
||||
to :VIRTUAL results in THREADS:MAKE-THREADS spawning virtual
|
||||
threads.
|
||||
+ [r15609] Fix inspection of LispThread stack segments
|
||||
+ [r15605] (Uthar) Implement array types for JNEW-RUNTIME-CLASS
|
||||
+ [r15604] (Uthar) Implement superclass constructor chaining
|
||||
for JNEW-RUNTIME-CLASS
|
||||
+ [r15557] (Uthar) Fix class annotations on openjdk17 and newer
|
||||
+ [r15596] (Alejandrozf) Implement proper use of signals to
|
||||
fallback to the use of interpreted form for compilation
|
||||
results larger than 65535 bytes. Fixes loading of Fricas0
|
||||
+ [r15594] Update to asdf-3.3.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 24 00:22:17 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Update to v1.9.0
|
||||
* Changes
|
||||
+ [r15572] (Jonathan Cunningham) Update reference to free
|
||||
version of Rhode's Extensible Sequence paper
|
||||
+ [r15571] (Alan Ruttenberg) JSS update to javaparser-3.24.2
|
||||
Fix tests, fix typo, lazily initialize via LOAD-JAVAPARSER on
|
||||
the first use of the number argument version of the macro.
|
||||
+ [r15570] (Uthar) Prevent JCLASS-SUPERCLASS from failing on
|
||||
names (keywords) of classes generated by JNEW-RUNTIME-CLASS
|
||||
+ [r15562] (Alan Ruttenberg) Add a restart for undefined
|
||||
functions
|
||||
+ [r15561] Clarify call and lambda arguments limits somewhat
|
||||
+ [r15560] (Alan Ruttenberg) Support for catch tags in SLIME
|
||||
+ [r15559] (Alan Ruttenberg) Record source location for slot
|
||||
readers
|
||||
+ [r15558] ABCL-INTROSPECT explictly home exported symbols in
|
||||
ABCL-INTROSPECT/SYSTEM to identify machinery added to the
|
||||
SYSTEM package after initial ANSI boot.
|
||||
+ [r15549] (alejandrozf) Fix (coerce 'documentation 'function)
|
||||
+ [r15548] (alejandrozf) Fill slots operation and operands with
|
||||
DivisionByZero condition when it is raised
|
||||
+ [r15545] (alejandrozf) Update fill pointer when arrays are
|
||||
shrunk if necessary.
|
||||
+ [r15544] [r15543] (phoe) Use PUSHNEW for CL:*FEATURES*; place
|
||||
:EXTENSIBLE-SEQUENCES in CL:*FEATURES* where appropiate
|
||||
+ [r15542] (alejandrozf) Accessible symbols are always printed
|
||||
with package prefix
|
||||
+ [r15541] (alejandrozf) Improve DRIBBLE to save almost
|
||||
everything, lexically closing over new REPLs, now cleanly
|
||||
closing/restarting
|
||||
+ [r15494] When reading ZIP archives from streams, use modified
|
||||
date of byte source.
|
||||
+ [r15493] The implmentation now uses :NEWEST for the version
|
||||
of references to EXT:JAR-PATHNAME objects which have been
|
||||
cached.
|
||||
+ [r15492] Address inconsistency between populating entries in
|
||||
EXT:JAR-PATHNAME. A DIRECTORY should always be :ABSOLUTE in a
|
||||
EXT:JAR-PATHNAME unless there is no name or type component.
|
||||
+ [r15491] Fix ZipCache to use the file system modification
|
||||
date
|
||||
+ [r15490] EXT:AS-JAR-PATHNAME-ARCHIVE returns reference to a
|
||||
CL:PATHNAME as a EXT:JAR-PATHNAME
|
||||
+ [r15489] DISABLE-ZIP-CACHE isn't currently working
|
||||
+ [r15486] (Eric Timmons) Fix SYS:PROCESS-PID with
|
||||
SYS:RUN-PROGRAM
|
||||
+ [r15483] Explictly scope all symbols in fasl loader
|
||||
+ [r15481] Fix (or (unsigned-byte 8) (unsigned-byte 32)) vector
|
||||
reset
|
||||
+ [r15480][r15484] (Robert Munyer) New algorithim for
|
||||
COMPILE-FILE-PATHNAME
|
||||
+ [r15479] ABCL-BUILD now tests with ant-1.10.9
|
||||
+ [r15478] ZS3 fix allocation for non-simple (unsigned-byte 8)
|
||||
vectors
|
||||
+ [r15538] (contrapunctus) needled to correct outdated HTML
|
||||
links
|
||||
+ [r15537] [r15536] [r15535] [r15534] [r15533] [r15532]
|
||||
ABCL-BUILD Correct deprecated JAVA-COMPILE-FILE, add file
|
||||
unit for top-level targets, implement
|
||||
COPY-DIRECTORIES-RECURSIVELY utility, docstring for exported
|
||||
ENSURE-MAVEN, clean compile errors, updateant URIs to
|
||||
available versions
|
||||
+ [r15527] JNA update to jna-5.9.0
|
||||
+ [r15525] JSS fix introspecting abcl.jar under openjdk1[67]
|
||||
+ [r15524] [r15520] Test released LTS Java editions for
|
||||
openjdk{8,11,17} with Adoptium.
|
||||
+ [r15523] (Scott Burson) Corrections to ENCODE-UNIVERSAL-TIME
|
||||
for dates after 2037.
|
||||
+ [r15521] Use java.lang.Integer.valueOf() rather than
|
||||
constructor
|
||||
+ [r15519] (Samuel Hunter) Fix and standardize all error reader
|
||||
functions.
|
||||
+ [r15518] (Uthar) Remove confusing comment in example
|
||||
+ [r15515] ASDF Fix JAR-PATHNAME loading systems under Windows
|
||||
+ [r15513] (alejandrozf) Fix generic lambda lists congruency
|
||||
with keywords
|
||||
+ [r15511] (Phil Eaton) Support variadic arguments with more
|
||||
required parameters
|
||||
+ [r15504] Allow JAVA:JCLASS to work with non-primtive arrays
|
||||
suffixed with "[]"
|
||||
+ [r15503] ABCL-AIO Fix finding ABCL-CONTRIB
|
||||
+ [r15502] build: deprecate use of abcl.implementation.version
|
||||
+ [r15501] (daewok) Uppercase arch before pushing it to
|
||||
*FEATURES*
|
||||
+ [r15500] (Ferada) Fix printing of RANDOM-STATE
|
||||
+ [r15496] Support use of Project Loom virtual threads. When
|
||||
the underlying JVM supports virtual threads, :VIRTUAL-THREADS
|
||||
will be present in CL:*FEATURES*
|
||||
+ [r15495] This release targets openjdk8, openjdk11, and
|
||||
openjdk17
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 1 09:19:37 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* abcl-no-hostname.patch
|
||||
+ do not stamp the build using hostname
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 24 05:34:58 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- BuildRequire "hostname" to fix build in Factory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 9 20:30:43 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Fixed the POD page
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 8 13:08:14 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Specify input encoding when building documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 30 09:24:02 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
4
abcl.pod
4
abcl.pod
@@ -2,7 +2,7 @@
|
||||
|
||||
=head1 NAME
|
||||
|
||||
abcl
|
||||
abcl - Armed Bear Common Lisp
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
@@ -66,7 +66,7 @@ compliant and practical Common Lisp implementation.
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
1.6.0
|
||||
__VERSION__
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
|
42
abcl.spec
42
abcl.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package abcl
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: abcl
|
||||
Version: 1.8.0
|
||||
Version: 1.9.2
|
||||
Release: 0
|
||||
Summary: Armed Bear Common Lisp
|
||||
License: GPL-2.0-only
|
||||
@@ -26,23 +26,20 @@ URL: https://common-lisp.net/project/armedbear/
|
||||
Source0: https://common-lisp.net/project/armedbear/releases/%{version}/%{name}-src-%{version}.tar.gz
|
||||
Source1: https://repo1.maven.org/maven2/org/%{name}/%{name}/%{version}/%{name}-%{version}.pom
|
||||
Source2: %{name}.pod
|
||||
Patch0: %{name}-no-hostname.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: texlive-listings
|
||||
BuildRequires: xmvn-install
|
||||
BuildRequires: xmvn-resolve
|
||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
Requires: java
|
||||
Requires: jpackage-utils
|
||||
Requires: java >= 1.8
|
||||
Requires: javapackages-tools
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: hostname
|
||||
%endif
|
||||
|
||||
%description
|
||||
Armed Bear Common Lisp (ABCL) is a full implementation of the Common Lisp
|
||||
@@ -52,6 +49,7 @@ JSR-223 (Java scripting API): it can be a scripting engine in any Java
|
||||
application. Additionally, it can be used to implement (parts of) the
|
||||
application using Java to Lisp integration APIs.
|
||||
|
||||
%if 0%{?suse_version} > 1320
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/Other
|
||||
@@ -63,6 +61,7 @@ BuildRequires: tex(microtype.sty)
|
||||
|
||||
%description doc
|
||||
This package contains the documentation for %{name}.
|
||||
%endif
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadocs for %{name}
|
||||
@@ -74,19 +73,30 @@ This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-src-%{version}
|
||||
%patch -P 0 -p1
|
||||
find examples -type f |xargs dos2unix
|
||||
find -name \*.pdf -delete
|
||||
echo '\usepackage{microtype}' >>doc/manual/abcl.sty
|
||||
cat <<__TEX__ >>doc/manual/abcl.sty
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{microtype}
|
||||
__TEX__
|
||||
sed -e 's/__VERSION__/%{version}/' %{SOURCE2} >%{name}.pod
|
||||
|
||||
%{mvn_file} org.abcl:%{name} %{name}-%{version} %{name}
|
||||
%{mvn_file} org.abcl:%{name}-contrib %{name}-contrib-%{version} %{name}-contrib
|
||||
# Fix improper xsi:* and xmlns:* attributes
|
||||
sed -i -e 's/="https:/="http:/g' %{SOURCE1} contrib/pom.xml
|
||||
|
||||
%{mvn_file} org.abcl:%{name} %{name}
|
||||
%{mvn_file} org.abcl:%{name}-contrib %{name}-contrib
|
||||
|
||||
%build
|
||||
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 %{ant} \
|
||||
-Dabcl.build.incremental=1 \
|
||||
-Dant.build.javac.source=1.8 \
|
||||
-Dant.build.javac.target=1.8 \
|
||||
abcl.jar abcl.javadoc abcl.documentation
|
||||
%if 0%{?suse_version} > 1320
|
||||
abcl.documentation \
|
||||
%endif
|
||||
abcl.jar abcl.javadoc
|
||||
|
||||
%install
|
||||
%{mvn_artifact} %{SOURCE1} dist/%{name}.jar
|
||||
@@ -94,24 +104,28 @@ JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 %{ant} \
|
||||
%mvn_install -J build/javadoc
|
||||
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
%if 0%{?suse_version} > 1320
|
||||
install -dm0755 %{buildroot}%{_defaultdocdir}/%{name}
|
||||
cp -rf dist/*.pdf %{buildroot}%{_defaultdocdir}/%{name}
|
||||
cp -rf examples %{buildroot}%{_defaultdocdir}/%{name}
|
||||
%fdupes %{buildroot}/%{_defaultdocdir}/%{name}
|
||||
%endif
|
||||
|
||||
%jpackage_script org.armedbear.lisp.Main "" "" %{name}:%{name}-contrib %{name} true
|
||||
|
||||
install -dm0755 %{buildroot}%{_mandir}/man1
|
||||
pod2man --release '%{name} %{version}' --section 1 --center "User Commands" %{SOURCE2} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
pod2man --release '%{name} %{version}' --section 1 --center "User Commands" %{name}.pod %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
|
||||
%files -f .mfiles
|
||||
%license COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%if 0%{?suse_version} > 1320
|
||||
%files doc
|
||||
%{_defaultdocdir}/%{name}
|
||||
%license COPYING
|
||||
%endif
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license COPYING
|
||||
|
Reference in New Issue
Block a user