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