* Features ~ jdbc + add support for LocalDate, LocalTime, LocalDateTime in ResultSet#getObject (1d2ff63) + implement PreparedStatement getParameterType and getParameterTypeName (bdb3d8a) ~ native-image + resource optimization and configuration to export native lib (6f42683) * Fixes ~ use random UUID for external resources (edb4b8a) * Build ~ deps + bump native-maven-plugin from 0.9.21 to 0.9.22 (48e8ebe) + bump graal-sdk from 22.3.0 to 22.3.2 (128d9b2) + bump surefire.version from 3.0.0 to 3.1.0 (658e907) + bump maven-gpg-plugin from 3.0.1 to 3.1.0 (f149f9f) + bump jreleaser-maven-plugin from 1.5.1 to 1.6.0 (d028636) + bump native-maven-plugin from 0.9.20 to 0.9.21 (08b5e35) + bump maven-enforcer-plugin from 3.2.1 to 3.3.0 (3b3af82) + bump maven-compiler-plugin from 3.10.1 to 3.11.0 (52b7701) + bump versions-maven-plugin from 2.13.0 to 2.15.0 (a0e0191) + bump maven-help-plugin from 3.3.0 to 3.4.0 (739a27c) ~ deps-dev + bump junit-jupiter from 5.9.2 to 5.9.3 (e64e348) + bump mockito-core from 5.3.0 to 5.3.1 (6e94e6b) + bump logback-classic from 1.4.6 to 1.4.7 (5a4f485) + bump mockito-core from 5.2.0 to 5.3.0 (d0adb0f) + bump junit-pioneer from 2.0.0 to 2.0.1 (2b00983) OBS-URL: https://build.opensuse.org/package/show/Java:packages/sqlite-jdbc?expand=0&rev=26
94 lines
3.0 KiB
RPMSpec
94 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package sqlite-jdbc
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{!?make_build:%global make_build make %{?_smp_mflags}}
|
|
%global version 3.41.2.2
|
|
%global amalgamation_version 3410200
|
|
%global debug_package %{nil}
|
|
Name: sqlite-jdbc
|
|
Version: %{version}
|
|
Release: 0
|
|
Summary: SQLite JDBC Driver
|
|
License: Apache-2.0
|
|
Group: Development/Libraries/Java
|
|
URL: https://github.com/xerial/%{name}
|
|
Source0: %{url}/archive/%{version}.tar.gz
|
|
Source1: https://www.sqlite.org/2023/sqlite-amalgamation-%{amalgamation_version}.zip
|
|
BuildRequires: dos2unix
|
|
BuildRequires: fdupes
|
|
BuildRequires: java-devel >= 1.8
|
|
BuildRequires: maven-local
|
|
BuildRequires: unzip
|
|
BuildRequires: xmvn
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin)
|
|
BuildRequires: mvn(org.hamcrest:hamcrest-all)
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
|
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine)
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
|
|
%description
|
|
SQLite JDBC is a library for accessing and creating SQLite database files in
|
|
Java.
|
|
|
|
Our SQLiteJDBC library requires no configuration since native libraries for
|
|
major OSs, including Windows, Mac OS X, Linux etc., are assembled into a single
|
|
JAR (Java Archive) file. The usage is quite simple; download our sqlite-jdbc
|
|
library, then append the library (JAR file) to your class path.
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
BuildArch: noarch
|
|
|
|
%description javadoc
|
|
API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
|
|
%pom_remove_plugin com.diffplug.spotless:spotless-maven-plugin
|
|
%pom_remove_dep org.graalvm.sdk:graal-sdk
|
|
|
|
sed -i -e '/org\.graalvm\.sdk/ d' src/main/java9/module-info.java
|
|
rm src/main/java9/org/sqlite/nativeimage/SqliteJdbcFeature.java
|
|
|
|
dos2unix SQLiteJDBC.wiki
|
|
mkdir target
|
|
cp %{SOURCE1} target/sqlite-$(sed -e 's/^version=//' VERSION)-amal.zip
|
|
|
|
%{mvn_file} : %{name}
|
|
|
|
%build
|
|
%make_build native
|
|
%{mvn_build} -f
|
|
|
|
%install
|
|
%mvn_install
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE* NOTICE
|
|
%doc CHANGELOG README.adoc {USAGE,SECURITY}.md SQLiteJDBC.wiki
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE* NOTICE
|
|
|
|
%changelog
|