]> git.pld-linux.org Git - packages/dot2tex.git/commitdiff
- new auto/th/dot2tex-2_8_4-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Fri, 26 Dec 2008 19:48:15 +0000 (19:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dot2tex.spec -> 1.1

dot2tex.spec [new file with mode: 0644]

diff --git a/dot2tex.spec b/dot2tex.spec
new file mode 100644 (file)
index 0000000..370abca
--- /dev/null
@@ -0,0 +1,83 @@
+Summary:       A Graphviz to LaTeX converter
+Summary(pl.UTF-8):     Konwerter plików Graphviza do LaTeXa
+Name:          dot2tex
+Version:       2.8.4
+Release:       1
+License:       MIT
+Group:         Applications
+Source0:       http://dot2tex.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: e63d164fad5722290646cb200dcfcb61
+URL:           http://www.fauskes.net/code/dot2tex/
+BuildRequires: python >= 1:2.5
+BuildRequires: rpm-pythonprov
+Requires:      graphviz
+Requires:      python-pyparsing >= 1.4.8
+Requires:      tetex-latex
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+dot2tex is a tool for converting graphs rendered by Graphviz to
+formats that can be used with LaTeX.
+
+%description -l pl.UTF-8
+dot2tex jest narzędziem do konwertowania grafów stworzonych przez
+Graphviza do formatów, które mogą być użyte z LaTeXem.
+
+%package doc
+Summary:       dot2tex documentation
+Summary(pl.UTF-8):     Dokumentacja programu dot2tex
+Group:         Documentation
+
+%description doc
+dot2tex documentation.
+
+%description doc -l pl.UTF-8
+Dokumentacja programu dot2tex.
+
+%package examples
+Summary:       Examples for dot2tex
+Summary(pl.UTF-8):     Przykłady dla dot2tex
+# better group needed
+Group:         Libraries
+
+%description examples
+Examples for dot2tex.
+
+%description examples -l pl.UTF-8
+Przykłady dla dot2tex.
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__python} setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+%{__cp} -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt changelog.txt
+%attr(755,root,root) %{_bindir}/dot2tex
+%dir %{py_sitescriptdir}/dot2tex
+%{py_sitescriptdir}/dot2tex/*.py[co]
+%{py_sitescriptdir}/dot2tex-*.egg-info
+
+%files doc
+%defattr(644,root,root,755)
+%doc doc/usage.html doc/img/ doc/docgraphs/
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
This page took 0.099476 seconds and 4 git commands to generate.