]> git.pld-linux.org Git - packages/graphviz.git/blob - graphviz.spec
- added "rm -f missing" on top %build.
[packages/graphviz.git] / graphviz.spec
1 Summary:        Graph Visualization Tools
2 Summary(pl):    Narzêdzie do wizualizacji w postaci grafów
3 Name:           graphviz
4 Version:        1.8.4
5 Release:        1
6 License:        custom (AT&T)
7 Group:          X11/Applications/Graphics
8 Source0:        http://www.graphviz.org/pub/graphviz/%{name}-%{version}.tar.gz
9 URL:            http://www.graphviz.org/
10 BuildRequires:  XFree86-devel
11 BuildRequires:  bison
12 BuildRequires:  flex
13 BuildRequires:  freetype-devel
14 BuildRequires:  gawk
15 BuildRequires:  libjpeg-devel
16 BuildRequires:  libpng-devel
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  tcl-devel >= 8.3.0
19 BuildRequires:  zlib-devel
20
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
25
26 %description
27 A collection of tools and tcl packages for the manipulation and layout
28 of graphs (as in nodes and edges, not as in barcharts).
29
30 %description -l pl
31 Kolekcja narzêdzi oraz pakietów tcl s³u¿±cych do manipulacji i
32 rozmieszczania grafów.
33
34 %prep
35 %setup -q
36
37 %build
38 rm -f missing
39 libtoolize --copy --force
40 aclocal
41 autoconf
42 automake -a -c -f
43 %configure 
44 # \
45 #       --with-dynagraph
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 gzip -9 AUTHORS COPYING ChangeLog FAQ.txt NEWS
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %files
63 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_bindir}/*
65 %dir %{_libdir}/%{name}
66 %{_libdir}/%{name}/*.tcl
67 %attr(755,root,root) %{_libdir}/%{name}/lib*.so.*.*
68 %{_libdir}/%{name}/graphs
69 %dir %{_libdir}/%{name}/lefty
70 %attr(755,root,root) %{_libdir}/%{name}/lefty/*
71
72 %{_mandir}/man1/*
73 %{_mandir}/mann/*
This page took 0.027014 seconds and 3 git commands to generate.