Files
ephemeral/ephemeral.spec

69 lines
1.8 KiB
RPMSpec

#
# spec file for package ephemeral
#
# Copyright (c) 2025 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: ephemeral
Version: 1.0.0
Release: 0
Summary: A design system for building modern and elegant desktop applications
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://github.com/kirill-grouchnikov/%{name}
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://repo1.maven.org/maven2/org/pushing-pixels/%{name}-chroma/%{version}/%{name}-chroma-%{version}.pom
BuildRequires: fdupes
BuildRequires: maven-local
BuildArch: noarch
%description
Ephemeral is a design system for building modern and elegant desktop
applications.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%autosetup
cp %{SOURCE1} chroma/pom.xml
rm -rf drop
%build
pushd chroma
%{mvn_build} -f
popd
%install
pushd chroma
%mvn_install
popd
%fdupes %{buildroot}%{_javadocdir}/%{name}
%files -f chroma/.mfiles
%license LICENSE
%doc README.md
%files javadoc -f chroma/.mfiles-javadoc
%license LICENSE
%changelog