2023-08-08 08:17:34 +00:00
|
|
|
|
#
|
|
|
|
|
# spec file for package jdeferred
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2023 SUSE LLC
|
|
|
|
|
#
|
|
|
|
|
# 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 https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: jdeferred
|
|
|
|
|
Version: 2.0.0
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Java Deferred/Promise library similar to JQuery
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
|
URL: https://jdeferred.org/
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://repo1.maven.org/maven2/org/%{name}/v2/%{name}-core/%{version}/%{name}-core-%{version}.pom
|
2023-09-13 20:03:35 +00:00
|
|
|
|
Patch0: %{name}-incompatible-types.patch
|
2023-08-08 08:17:34 +00:00
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
JDeferred is a Java Deferred/Promise library similar to JQuery’s Deferred
|
|
|
|
|
Object. Inspired by JQuery and Android Deferred Object.
|
|
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
Group: Documentation/HTML
|
|
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2024-02-21 10:46:15 +00:00
|
|
|
|
%patch -P 0 -p1
|
2023-08-08 08:17:34 +00:00
|
|
|
|
cp %{SOURCE1} subprojects/%{name}-core/pom.xml
|
|
|
|
|
|
|
|
|
|
%build
|
2025-03-27 21:05:30 +00:00
|
|
|
|
pushd subprojects/%{name}-core
|
|
|
|
|
%{mvn_build} -f
|
|
|
|
|
popd
|
2023-08-08 08:17:34 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2025-03-27 21:05:30 +00:00
|
|
|
|
pushd subprojects/%{name}-core
|
2023-08-08 08:17:34 +00:00
|
|
|
|
%mvn_install
|
|
|
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
2025-03-27 21:05:30 +00:00
|
|
|
|
popd
|
2023-08-08 08:17:34 +00:00
|
|
|
|
|
2025-03-27 21:05:30 +00:00
|
|
|
|
%files -f subprojects/%{name}-core/.mfiles
|
2023-08-08 08:17:34 +00:00
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
2025-03-27 21:05:30 +00:00
|
|
|
|
%files javadoc -f subprojects/%{name}-core/.mfiles-javadoc
|
2023-08-08 08:17:34 +00:00
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|