]> git.pld-linux.org Git - packages/dot2tex.git/blob - dot2tex.spec
BR: rpmbuild(macros) >= 1.710
[packages/dot2tex.git] / dot2tex.spec
1 Summary:        A Graphviz to LaTeX converter
2 Summary(hu.UTF-8):      Egy Graphviz-ből LaTeX-be konvertáló program
3 Summary(pl.UTF-8):      Konwerter plików Graphviza do LaTeXa
4 Name:           dot2tex
5 Version:        2.8.6
6 Release:        2
7 License:        MIT
8 Group:          Applications
9 Source0:        http://dot2tex.googlecode.com/files/%{name}-%{version}.tar.gz
10 # Source0-md5:  8af7c44ea6484d47faee31cacbad9206
11 URL:            http://www.fauskes.net/code/dot2tex/
12 BuildRequires:  rpmbuild(macros) >= 1.710
13 BuildRequires:  python >= 1:2.5
14 BuildRequires:  rpm-pythonprov
15 Requires:       graphviz
16 Requires:       python-pyparsing >= 1.4.8
17 Requires:       texlive-latex
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
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
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
34 Summary(hu.UTF-8):      dot2tex dokumentáció
35 Summary(pl.UTF-8):      Dokumentacja programu dot2tex
36 Group:          Documentation
37
38 %description doc
39 dot2tex documentation.
40
41 %description doc -l hu.UTF-8
42 dot2tex dokumentáció.
43
44 %description doc -l pl.UTF-8
45 Dokumentacja programu dot2tex.
46
47 %package examples
48 Summary:        Examples for dot2tex
49 Summary(hu.UTF-8):      Példák dot2tex-hez
50 Summary(pl.UTF-8):      Przykłady dla dot2tex
51 Group:          Documentation
52
53 %description examples
54 Examples for dot2tex.
55
56 %description examples -l hu.UTF-8
57 Példák dot2tex-hez.
58
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
71 %py_install
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}
This page took 0.1107 seconds and 4 git commands to generate.