]> git.pld-linux.org Git - packages/daVinci.git/blob - daVinci.spec
- removed two lines with define
[packages/daVinci.git] / daVinci.spec
1 Summary:        daVinci is a universal, generic visualization system
2 Summary(pl):    Uniwersalny, ogólny system wizualizacji
3 Name:           daVinci
4 Version:        2.1
5 Release:        2
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 #Source1:       %{name}.desktop
10 URL:            http://www.tzi.de/~davinci/daVinci_get_daVinci.html
11 ExclusiveArch:  %{ix86}
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14
15 %define         pkghome         %{_libdir}/daVinci_V2.1
16
17 %description
18 daVinci is a universal, generic visualization system for automatic
19 generation of high-quality drawings of directed graphs. Graphs are
20 frequently used in computer applications as a general data structure
21 to represent objects and relationships between them. They are used to
22 implement hierarchies, dependency structures, networks,
23 configurations, dataflows, and so on. In despite of this manifold
24 demand, techniques to visualize such graphs are not common in today's
25 computer applications. So frequently a user has to deal with
26 uncomfortable textual interfaces or poor ad-hoc drawings of graphs,
27 because high-quality graph layout is difficult to implement and
28 reusable tools for graph visualization are often hard to find.
29
30 %description -l pl
31 daVinci jest uniwersalnym, ogólnym systemem wizualizacji s³u¿±cym do
32 automatycznego tworzenia wysokiej jako¶ci rysunków grafów
33 skierowanych. W aplikacjach komputerowych czêsto u¿ywa siê grafów jako
34 ogólnej struktury danych, reprezentuj±cej obiekty oraz zwi±zki miêdzy
35 nimi. Uzywa siê ich do implementacji hierarchii, struktur zalezno¶ci,
36 sieci, konfiguracji, przep³ywu danych itd. Mimo wielorakiego
37 zapotzrebowania, w dzisiejszych aplikacjach wci±¿ brakuje technik
38 s³u¿±cych wizualizacji takich grafów. Czêsto wiêc u¿ytkownik musi
39 pos³ugiwaæ siê niewygodnymi interfejsami tekstowymi lub
40 prowizorycznymi rysunkami grafów, poniewa¿ trudno zaimplemetowaæ
41 wysokiej jako¶ci uk³ad grafów i trudno znale¼æ narzêdzia do
42 wizualizacji grafów nadaj±cych siê do wielokrotnego wykorzystania.
43
44 %prep
45 %setup -q -n daVinci_V2.1
46 chmod -R a+w *
47
48 %install
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 .
55
56 cat > $RPM_BUILD_ROOT/etc/profile.d/%{name}.csh <<EOF
57 setenv DAVINCIHOME %{pkghome}
58 EOF
59
60 cat >$RPM_BUILD_ROOT/etc/profile.d/daVinci.sh <<EOF2
61 export DAVINCIHOME=%{pkghome}
62 EOF2
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_bindir}/daVinci
70 %dir %{pkghome}
71 %{pkghome}/[B-R]*
72 %attr(755,root,root) %{pkghome}/daVinci
73 %{pkghome}/api
74 %docdir %{pkghome}/docs
75 %{pkghome}/docs
76 %{pkghome}/example_graphs
77 %dir %{pkghome}/grapheditor
78 %{pkghome}/grapheditor/README
79 %attr(755,root,root) %{pkghome}/grapheditor/grapheditor
80 %{pkghome}/icons
81 %{pkghome}/lib
82 %dir %{pkghome}/tools
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
This page took 0.066762 seconds and 3 git commands to generate.