Name: jilter Version: 1.2 Release: 18%{?dist} Summary: Sendmail milter protocol for Java License: Sendmail URL: http://sendmail-jilter.sourceforge.net/ Source0: http://downloads.sourceforge.net/sendmail-jilter/%{version}/jilter-%{version}-src.tar.gz BuildArch: noarch BuildRequires: jpackage-utils BuildRequires: java-devel BuildRequires: ant-junit BuildRequires: log4j BuildRequires: junit Requires: jpackage-utils %if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 Requires: java-headless %else Requires: java %endif Requires: log4j %description Sendmail-Jilter is an Open Source implementation of the Sendmail milter protocol, for implementing milters in Java that can interface with the Sendmail MTA. %package javadoc Summary: Javadocs for %{name} Requires: jpackage-utils %description javadoc This package contains the API documentation for %{name}. %prep %setup -q find -name '*.class' -exec rm -f '{}' \; find -name '*.jar' -exec rm -f '{}' \; mkdir -p External build-jar-repository -s -p External log4j junit %build ant all docs %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_javadir} cp -p build/dist/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/ mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/ cp -rp build/doc $RPM_BUILD_ROOT%{_javadocdir}/%{name} %files %doc LICENSE.txt %{_javadir}/%{name}.jar %files javadoc %doc LICENSE.txt %{_javadocdir}/%{name} %changelog * Wed Jan 29 2020 Fedora Release Engineering - 1.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Feb 21 2014 Orion Poplawski - 1.2-8 - Require java-headless (bug #1068287) * Sat Aug 03 2013 Fedora Release Engineering - 1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Nov 3 2010 Orion Poplawski - 1.2-2 - Add ant-junit to BR - Add log4j to Requires - Build and ship javadoc * Tue Oct 6 2009 Orion Poplawski - 1.2-1 - Initial Fedora Package