2 Commits

Author SHA256 Message Date
7eff6a9032 Accepting request 1208737 from Java:packages
1.0.58

OBS-URL: https://build.opensuse.org/request/show/1208737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jcodings?expand=0&rev=16
2024-10-18 13:57:33 +00:00
f746599308 Accepting request 1208614 from home:urbic:branches:Java:packages
- Update to version 1.0.58
  * No changelog provided by upstream
- Update to version 1.0.57
  * No changelog provided by upstream
- Build with maven
- Package the javadocs
- Cleanup the specfile

OBS-URL: https://build.opensuse.org/request/show/1208614
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jcodings?expand=0&rev=18
2024-10-17 12:33:49 +00:00
4 changed files with 49 additions and 24 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cac5bc27b0f8603db3537a4ad33034258f3fedb7ac4ca9fe396dbb68de846af2
size 1289987

3
jcodings-1.0.58.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c81db335450421067090ebd97e5d1b69d3d5dead66797cee56f56dfa6e2156b9
size 1399090

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Oct 16 03:02:13 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to version 1.0.58
* No changelog provided by upstream
-------------------------------------------------------------------
Wed May 11 01:52:06 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to version 1.0.57
* No changelog provided by upstream
- Build with maven
- Package the javadocs
- Cleanup the specfile
-------------------------------------------------------------------
Mon Mar 21 05:22:17 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package jcodings
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,17 @@
%global cluster jruby
Name: jcodings
Version: 1.0.12
Version: 1.0.58
Release: 0
Summary: Java-based codings helper classes for Joni and JRuby
License: MIT
Group: Development/Libraries/Java
URL: https://github.com/jruby/jcodings
Source0: https://github.com/jruby/jcodings/archive/%{version}.tar.gz
BuildRequires: ant
URL: https://github.com/%{cluster}/%{name}
Source0: %{url}/archive/refs/tags/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-tools
BuildRequires: maven-local
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
Requires: java >= 1.8
Requires: javapackages-tools
BuildArch: noarch
@@ -35,27 +36,36 @@ BuildArch: noarch
%description
%{name}: java-based codings helper classes for Joni and JRuby.
%prep
%setup -q
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
%description javadoc
API documentation for %{name}.
%prep
%autosetup -n %{name}-%{name}-%{version}
%pom_xpath_remove pom:extensions
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
%{mvn_file} : %{name}
%build
echo "See %{url} for more info about the %{name} project." > README.txt
ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8
%{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
-Dsource=8
%install
mkdir -p %{buildroot}%{_javadir}
%mvn_install
%fdupes %{buildroot}%{_javadocdir}/%{name}
cp -p target/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
pushd %{buildroot}%{_javadir}/
ln -s %{name}-%{version}.jar %{name}.jar
popd
%files -f .mfiles
%license LICENSE.txt
%doc README.md
%files
%{_javadir}/*
%doc README.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog