From 4f629929c9c1b17ed1b6f58782e09d30333b6431 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 8 May 2019 14:41:58 +0200 Subject: [PATCH] Add imageio subpackage --- ant.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ant.spec b/ant.spec index e7009e7..446c956 100644 --- a/ant.spec +++ b/ant.spec @@ -231,6 +231,13 @@ Optional apache xalan2 tasks for %{name}. %description apache-xalan2 -l fr Taches apache xalan2 optionelles pour %{name}. +%package imageio +Summary: Optional imageio tasks for %{name} +Requires: %{name} = %{version}-%{release} + +%description imageio +Optional imageio tasks for %{name}. + %package javamail Summary: Optional javamail tasks for %{name} Requires: %{name} = %{version}-%{release} @@ -444,6 +451,7 @@ echo "log4j12 ant/ant-apache-log4j" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/ap echo "oro ant/ant-apache-oro" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-oro echo "regexp ant/ant-apache-regexp" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-regexp echo "xalan-j2 xalan-j2-serializer ant/ant-apache-xalan2" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-xalan2 +echo "ant/ant-imageio" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/imageio echo "javamail jaf ant/ant-javamail" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/javamail echo "jdepend ant/ant-jdepend" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jdepend echo "jsch ant/ant-jsch" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/jsch @@ -545,6 +553,10 @@ LC_ALL=C.UTF-8 %{ant} test %{ant_home}/lib/%{name}-apache-xalan2.jar %config(noreplace) %{_sysconfdir}/%{name}.d/apache-xalan2 +%files imageio -f .mfiles-imageio +%{ant_home}/lib/%{name}-imageio.jar +%config(noreplace) %{_sysconfdir}/%{name}.d/imageio + %files javamail -f .mfiles-javamail %{ant_home}/lib/%{name}-javamail.jar %config(noreplace) %{_sysconfdir}/%{name}.d/javamail