Name: juniversalchardet Version: 2.4.0 Release: 5%{?dist} Summary: Java character encoding detection # Choice of licenses offered in each source file License: MPLv1.1 or GPLv2+ or LGPLv2+ URL: https://github.com/albfernandez/juniversalchardet BuildArch: noarch Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(commons-codec:commons-codec) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) %{?javadoc_package} %description Juniversalchardet is a Java port of universalchardet, that is, the encoding detector library of Mozilla. %prep %autosetup # Fix newline encoding sed -i.orig 's/\r//' README.md touch -r README.md.orig README.md rm README.md.orig # Plugins not needed for an RPM build %pom_remove_plugin :maven-gpg-plugin %pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :nexus-staging-maven-plugin %pom_remove_plugin :spotbugs-maven-plugin # Provide alias for the old name %mvn_alias com.github.albfernandez:juniversalchardet com.googlecode.juniversalchardet:juniversalchardet %build %mvn_build %install %mvn_install %files -f .mfiles %doc mozilla_repositories.txt README.md %license LICENSE %changelog * Sat Feb 05 2022 Jiri Vanek - 2.4.0-5 - Rebuilt for java-17-openjdk as system jdk * Thu Jan 20 2022 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 4 2020 Jerry James - 2.4.0-1 - Version 2.4.0 - Spec file completely rewritten * Thu Jul 25 2019 Fedora Release Engineering - 1.0.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.0.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Mar 15 2015 gil cattaneo 1.0.3-5 - fix Url and Source0 tag * Mon Feb 09 2015 gil cattaneo 1.0.3-4 - introduce license macro * Sun Jun 08 2014 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 1.0.3-2 - Use Requires: java-headless rebuild (#1067528) * Mon Jan 21 2013 gil cattaneo 1.0.3-1 - initial rpm