Split css in subpackage.

This commit is contained in:
Alexander Kurtakov 2014-12-08 23:28:35 +02:00
parent 9516f5dfb5
commit b5950bc3cc

View File

@ -1,6 +1,6 @@
Name: batik
Version: 1.8
Release: 0.15.svn1230816%{?dist}
Release: 0.16.svn1230816%{?dist}
Summary: Scalable Vector Graphics for Java
License: ASL 2.0 and W3C
URL: http://xml.apache.org/batik/
@ -60,6 +60,7 @@ Requires: jai-imageio-core
Requires: rhino >= 1.5
Requires: xalan-j2
Requires: xml-commons-apis >= 1.3.04
Requires: %{name}-css = %{version}-%{release}
%description
@ -67,6 +68,12 @@ Batik is a Java(tm) technology based toolkit for applications that want
to use images in the Scalable Vector Graphics (SVG) format for various
purposes, such as viewing, generation or manipulation.
%package css
Summary: Batik CSS engine
%description css
CSS component of the Apache Batik SVG manipulation and rendering library.
%package squiggle
Summary: Batik SVG browser
Group: Applications/Multimedia
@ -247,9 +254,15 @@ for module in rasterizer slideshow squiggle svgpp ttf2svg; do
%add_maven_depmap JPP-%{name}-$module.pom %{name}-$module.jar -a "%{name}:%{name}-$module" -f $module
done
# css pom files and maven depmaps
for module in css gui-util util; do
install -pm 644 %{name}-$module.pom $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.%{name}-%{name}-$module.pom
%add_maven_depmap JPP.%{name}-%{name}-$module.pom %{name}/%{name}-$module.jar -a "%{name}:%{name}-$module" -f css
done
# main pom files and maven depmaps
for module in anim awt-util bridge codec css dom ext extension gui-util \
gvt parser script svg-dom svggen swing transcoder util xml; do
for module in anim awt-util bridge codec dom ext extension \
gvt parser script svg-dom svggen swing transcoder xml; do
install -pm 644 %{name}-$module.pom $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.%{name}-%{name}-$module.pom
%add_maven_depmap JPP.%{name}-%{name}-$module.pom %{name}/%{name}-$module.jar -a "%{name}:%{name}-$module"
@ -284,6 +297,8 @@ chmod +x $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/charts/convert.sh
%{_javadir}/%{name}-all.jar
%dir %{_javadir}/batik
%files css -f .mfiles-css
%files squiggle -f .mfiles-squiggle
%attr(0755,root,root) %{_bindir}/squiggle
@ -308,6 +323,9 @@ chmod +x $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/charts/convert.sh
%changelog
* Mon Dec 8 2014 Alexander Kurtakov <akurtako@redhat.com> 1.8-0.16.svn1230816
- Split css in subpackage.
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-0.15.svn1230816
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild