Accepting request 847317 from home:concyclic:java
Submitting new package. I would also like to request to add me as a maintainer of this package. OBS-URL: https://build.opensuse.org/request/show/847317 OBS-URL: https://build.opensuse.org/package/show/Java:packages/sqlite-jdbc?expand=0&rev=1
This commit is contained in:
commit
3841093725
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
5
_service
Normal file
5
_service
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<services>
|
||||||
|
<service name="download_files">
|
||||||
|
<param name="recompress">yes</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
3
_service:download_files:3.32.3.2.tar.gz
Normal file
3
_service:download_files:3.32.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9168ad02cb8b01449271eabd8a2a81461954c2c3fa854d3828a37dc07a1fefec
|
||||||
|
size 10495017
|
3
_service:download_files:sqlite-amalgamation-3320300.zip
Normal file
3
_service:download_files:sqlite-amalgamation-3320300.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e9cec01d4519e2d49b3810615237325263fe1feaceae390ee12b4a29bd73dbe2
|
||||||
|
size 2407456
|
91
sqlite-jdbc.spec
Normal file
91
sqlite-jdbc.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
#
|
||||||
|
# spec file for package sqlite-jdbc
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# 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 http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%global version 3.32.3.2
|
||||||
|
%global amalgamation_version 3320300
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
Name: sqlite-jdbc
|
||||||
|
Version: 3.32.3.2
|
||||||
|
Release: 0
|
||||||
|
Summary: SQLite JDBC Driver
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
Url: https://github.com/xerial/%{name}
|
||||||
|
Source0: https://github.com/xerial/%{name}/archive/%{version}.tar.gz
|
||||||
|
Source1: https://www.sqlite.org/2020/sqlite-amalgamation-%{amalgamation_version}.zip
|
||||||
|
BuildRequires: java-devel >= 11
|
||||||
|
BuildRequires: java-javadoc >= 11
|
||||||
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: xmvn
|
||||||
|
BuildRequires: unzip
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin)
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%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}
|
||||||
|
%description javadoc
|
||||||
|
API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%mvn_file : %{name}-%{version} %{name}
|
||||||
|
%pom_xpath_replace "pom:plugin[pom:artifactId/text()='maven-compiler-plugin']/pom:configuration/pom:source" 11 pom.xml
|
||||||
|
%pom_xpath_replace "pom:plugin[pom:artifactId/text()='maven-compiler-plugin']/pom:configuration/pom:target" 11 pom.xml
|
||||||
|
dos2unix SQLiteJDBC.wiki
|
||||||
|
mkdir target
|
||||||
|
cp %{S:1} target/sqlite-3.32.3-amal.zip
|
||||||
|
|
||||||
|
%build
|
||||||
|
make native
|
||||||
|
%mvn_build -- \
|
||||||
|
-Dmaven.test.skip=true \
|
||||||
|
-Dmaven.compiler.source=11 \
|
||||||
|
-Dmaven.compiler.target=11 \
|
||||||
|
-Dmaven.javadoc.offlineLinks='https://docs.oracle.com/en/java/javase/11/docs/api/#%{_javadocdir}/java/' \
|
||||||
|
-DcompileSource=11 \
|
||||||
|
package \
|
||||||
|
org.apache.maven.plugins:maven-javadoc-plugin:javadoc
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install -J target/site/apidocs
|
||||||
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc CHANGELOG README.md Usage.md SQLiteJDBC.wiki
|
||||||
|
%license LICENSE* NOTICE
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE* NOTICE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user