Name: cpptasks Version: 1.0b5 Release: 26%{?dist} Summary: Compile and link task for ant License: ASL 2.0 URL: http://ant-contrib.sourceforge.net/ Source0: http://downloads.sourceforge.net/ant-contrib/cpptasks-1.0b5.tar.gz Source1: %{name}-README.fedora BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.ant:ant) BuildRequires: mvn(xerces:xercesImpl) BuildArch: noarch %description This ant task can compile various source languages and produce executables, shared libraries (aka DLL's) and static libraries. Compiler adaptors are currently available for several C/C++ compilers, FORTRAN, MIDL and Windows Resource files. %package javadoc Summary: Javadoc for %{name} %description javadoc Javadoc documentation for %{summary}. %prep %setup -q find . -name "*.jar" -exec rm -f {} \; find . -name "*.class" -exec rm -f {} \; sed -i 's/\r//' NOTICE cp -p %{SOURCE1} ./README.fedora # Use default compiler configuration %pom_remove_plugin :maven-compiler-plugin # Let xmvn generate javadocs %pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-source-plugin # No need to assemble distribution tarballs %pom_remove_plugin :maven-assembly-plugin # Fix dependency on ant %pom_change_dep ant:ant org.apache.ant:ant %pom_remove_dep ant:ant-nodeps %pom_remove_dep ant:ant-trax %mvn_file :%{name} ant/%{name} %build %mvn_build %install %mvn_install # Place a file into ant's config dir mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ant.d/ echo "ant/%{name}" > $RPM_BUILD_ROOT/%{_sysconfdir}/ant.d/%{name} %files -f .mfiles %license LICENSE NOTICE %doc README.fedora %{_sysconfdir}/ant.d/%{name} %files javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog * Mon Sep 21 2020 Alex Macdonald - 1.0b5-26 - update sources file * Tue Sep 15 2020 Alex Macdonald - 1.0b5-25 - Cleanup rpmlint warnings from former spaces and tab usage * Tue Jan 28 2020 Fedora Release Engineering - 1.0b5-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.0b5-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.0b5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.0b5-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0b5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0b5-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Feb 13 2017 Mat Booth - 1.0b5-18 - Fix failure to build from source - Adopt license macro * Fri Feb 10 2017 Fedora Release Engineering - 1.0b5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.0b5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Mat Booth - 1.0b5-15 - Fix FTBFS * Wed Jun 17 2015 Fedora Release Engineering - 1.0b5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0b5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Aug 12 2013 Mat Booth - 1.0b5-12 - Use default compiler config and fix bad deps on ant. * Sun Aug 11 2013 Mat Booth - 1.0b5-11 - Build with maven 3, update for newer guidelines * Sat Aug 03 2013 Fedora Release Engineering - 1.0b5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.0b5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.0b5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 1.0b5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.0b5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Sep 03 2009 D Haley - 1.0b5-5 - Req needs whitespace * Thu Sep 03 2009 D Haley - 1.0b5-4 - tag bump * Thu Sep 03 2009 D Haley - 1.0b5-3 - Remove excess BR - Fix subpackage dep - Fix doc installation * Fri Aug 28 2009 D Haley - 1.0b5-2 - Fix doc installation - Move to _javadir/ant/ rather than _javadir/ - Fix requires + buildrequires for both main and javadoc packages - Add README.fedora source in lieu of maven build * Sat Mar 14 2009 D Haley - 1.0b5-1 - Update to b5 - cpptasks now uses difficult mvn-doxia xdoc, so remove manual subpackage - Add distribution jar check - EOL conversion on NOTICE - Change summary & format description - Fix BuildRoot - Change licence to ASL 2.0 from Apache Software Licence 2.0 - Documentation to "Documentation" Group