1 Summary: daVinci is a universal, generic visualization system
2 Summary(pl.UTF-8): Uniwersalny, ogólny system wizualizacji
6 License: free of charge for non-profit or internal use
7 Group: X11/Applications/Graphics
8 Source0: ftp://ftp.tzi.de/tzi/biss/daVinci/%{name}_V%{version}_Linux_RedHat5.tar.gz
9 # Source0-md5: 526fd8b372179612cb1d4eb33aa435aa
10 #Source1: %{name}.desktop
11 URL: http://www.tzi.de/~davinci/daVinci_get_daVinci.html
12 ExclusiveArch: %{ix86}
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define pkghome %{_libdir}/daVinci_V2.1
19 daVinci is a universal, generic visualization system for automatic
20 generation of high-quality drawings of directed graphs. Graphs are
21 frequently used in computer applications as a general data structure
22 to represent objects and relationships between them. They are used to
23 implement hierarchies, dependency structures, networks,
24 configurations, dataflows, and so on. In despite of this manifold
25 demand, techniques to visualize such graphs are not common in today's
26 computer applications. So frequently a user has to deal with
27 uncomfortable textual interfaces or poor ad-hoc drawings of graphs,
28 because high-quality graph layout is difficult to implement and
29 reusable tools for graph visualization are often hard to find.
31 %description -l pl.UTF-8
32 daVinci jest uniwersalnym, ogólnym systemem wizualizacji służącym do
33 automatycznego tworzenia wysokiej jakości rysunków grafów skierowanych.
34 W aplikacjach komputerowych często używa się grafów jako ogólnej struktury
35 danych, reprezentującej obiekty oraz związki między nimi. Używa się ich do
36 implementacji hierarchii, struktur zależności, sieci, konfiguracji,
37 przepływu danych itd. Mimo wielorakiego zapotrzebowania, w dzisiejszych
38 aplikacjach wciąż brakuje technik służących wizualizacji takich grafów.
39 Często więc użytkownik musi posługiwać się niewygodnymi interfejsami
40 tekstowymi lub prowizorycznymi rysunkami grafów, ponieważ trudno
41 zaimplementować wysokiej jakości układ grafów i trudno znaleźć narzędzia
42 do wizualizacji grafów nadających się do wielokrotnego wykorzystania.
45 %setup -q -n daVinci_V2.1
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_applnkdir}/Graphics,/etc/profile.d,%{pkghome}}
51 cp -r * $RPM_BUILD_ROOT%{pkghome}
52 #install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Graphics
53 cd $RPM_BUILD_ROOT%{_bindir}
54 ln -sf %{pkghome}/daVinci .
56 cat > $RPM_BUILD_ROOT/etc/profile.d/%{name}.csh <<EOF
57 setenv DAVINCIHOME %{pkghome}
60 cat >$RPM_BUILD_ROOT/etc/profile.d/daVinci.sh <<EOF2
61 export DAVINCIHOME=%{pkghome}
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_bindir}/daVinci
72 %attr(755,root,root) %{pkghome}/daVinci
74 %docdir %{pkghome}/docs
76 %{pkghome}/example_graphs
77 %dir %{pkghome}/grapheditor
78 %{pkghome}/grapheditor/README
79 %attr(755,root,root) %{pkghome}/grapheditor/grapheditor
83 %{pkghome}/tools/README
84 %attr(755,root,root) %{pkghome}/tools/*term
85 #%%{_applnkdir}/Graphics/daVinci.desktop
86 %attr(755,root,root) /etc/profile.d/daVinci.sh
87 %attr(755,root,root) /etc/profile.d/daVinci.csh