SHA256
1
0
forked from pool/sqlite-jdbc
sqlite-jdbc/sqlite-jdbc.spec
Anton Shvetz 7cfd2d62a0 - Update to v3.39.4.0
* Features
    ~ 8bcba01 jdbc: implement ResultSet#getObject with requested
      type
    ~ 9e9d144 allow override of detected architecture
    ~ 7f03781 update SQLite to 3.39.4
    ~ fcb321e jdbc: DatabaseMetaData.getTypeInfo() returns more
      accurate values
    ~ be935e1 jdbc: add support for
      DatabaseMetaData#getSearchStringEscape
  * Fixes
    ~ f178b4e jdbc: ResultSet#isNullable() now checks for
      nullability instead of primary key
    ~ fe8f8d0 jdbc: simplify ResultSet#getBigDecimal
    ~ e8ba9dc jdbc: ResultSet#getBigDecimal could return 0 instead
      of null in some conditions
    ~ 58858f7 jdbc: Statement#getUpdateCount could return incorrect
      result when used concurrently
    ~ 8361efa jdbc: incorrect SQL could be generated in
      DatabaseMetaData#getImportedKeys
    ~ c8e86ae jdbc: DatabaseMetaData.getTables() shows all types if
      no type is provided
    ~ da570ba jdbc: DatabaseMetaData.getTables() returns
      sqlite_schema as SYSTEM TABLE
    ~ 8c78a66 jdbc: add missing description for DriverPropertyInfo
  * Changes
    ~ 22720f1 use SQLFeatureNotSupportedException when possible
  * Build
    ~ 3a115b0 bump nexus-staging-maven-plugin from 1.6.8 to 1.6.13
    ~ accc542 bump jreleaser-maven-plugin from 1.1.0 to 1.3.1

OBS-URL: https://build.opensuse.org/package/show/Java:packages/sqlite-jdbc?expand=0&rev=13
2022-11-07 11:16:02 +00:00

86 lines
2.7 KiB
RPMSpec

#
# spec file for package sqlite-jdbc
#
# 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
# 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.39.4.0
%global amalgamation_version 3390400
%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/2022/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
%{mvn_file} : %{name}
%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
dos2unix SQLiteJDBC.wiki
mkdir target
cp %{SOURCE1} target/sqlite-$(sed -e 's/^version=//' VERSION)-amal.zip
%build
%make_build native
%{mvn_build} -f
%install
%mvn_install
%fdupes %{buildroot}%{_javadocdir}/%{name}
%files -f .mfiles
%license LICENSE* NOTICE
%doc CHANGELOG README.md USAGE.md SQLiteJDBC.wiki
%files javadoc -f .mfiles-javadoc
%license LICENSE* NOTICE
%changelog