From e8ce2ec836687af1598c45c775d8e663ff42c692 Mon Sep 17 00:00:00 2001 From: Ondrej Dubaj Date: Sat, 20 Feb 2021 15:48:09 +0100 Subject: [PATCH] Initial import --- .gitignore | 1 + ongres-stringprep.spec | 53 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) create mode 100644 .gitignore create mode 100644 ongres-stringprep.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c3b87f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/stringprep-1.1.tar.gz diff --git a/ongres-stringprep.spec b/ongres-stringprep.spec new file mode 100644 index 0000000..e7f0716 --- /dev/null +++ b/ongres-stringprep.spec @@ -0,0 +1,53 @@ +%global upstream_name stringprep + +Name: ongres-%upstream_name +Version: 1.1 +Release: 1%{?dist} +Summary: RFC 3454 Preparation of Internationalized Strings in pure Java +License: BSD +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: junit5 +BuildRequires: velocity +BuildRequires: maven-plugin-build-helper +BuildRequires: exec-maven-plugin +BuildRequires: maven-enforcer-plugin +BuildArch: 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 :velocity-tools codegenerator + +%pom_remove_plugin :nexus-staging-maven-plugin +%pom_remove_plugin :maven-source-plugin +%pom_remove_plugin -r :maven-javadoc-plugin + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Fri Feb 12 2021 Ondrej Dubaj - 1.1-1 +- initial rpm diff --git a/sources b/sources new file mode 100644 index 0000000..fce31c9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (stringprep-1.1.tar.gz) = 424c43ade6914022d549eea60de27506ce35ffef0b1c90c7874db3b4f512a8692ce8a883b8c34f3c6795c599af7cbaaa670445a423fdbf1f12e6518a985ef209