2010-04-22 23:44:41 +00:00
|
|
|
#
|
2013-09-11 11:38:40 +00:00
|
|
|
# spec file for package jcodings
|
2010-04-22 23:44:41 +00:00
|
|
|
#
|
2024-10-17 12:33:49 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2010-04-22 23:44:41 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2022-03-21 05:22:58 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-04-22 23:44:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%global cluster jruby
|
|
|
|
Name: jcodings
|
2024-10-17 12:33:49 +00:00
|
|
|
Version: 1.0.58
|
2013-09-11 11:38:40 +00:00
|
|
|
Release: 0
|
2010-04-22 23:44:41 +00:00
|
|
|
Summary: Java-based codings helper classes for Joni and JRuby
|
|
|
|
License: MIT
|
2013-09-11 11:38:40 +00:00
|
|
|
Group: Development/Libraries/Java
|
2024-10-17 12:33:49 +00:00
|
|
|
URL: https://github.com/%{cluster}/%{name}
|
|
|
|
Source0: %{url}/archive/refs/tags/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: fdupes
|
2022-03-21 05:22:58 +00:00
|
|
|
BuildRequires: java-devel >= 1.8
|
2024-10-17 12:33:49 +00:00
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
2022-03-21 05:22:58 +00:00
|
|
|
Requires: java >= 1.8
|
2013-09-11 11:38:40 +00:00
|
|
|
Requires: javapackages-tools
|
2014-06-27 12:22:23 +00:00
|
|
|
BuildArch: noarch
|
2010-04-22 23:44:41 +00:00
|
|
|
|
|
|
|
%description
|
2017-09-18 22:21:04 +00:00
|
|
|
%{name}: java-based codings helper classes for Joni and JRuby.
|
2010-04-22 23:44:41 +00:00
|
|
|
|
2024-10-17 12:33:49 +00:00
|
|
|
%package javadoc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
Group: Documentation/HTML
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
2010-04-22 23:44:41 +00:00
|
|
|
%prep
|
2024-10-17 12:33:49 +00:00
|
|
|
%autosetup -n %{name}-%{name}-%{version}
|
2010-04-22 23:44:41 +00:00
|
|
|
|
2024-10-17 12:33:49 +00:00
|
|
|
%pom_xpath_remove pom:extensions
|
|
|
|
%pom_remove_plugin :maven-source-plugin
|
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
2010-04-22 23:44:41 +00:00
|
|
|
|
2024-10-17 12:33:49 +00:00
|
|
|
%{mvn_file} : %{name}
|
2010-04-22 23:44:41 +00:00
|
|
|
|
2024-10-17 12:33:49 +00:00
|
|
|
%build
|
|
|
|
%{mvn_build} -f -- \
|
|
|
|
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
|
|
|
|
-Dsource=8
|
2010-04-22 23:44:41 +00:00
|
|
|
|
|
|
|
%install
|
2024-10-17 12:33:49 +00:00
|
|
|
%mvn_install
|
|
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
2010-04-22 23:44:41 +00:00
|
|
|
|
2024-10-17 12:33:49 +00:00
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE.txt
|
|
|
|
%doc README.md
|
2010-04-22 23:44:41 +00:00
|
|
|
|
2024-10-17 12:33:49 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE.txt
|
2010-04-22 23:44:41 +00:00
|
|
|
|
|
|
|
%changelog
|