%global upstream_name stringprep Name: ongres-%upstream_name Version: 2.1 Release: 1%{?dist} Summary: RFC 3454 Preparation of Internationalized Strings in pure Java License: BSD-2-Clause URL: https://github.com/ongres/%upstream_name Source0: https://github.com/ongres/%upstream_name/archive/%{version}/%upstream_name-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.junit.jupiter:junit-jupiter) BuildArch: noarch ExclusiveArch: %{java_arches} noarch %description The stringprep protocol does not stand on its own; it has to be used by other protocols at precisely-defined places in those other protocols. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name} %prep %autosetup -p1 -n "%upstream_name-%{version}" find \( -name '*.jar' -o -name '*.class' \) -delete %pom_remove_dep org.junit:junit-bom parent %pom_remove_plugin -r :maven-javadoc-plugin # codegenerator is only needed at build time, and has extra dependencies %mvn_package com.ongres.stringprep:codegenerator __noinstall rm -r codegen %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Mon Apr 29 2024 Zuzana Miklankova - 2.1-1 - rebase to upstream version 2.1 * Thu Feb 29 2024 Yaakov Selkowitz - 1.1-12 - Move velocity-2 dependencies to codegenerator * Tue Feb 27 2024 Jiri Vanek - 1.1-11 - Rebuilt for java-21-openjdk as system jdk * Thu Jan 25 2024 Fedora Release Engineering - 1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Jul 25 2023 Yaakov Selkowitz - 1.1-8 - Drop codegenerator from install * Thu Jul 20 2023 Fedora Release Engineering - 1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 08 2022 Jiri Vanek - 1.1-4 - Rebuilt for Drop i686 JDKs * Thu Jan 20 2022 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Feb 12 2021 Ondrej Dubaj - 1.1-1 - initial rpm