]>
Commit | Line | Data |
---|---|---|
9ae2c242 | 1 | # TODO: |
783c6e08 | 2 | # - javadoc package |
9ae2c242 | 3 | Summary: A diagram editing framework |
fefd91b6 | 4 | Summary(pl.UTF-8): Szkielet do edycji diagramów |
9ae2c242 | 5 | Name: gef |
6 | Version: 0.10.7 | |
7 | Release: 0.1 | |
8 | License: Apache License | |
67c7a0ff | 9 | Group: Development/Languages/Java |
9ae2c242 | 10 | Source0: http://gef.tigris.org/files/documents/9/10445/GEF-%{version}-src.zip |
11 | # Source0-md5: bb4c1f5e902bbe9ad882794e88994e4c | |
67c7a0ff | 12 | URL: http://gef.tigris.org/ |
8469a420 | 13 | BuildRequires: ant |
9ae2c242 | 14 | BuildRequires: jakarta-commons-logging |
783c6e08 ER |
15 | BuildRequires: jpackage-utils |
16 | BuildRequires: rpmbuild(macros) >= 1.300 | |
5f2218cf | 17 | BuildRequires: unzip |
67c7a0ff | 18 | Requires: jakarta-log4j |
783c6e08 | 19 | Requires: jpackage-utils |
9ae2c242 | 20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | The goal of the GEF project is to build a graph editing library that | |
67c7a0ff JB |
25 | can be used to construct many, high-quality graph editing |
26 | applications. Some of GEF's features are: | |
9ae2c242 | 27 | - A simple, concrete design that makes the framework easy to |
28 | understand and extend. | |
29 | - Node-Port-Edge graph model that is powerful enough for the vast | |
67c7a0ff | 30 | majority of connected graph applications. |
9ae2c242 | 31 | - Model-View-Controller design based on the Swing Java UI library |
32 | makes GEF able to act as a UI to existing data structures, and also | |
33 | minimizing learning time for developers familiar with Swing. | |
67c7a0ff | 34 | - High-quality user interactions for moving, resizing, reshaping, |
9ae2c242 | 35 | etc. GEF also supports several novel interactions such as the broom |
36 | alignment tool and section-action-buttons. | |
37 | - Generic properties sheet based on JavaBeans introspection. | |
38 | - XML-based file formats based on the PGML standard (soon to support | |
39 | SVG). | |
40 | ||
b078c8ca JR |
41 | %description -l pl.UTF-8 |
42 | Celem projektu GEF jest stworzenie biblioteki do edycji grafów, której | |
43 | można używać do konstruowania wielu wysokiej jakości aplikacji do | |
44 | edycji grafów. Niektóre możliwości pakietu GEF to: | |
45 | - prosty, konkretny projekt czyniący środowisko łatwym do zrozumienia | |
67c7a0ff | 46 | i rozszerzania |
b078c8ca JR |
47 | - model grafów wierzchołek-port-krawędź wystarczający do przeważającej |
48 | większości zastosowań trafów | |
67c7a0ff | 49 | - projekt model-widok-kontroler oparty na bibliotece UI Javy Swing, |
b078c8ca JR |
50 | dzięki któremu pakiet GEF może działać jako interfejs użytkownika do |
51 | istniejących struktur danych, a także minimalizujący czas nauki dla | |
52 | programistów znających Swinga | |
53 | - wysokiej jakości interakcja z użytkownikiem przy przesuwaniu, | |
54 | zmianie rozmiaru, kształtu itp.; GEF obsługuje także różne nowe | |
55 | interakcje, takie jak "miotłę" (narzędzie do wyrównywania) oraz | |
67c7a0ff | 56 | przyciski sekcji-akcji |
b078c8ca JR |
57 | - arkusz ogólnych własności oparty na introspekcji JavaBeans |
58 | - formaty plików XML oparte na standardzie PGML (wkrótce obsługa SVG). | |
67c7a0ff JB |
59 | |
60 | %package doc | |
9ae2c242 | 61 | Summary: Javadoc for %{name} |
fefd91b6 | 62 | Summary(pl.UTF-8): Dokumentacja Javadoc dla %{name} |
9ae2c242 | 63 | Group: Documentation |
64 | ||
67c7a0ff | 65 | %description doc |
9ae2c242 | 66 | Javadoc for %{name}. |
67 | ||
b078c8ca | 68 | %description doc -l pl.UTF-8 |
67c7a0ff JB |
69 | Dokumentacja Javadoc dla %{name}. |
70 | ||
9ae2c242 | 71 | %prep |
9ae2c242 | 72 | %setup -q -c -T |
73 | mkdir src | |
74 | cd src | |
75 | unzip -q %{SOURCE0} | |
76 | # remove binary files | |
783c6e08 | 77 | find -name '*.jar' | xargs rm -v |
9ae2c242 | 78 | |
79 | %build | |
783c6e08 | 80 | %ant package |
9ae2c242 | 81 | |
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | install -D lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar | |
85 | ln -sf %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar | |
86 | ||
87 | %clean | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %files | |
91 | %defattr(644,root,root,755) | |
92 | %doc src/COPYRIGHT src/INSTALL.txt src/readme.txt | |
783c6e08 | 93 | %{_javadir}/*.jar |