]> git.pld-linux.org Git - packages/python-pydot.git/commitdiff
- new, builds
authordjrzulf <djrzulf@pld-linux.org>
Sat, 26 Nov 2005 17:59:25 +0000 (17:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-pydot.spec -> 1.1

python-pydot.spec [new file with mode: 0644]

diff --git a/python-pydot.spec b/python-pydot.spec
new file mode 100644 (file)
index 0000000..7deab21
--- /dev/null
@@ -0,0 +1,47 @@
+# TODO:
+# - summary, desc,
+%define        module  pydot
+Summary:       Python package for 
+Summary(pl):   Pakiet dla Pythona
+Name:          python-%{module}
+Version:       0.9.10
+Release:       0.1
+License:       GPL v2+
+Group:         Libraries/Python
+Source0:       http://dkbza.org/data/%{module}-%{version}.tar.gz
+# Source0-md5: d59609a3b69b19ad018c55d765945baf
+URL:           http://dkbza.org/pydot.html
+BuildRequires: rpm-pythonprov
+BuildRequires: graphviz-devel
+BuildRequires: graphviz-python
+BuildRequires: python-pyparsing
+%pyrequires_eq python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl
+
+%prep
+%setup -q -n %{module}-%{version}
+
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+#broken!
+python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT%{py_scriptdir} -type f -name "*.py" | xargs rm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitescriptdir}/*
This page took 0.069852 seconds and 4 git commands to generate.