SPECS: dot2tex.spec (NEW) - new

megabajt megabajt at pld-linux.org
Fri Dec 26 20:48:21 CET 2008


Author: megabajt                     Date: Fri Dec 26 19:48:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   dot2tex.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/dot2tex.spec
diff -u /dev/null SPECS/dot2tex.spec:1.1
--- /dev/null	Fri Dec 26 20:48:21 2008
+++ SPECS/dot2tex.spec	Fri Dec 26 20:48:15 2008
@@ -0,0 +1,94 @@
+# $Revision$, $Date$
+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}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/12/26 19:48:15  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list