packages: python-blockdiag/python-blockdiag.spec (NEW) - version 0.9.3, - r...
cieciwa
cieciwa at pld-linux.org
Mon Oct 17 11:22:08 CEST 2011
Author: cieciwa Date: Mon Oct 17 09:22:08 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- version 0.9.3,
- release 0.1.
initial.
---- Files affected:
packages/python-blockdiag:
python-blockdiag.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-blockdiag/python-blockdiag.spec
diff -u /dev/null packages/python-blockdiag/python-blockdiag.spec:1.1
--- /dev/null Mon Oct 17 11:22:08 2011
+++ packages/python-blockdiag/python-blockdiag.spec Mon Oct 17 11:22:03 2011
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+
+%define module blockdiag
+Summary: Blockdiag generate block-diagram image file from spec-text file.
+Name: python-%module
+Version: 0.9.3
+Release: 0.1
+License: Apache 2.0
+Group: Development/Languages
+URL: http://blockdiag.com/en/blockdiag/index.html
+Source0: https://bitbucket.org/tk0miya/%{module}/get/%{version}.tar.gz
+# Source0-md5: f151a3c21bbfd2606fbad0d37e190e58
+#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
+blockdiag generate block-diagram image file from spec-text file.
+Features
+
+ Generate block-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 tk0miya-%{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
+%{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 <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/10/17 09:22:03 cieciwa
+- version 0.9.3,
+- release 0.1.
+
+initial.
+
+Revision 1.2 2011/08/01 12:12:17 cieciwa
+- updated %%Summary nad %%description.
+
================================================================
More information about the pld-cvs-commit
mailing list