Author: cieciwa                      Date: Mon Oct 17 10:44:59 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- version 0.5.0,
- release 0.1.
initial.

---- Files affected:
packages/python-nwdiag:
   python-nwdiag.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-nwdiag/python-nwdiag.spec
diff -u /dev/null packages/python-nwdiag/python-nwdiag.spec:1.1
--- /dev/null   Mon Oct 17 12:44:59 2011
+++ packages/python-nwdiag/python-nwdiag.spec   Mon Oct 17 12:44:54 2011
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+
+%define        module nwdiag
+Summary:       nwdiag generate network-diagram image file from spec-text file.
+Name:          python-%module
+Version:       0.5.0
+Release:       0.1
+License:       Apache 2.0
+Group:         Development/Languages
+URL:           http://blockdiag.com/en/%{module}/index.html
+Source0:       
http://pypi.python.org/packages/source/n/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: affeeca174b6b68a7fca416d6831f1af
+#BuildRequires:        python < 3.0
+BuildRequires: python-funcparserlib >= 0.3.4
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: sed >= 4.0
+#Requires:     python-django
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+nwdiag generate network-diagram image file from spec-text file.
+Features
+
+    Generate network-diagram from dot like text (basic feature).
+    Multilingualization for node-label (utf-8 only).
+
+You can get some examples and generated images on blockdiag.com .
+
+%prep
+%setup -q -n %{module}-%{version}
+%{__sed} -i -e 's/^from ez_setup/#from ez_setup/' setup.py
+%{__sed} -i -e 's/^use_setuptools()/#use_setuptools()/' setup.py
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --optimize=2 \
+       --skip-build \
+       --root $RPM_BUILD_ROOT
+
+%py_postclean
+
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%doc README
+%attr(755,root,root)%{_bindir}/%{module}
+%{py_sitescriptdir}/%{module}
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}-%{version}-*.egg-info/
+%endif
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/10/17 10:44:54  cieciwa
+- version 0.5.0,
+- release 0.1.
+
+initial.
+
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to