]>
Commit | Line | Data |
---|---|---|
958bf321 | 1 | Summary: A Graphviz to LaTeX converter |
d79e408a | 2 | Summary(hu.UTF-8): Egy Graphviz-ből LaTeX-be konvertáló program |
958bf321 MB |
3 | Summary(pl.UTF-8): Konwerter plików Graphviza do LaTeXa |
4 | Name: dot2tex | |
d79e408a | 5 | Version: 2.8.6 |
bed6fddd | 6 | Release: 2 |
958bf321 MB |
7 | License: MIT |
8 | Group: Applications | |
9 | Source0: http://dot2tex.googlecode.com/files/%{name}-%{version}.tar.gz | |
d79e408a | 10 | # Source0-md5: 8af7c44ea6484d47faee31cacbad9206 |
958bf321 | 11 | URL: http://www.fauskes.net/code/dot2tex/ |
8fb6afa6 | 12 | BuildRequires: rpmbuild(macros) >= 1.710 |
958bf321 MB |
13 | BuildRequires: python >= 1:2.5 |
14 | BuildRequires: rpm-pythonprov | |
15 | Requires: graphviz | |
16 | Requires: python-pyparsing >= 1.4.8 | |
4ed13a3b | 17 | Requires: texlive-latex |
958bf321 MB |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | dot2tex is a tool for converting graphs rendered by Graphviz to | |
22 | formats that can be used with LaTeX. | |
23 | ||
d79e408a ZU |
24 | %description -l hu.UTF-8 |
25 | dot2tex egy eszköz, amellyel a Graphviz által feldolgozandó gráfokat | |
26 | LaTeX-ben használható formátumokba alakít. | |
27 | ||
958bf321 MB |
28 | %description -l pl.UTF-8 |
29 | dot2tex jest narzędziem do konwertowania grafów stworzonych przez | |
30 | Graphviza do formatów, które mogą być użyte z LaTeXem. | |
31 | ||
32 | %package doc | |
33 | Summary: dot2tex documentation | |
d79e408a | 34 | Summary(hu.UTF-8): dot2tex dokumentáció |
958bf321 MB |
35 | Summary(pl.UTF-8): Dokumentacja programu dot2tex |
36 | Group: Documentation | |
37 | ||
38 | %description doc | |
39 | dot2tex documentation. | |
40 | ||
d79e408a ZU |
41 | %description doc -l hu.UTF-8 |
42 | dot2tex dokumentáció. | |
43 | ||
958bf321 MB |
44 | %description doc -l pl.UTF-8 |
45 | Dokumentacja programu dot2tex. | |
46 | ||
47 | %package examples | |
48 | Summary: Examples for dot2tex | |
d79e408a | 49 | Summary(hu.UTF-8): Példák dot2tex-hez |
958bf321 | 50 | Summary(pl.UTF-8): Przykłady dla dot2tex |
d79e408a | 51 | Group: Documentation |
958bf321 MB |
52 | |
53 | %description examples | |
54 | Examples for dot2tex. | |
55 | ||
d79e408a ZU |
56 | %description examples -l hu.UTF-8 |
57 | Példák dot2tex-hez. | |
58 | ||
958bf321 MB |
59 | %description examples -l pl.UTF-8 |
60 | Przykłady dla dot2tex. | |
61 | ||
62 | %prep | |
63 | %setup -q | |
64 | ||
65 | %build | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
70 | ||
b90980a2 | 71 | %py_install |
958bf321 MB |
72 | |
73 | %{__cp} -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
74 | ||
75 | %py_postclean | |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %files | |
81 | %defattr(644,root,root,755) | |
82 | %doc README.txt changelog.txt | |
83 | %attr(755,root,root) %{_bindir}/dot2tex | |
84 | %dir %{py_sitescriptdir}/dot2tex | |
85 | %{py_sitescriptdir}/dot2tex/*.py[co] | |
86 | %{py_sitescriptdir}/dot2tex-*.egg-info | |
87 | ||
88 | %files doc | |
89 | %defattr(644,root,root,755) | |
90 | %doc doc/usage.html doc/img/ doc/docgraphs/ | |
91 | ||
92 | %files examples | |
93 | %defattr(644,root,root,755) | |
94 | %{_examplesdir}/%{name}-%{version} |