From f2dae8a089e341f646b19f142d3caafda97b99e0 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 14 Apr 2022 12:20:33 -0700 Subject: [PATCH] cal10n package is retired on c9s for CS-582 --- .gitignore | 6 -- cal10n.spec | 211 -------------------------------------------- dead.package | 1 + generate-tarball.sh | 23 ----- sources | 1 - 5 files changed, 1 insertion(+), 241 deletions(-) delete mode 100644 .gitignore delete mode 100644 cal10n.spec create mode 100644 dead.package delete mode 100755 generate-tarball.sh delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index dab5fc4..0000000 --- a/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -cal10n-0.7.4.tar.gz -/cal10n-0.7.5.tar.gz -/cal10n-0.7.6.tar.gz -/cal10n-0.7.7.tar.gz -/v_0.8.1.tar.gz -/cal10n-0.8.1.tar.gz diff --git a/cal10n.spec b/cal10n.spec deleted file mode 100644 index 0f3578e..0000000 --- a/cal10n.spec +++ /dev/null @@ -1,211 +0,0 @@ -Name: cal10n -Version: 0.8.1 -Release: 15%{?dist} -Summary: Compiler assisted localization library (CAL10N) -License: MIT -URL: http://cal10n.qos.ch -# ./generate-tarball.sh -Source0: %{name}-%{version}.tar.gz -# Remove bundled binaries which cannot be easily verified for licensing -Source1: generate-tarball.sh -BuildArch: noarch - -BuildRequires: maven-local -BuildRequires: mvn(junit:junit) -BuildRequires: mvn(org.apache.maven:maven-artifact) -BuildRequires: mvn(org.apache.maven:maven-artifact-manager) -BuildRequires: mvn(org.apache.maven:maven-plugin-api) -BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) -BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) - -%description -Compiler Assisted Localization, abbreviated as CAL10N (pronounced as "calion") -is a java library for writing localized (internationalized) messages. -Features: - * java compiler verifies message keys used in source code - * tooling to detect errors in message keys - * native2ascii tool made superfluous, as you can directly encode bundles - in the most convenient charset, per locale. - * good performance (300 nanoseconds per key look-up) - * automatic reloading of resource bundles upon change - - -%package javadoc -Summary: API documentation for %{name} - -%description javadoc -%{summary}. - -%package -n maven-%{name}-plugin -Summary: CAL10N maven plugin - -%description -n maven-%{name}-plugin -Maven plugin verifying that the codes defined in -an enum type match those in the corresponding resource bundles. - -%prep -%setup -q -n %{name}-v_%{version} - -find . -name \*.jar -delete - -%pom_xpath_remove pom:extensions -%pom_add_dep org.apache.maven:maven-artifact maven-%{name}-plugin -%pom_disable_module %{name}-site -%pom_disable_module maven-%{name}-plugin-smoke -%mvn_package :*-{plugin} @1 - -# remove maven-compiler-plugin configuration that is broken with Java 11 -%pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration' - -# Disable default-jar execution of maven-jar-plugin, which is causing -# problems with version 3.0.0 of the plugin. -%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" " - - default-jar - skip - " cal10n-api - -%build -%mvn_build -- -Dproject.build.sourceEncoding=ISO-8859-1 -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 - -%install -%mvn_install - -%files -f .mfiles -%dir %{_javadir}/%{name} -%license LICENSE.txt - -%files -n maven-%{name}-plugin -f .mfiles-plugin - -%files javadoc -f .mfiles-javadoc -%license LICENSE.txt - -%changelog -* Thu Apr 15 2021 Mohan Boddu - 0.8.1-15 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - -* Tue Jan 26 2021 Fedora Release Engineering - 0.8.1-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 0.8.1-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jul 10 2020 Jiri Vanek - 0.8.1-12 -- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - -* Thu Jun 04 2020 Fabio Valentini - 0.8.1-11 -- Override javac source and target versions to fix build with Java 11. - -* Tue Jan 28 2020 Fedora Release Engineering - 0.8.1-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Jul 24 2019 Fedora Release Engineering - 0.8.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 0.8.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Jul 31 2018 Michael Simacek - 0.8.1-7 -- Repack the tarball without binaries - -* Thu Jul 12 2018 Fedora Release Engineering - 0.8.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 0.8.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.8.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.8.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Jun 15 2016 Mikolaj Izdebski - 0.8.1-2 -- Add missing build-requires - -* Mon Jun 06 2016 Michael Simacek - 0.8.1-1 -- Update to upstream version 0.8.1 - -* Tue May 31 2016 Mikolaj Izdebski - 0.7.7-8 -- Fix build issue with maven-jar-plugin 3.0.0 - -* Wed Feb 03 2016 Fedora Release Engineering - 0.7.7-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 0.7.7-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0.7.7-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu Mar 6 2014 Mikolaj Izdebski - 0.7.7-4 -- Remove wagon-ssh build extension - -* Tue Mar 04 2014 Stanislav Ochotnicky - 0.7.7-4 -- Use Requires: java-headless rebuild (#1067528) - -* Sat Aug 03 2013 Fedora Release Engineering - 0.7.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Jun 14 2013 Mikolaj Izdebski - 0.7.7-2 -- Simplify BuildRequires -- Convert patch to POM macro -- Update to current packaging guidelines - -* Wed Mar 20 2013 Mikolaj Izdebski - 0.7.7-1 -- Update to upstream version 0.7.7 - -* Fri Mar 15 2013 Mikolaj Izdebski - 0.7.6-1 -- Update to upstream version 0.7.6 - -* Wed Feb 27 2013 Mikolaj Izdebski - 0.7.5-1 -- Update to upstream version 0.7.5 -- A maintenance release containing only minor fixes - -* Wed Feb 13 2013 Fedora Release Engineering - 0.7.4-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Feb 06 2013 Java SIG - 0.7.4-11 -- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild -- Replace maven BuildRequires with maven-local - -* Thu Aug 16 2012 Mikolaj Izdebski - 0.7.4-10 -- Install LICENSE file -- Remove rpm bug workaround - -* Wed Jul 18 2012 Fedora Release Engineering - 0.7.4-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 28 2012 Alexander Kurtakov 0.7.4-8 -- Fix for OpenJDK 7 build. -- Adapt to current guidelines. - -* Thu Jan 12 2012 Fedora Release Engineering - 0.7.4-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Jun 8 2011 Alexander Kurtakov 0.7.4-6 -- Build with maven 3.x. - -* Tue Feb 08 2011 Fedora Release Engineering - 0.7.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Thu Nov 25 2010 Stanislav Ochotnicky - 0.7.4-4 -- Fix pom filenames (Resolves rhbz#655792) -- Add several packages to Requires -- Remove versioned jars and javadocs - -* Wed Sep 8 2010 Alexander Kurtakov 0.7.4-3 -- Fix build failure (javadoc:aggregate). - -* Mon Jul 19 2010 Alexander Kurtakov 0.7.4-2 -- BR maven-site-plugin. - -* Mon Jul 19 2010 Alexander Kurtakov 0.7.4-1 -- Update to 0.7.4. - -* Wed Feb 3 2010 Alexander Kurtakov 0.7.2-2 -- Removed not needed external repo definitions. -- Use _mavenpomdir. - -* Wed Feb 3 2010 Alexander Kurtakov 0.7.2-1 -- Initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..f9270df --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +cal10n package is retired on c9s for CS-582 diff --git a/generate-tarball.sh b/generate-tarball.sh deleted file mode 100755 index a0416b6..0000000 --- a/generate-tarball.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -set -e - -name=cal10n -version="$(sed -n 's/Version:\s*//p' *.spec)" - -# RETRIEVE -wget "https://github.com/qos-ch/${name}/archive/v_${version}.tar.gz" -O "${name}-${version}.orig.tar.gz" - -rm -rf tarball-tmp -mkdir tarball-tmp -cd tarball-tmp -tar xf "../${name}-${version}.orig.tar.gz" - -# CLEAN TARBALL -find -name '*.jar' -delete -find -name '*.class' -delete -# Contains minified js of uncertain origin -rm -r */cal10n-site - -tar cf "../${name}-${version}.tar.gz" * -cd .. -rm -r tarball-tmp "${name}-${version}.orig.tar.gz" diff --git a/sources b/sources deleted file mode 100644 index 9a010c5..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (cal10n-0.8.1.tar.gz) = 6df19e5aebba47461e760ac80212eab66d9c9d31956c20612492f411de8c0e632dfa189edf9b4246665af4e6c5f410ad2711d400c2a921aa670efd868498e7d4