Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
7eff6a9032 | |||
f746599308 |
@@ -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
3
jcodings-1.0.58.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c81db335450421067090ebd97e5d1b69d3d5dead66797cee56f56dfa6e2156b9
|
||||||
|
size 1399090
|
@@ -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>
|
Mon Mar 21 05:22:17 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jcodings
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,16 +18,17 @@
|
|||||||
|
|
||||||
%global cluster jruby
|
%global cluster jruby
|
||||||
Name: jcodings
|
Name: jcodings
|
||||||
Version: 1.0.12
|
Version: 1.0.58
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Java-based codings helper classes for Joni and JRuby
|
Summary: Java-based codings helper classes for Joni and JRuby
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: https://github.com/jruby/jcodings
|
URL: https://github.com/%{cluster}/%{name}
|
||||||
Source0: https://github.com/jruby/jcodings/archive/%{version}.tar.gz
|
Source0: %{url}/archive/refs/tags/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: ant
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
Requires: java >= 1.8
|
Requires: java >= 1.8
|
||||||
Requires: javapackages-tools
|
Requires: javapackages-tools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -35,27 +36,36 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
%{name}: java-based codings helper classes for Joni and JRuby.
|
%{name}: java-based codings helper classes for Joni and JRuby.
|
||||||
|
|
||||||
%prep
|
%package javadoc
|
||||||
%setup -q
|
Summary: API documentation for %{name}
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
find -name '*.class' -exec rm -f '{}' \;
|
%description javadoc
|
||||||
find -name '*.jar' -exec rm -f '{}' \;
|
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
|
%build
|
||||||
echo "See %{url} for more info about the %{name} project." > README.txt
|
%{mvn_build} -f -- \
|
||||||
|
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
|
||||||
ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8
|
-Dsource=8
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_javadir}
|
%mvn_install
|
||||||
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
cp -p target/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
%files -f .mfiles
|
||||||
pushd %{buildroot}%{_javadir}/
|
%license LICENSE.txt
|
||||||
ln -s %{name}-%{version}.jar %{name}.jar
|
%doc README.md
|
||||||
popd
|
|
||||||
|
|
||||||
%files
|
%files javadoc -f .mfiles-javadoc
|
||||||
%{_javadir}/*
|
%license LICENSE.txt
|
||||||
%doc README.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user