]> git.pld-linux.org Git - packages/java-xmlgraphics-batik.git/blob - java-xmlgraphics-batik.spec
- based on xalan-j.spec
[packages/java-xmlgraphics-batik.git] / java-xmlgraphics-batik.spec
1
2 Summary:        Java SVG support
3 Summary(pl):    Wsparcie dla SVG dla jêzyka Java
4 Name:           batik
5 Version:        1.1.1
6 Release:        1
7 License:        Apache Software License
8 Group:          Applications/Publishing/XML/Java
9 Group(de):      Applikationen/Publizieren/XML/Java
10 Group(es):      Aplicaciones/Editoración/XML/Java
11 Group(pl):      Aplikacje/Publikowanie/XML/Java
12 Group(pt_BR):   Aplicações/Editoração/XML/Java
13 URL:            http://xml.apache.org/batik
14 Source0:        http://xml.apache.org/batik/dist/%{name}-src-%{version}.zip
15 BuildRequires:  jdk
16 BuildRequires:  xalan-j >= 1.4.4-2
17 BuildRequires:  xerces-j >= 1.4.4-2
18 Requires:       jre
19 Requires:       xalan-j >= 1.4.4-2
20 Requires:       xerces-j >= 1.4.4-2
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _javaclassdir   %{_libdir}/java/
25 %define         jredir                  %{_libdir}/java-sdk/jre/lib
26
27 %description
28 Java SVG support.
29
30 %description -l pl
31 Wsparcie dla SVG dla jêzyka Java.
32
33 %prep
34 %setup -q -n xml-%{name}
35
36 %build
37 JAVA_HOME=%{_libdir}/java-sdk
38 export JAVA_HOME
39
40 sh build.sh compile
41 sh build.sh html
42
43 ( cd classes
44   jar cf ../%{name}.jar .
45 )
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_javaclassdir}
50
51 install %{name}.jar $RPM_BUILD_ROOT%{_javaclassdir}
52
53 gzip -9nf README
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc *.gz %{name}-%{version}/docs/* %{name}-%{version}/samples
61 %{_javaclassdir}/*.jar
This page took 0.033389 seconds and 4 git commands to generate.