Projects
Eulaceura:Factory
sqlite-jdbc
_service:obs_scm:sqlite-jdbc.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:sqlite-jdbc.spec of Package sqlite-jdbc
%global amalgamation_version 3450300 %global debug_package %nil Name: sqlite-jdbc Version: 3.45.3.0 Release: 1 Summary: SQLite JDBC library License: ASL 2.0 and BSD and ISC URL: https://github.com/xerial/sqlite-jdbc Source0: https://github.com/xerial/sqlite-jdbc/archive/%{version}/sqlite-jdbc-%{version}.tar.gz Source1: https://sqlite.org/2024/sqlite-amalgamation-%{amalgamation_version}.zip BuildRequires: gcc maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) dos2unix perl BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) sqlite-devel BuildRequires: java-11-openjdk-devel Requires: java-11-openjdk %description SQLite JDBC, is a library for accessing and creating SQLite database files in Java. %package javadoc Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains javadoc for %{name}. %prep %autosetup -n %{name}-%{version} -p1 %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:nativeimage sed -i -e '/org\.graalvm\.nativeimage/ d' src/main/java9/module-info.java sed -i -e '/org\.slf4j/ 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 export JAVA_HOME=%{_jvmdir}/java-11-openjdk %make_build native %mvn_build -f -- \ -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) %install %mvn_install %files -f .mfiles %doc CHANGELOG README.adoc {USAGE,SECURITY}.md SQLiteJDBC.wiki %license LICENSE* NOTICE %files javadoc -f .mfiles-javadoc %license LICENSE* NOTICE %changelog * Thu Apr 25 2024 yaoxin <yao_xin001@hoperun.com> - 3.45.3.0-1 - Update to 3.45.3.0 * Mon Sep 25 2023 liyanan <thistleslyn@163.com> - 3.43.0.0-1 - update to 3.43.0.0 * Mon Aug 3 2020 Jeffery.Gao <gaojianxing@huawei.com> - 3.15.1-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2