%{?scl:%scl_package joda-convert} %{!?scl:%global pkg_name %{name}} Name: %{?scl_prefix}joda-convert Version: 1.8.1 Release: 5.2%{?dist} Summary: Java library for conversion to and from standard string formats License: ASL 2.0 URL: https://github.com/JodaOrg/joda-convert/ BuildArch: noarch Source0: https://github.com/JodaOrg/joda-convert/archive/v%{version}.tar.gz#/%{pkg_name}-%{version}.tar.gz BuildRequires: %{?scl_prefix}maven-local BuildRequires: %{?scl_prefix}mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugins:maven-assembly-plugin) %description Java library to enable conversion to and from standard string formats. %package javadoc Summary: API documentation for %{pkg_name} %description javadoc This package contains the %{summary}. %prep %setup -n %{pkg_name}-%{version} -q %mvn_file : %{pkg_name} sed -i s/\r// *.txt %pom_remove_plugin :maven-checkstyle-plugin %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-javadoc-plugin %build %mvn_build %install %mvn_install %files -f .mfiles %doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt NOTICE.txt %changelog * Thu Jun 22 2017 Michael Simacek - 1.8.1-5.2 - Mass rebuild 2017-06-22 * Wed Jun 21 2017 Java Maintainers - 1.8.1-5.1 - Automated package import and SCL-ization * Thu Feb 23 2017 Mikolaj Izdebski - 1.8.1-5 - Remove unneeded maven-javadoc-plugin invocation * Tue Feb 07 2017 Michael Simacek - 1.8.1-4 - Remove useless plugins * Tue May 31 2016 Mikolaj Izdebski - 1.8.1-3 - Disable maven-checkstyle-plugin * Thu Feb 04 2016 Fedora Release Engineering - 1.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Nov 20 2015 Michael Simacek - 1.8.1-1 - Update to upstream version 1.8.1 * Wed Jun 17 2015 Fedora Release Engineering - 1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Aug 5 2014 Mikolaj Izdebski - 1.7-1 - Update to upstream version 1.7 * Sun Jun 08 2014 Fedora Release Engineering - 1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Feb 10 2014 Mikolaj Izdebski - 1.6-1 - Update to upstream version 1.6 * Sat Aug 03 2013 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jul 14 2013 Mat Booth - 1.3.1-1 - Update to latest upstream, fixes rhbz #919539 - Use XMvn macros * Tue May 28 2013 Stanislav Ochotnicky - 1.3-2 - Install NOTICE file with javadoc as well - Use full URL for Source0 * Fri Feb 22 2013 Andy Grimm - 1.3-1 - Update to 1.3 * Thu Feb 14 2013 Fedora Release Engineering - 1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 1.2-4 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Thu Jul 19 2012 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Nov 17 2011 Andy Grimm - 1.2-1 - update to 1.2 and pull source tarball correctly * Tue Oct 18 2011 Andy Grimm - 1.1-1 - Initial package