]> git.pld-linux.org Git - packages/python-pygraphviz.git/commitdiff
- NEW, NFY,
authordjrzulf <djrzulf@pld-linux.org>
Sat, 26 Nov 2005 16:09:54 +0000 (16:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-pygraphviz.spec -> 1.1

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

diff --git a/python-pygraphviz.spec b/python-pygraphviz.spec
new file mode 100644 (file)
index 0000000..0183bdc
--- /dev/null
@@ -0,0 +1,47 @@
+# TODO:
+# - summary, desc, some setuptools needed
+# NFY
+%define        module  pygraphviz
+Summary:       Python package for 
+Summary(pl):   Pakiet dla Pythona
+Name:          python-%{module}
+Version:       0.21
+Release:       0.1
+License:       GPL v2+
+Group:         Libraries/Python
+Source0:       http://dl.sourceforge.net/networkx/%{module}-%{version}.tar.gz
+# Source0-md5: ea2a1f28dd64f616ba8d3e3080e042be
+URL:           http://networkx.sourceforge.net/
+BuildRequires: rpm-pythonprov
+%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
+
+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 AUTHORS README
+%{py_sitescriptdir}/%{module}
+%dir %{_datadir}/%{module}
+%{_datadir}/%{module}/*.lfs
+%{_datadir}/%{module}/pyx.def
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pyxrc
This page took 0.047943 seconds and 4 git commands to generate.