source: projects/specs/trunk/j/jgraphx/jgraphx-vl.spec @ 7068

Revision 7068, 1.7 KB checked in by Takemikaduchi, 11 years ago (diff)

fix typo

Line 
1%define tarball_id      g567042d
2%define source_id       bebd4db
3
4Summary:        Java graph visualisation library
5Summary(ja):    Java グラフ可視化ライブラリ
6Name:           jgraphx
7Version:        1.10.4.0
8Release:        1%{?_dist_release}
9Group:          Development/Libraries
10License:        BSD
11URL:            http://www.jgraph.com/
12Source:         http://downloads.jgraph.com/downloads/jgraphx/archive/%{name}-1_10_4_0.zip
13
14BuildRequires:  ant
15BuildRequires:  java-devel >= 1.6.0
16BuildRequires:  jpackage-utils
17
18Requires:               java >= 1.6.0
19Requires:               jpackage-utils
20
21BuildArch:              noarch
22
23%description
24JGraphX provides functionality for visualisation and interaction
25with node-edge graphs (not charts). Example applications that you
26might write with it are a workflow editor, an organisational chart,
27a business process modelling tool, a UML tool, an electronic circuit
28diagrammer, network/telecoms visualisation (you get the idea, things
29with nodes and edges that connect those nodes, a mathematical graph).
30
31%package javadoc
32Summary:        API Documentation for %{name}
33Group:          Documentation
34Requires:       jpackage-utils
35Requires:       %{name} = %{version}-%{release}
36
37%description javadoc
38JavaDoc documentation for %{name}
39
40
41%prep
42%setup -q -n %{name}
43find -name '*.jar' -delete
44rm -rf docs/api
45
46
47%build
48ant
49
50
51%install
52
53# Code
54install -d $RPM_BUILD_ROOT%{_javadir}
55install -p -m644 lib/%{name}.jar \
56$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
57ln -s %{name}-%{version}.jar \
58$RPM_BUILD_ROOT%{_javadir}/%{name}.jar
59
60# API documentation
61install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
62cp -a docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
63
64
65%files
66%{_javadir}/*
67%doc license.txt
68
69%files javadoc
70%{_javadocdir}/*
71
72
73%changelog
74* Sun Nov 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4.0-1
75- initial build
76
Note: See TracBrowser for help on using the repository browser.