packages: python-actdiag/python-actdiag.spec (NEW) - version 0.1.9, - relea...

cieciwa cieciwa at pld-linux.org
Mon Oct 17 12:38:23 CEST 2011


Author: cieciwa                      Date: Mon Oct 17 10:38:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- version 0.1.9,
- release 0.1.
initial.

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

---- Diffs:

================================================================
Index: packages/python-actdiag/python-actdiag.spec
diff -u /dev/null packages/python-actdiag/python-actdiag.spec:1.1
--- /dev/null	Mon Oct 17 12:38:23 2011
+++ packages/python-actdiag/python-actdiag.spec	Mon Oct 17 12:38:18 2011
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+
+%define 	module	actdiag
+Summary:	actdiag generate activity-diagram image file from spec-text file.
+Name:		python-%module
+Version:	0.1.9
+Release:	0.1
+License:	Apache 2.0
+Group:		Development/Languages
+URL:		http://blockdiag.com/en/actdiag/index.html
+Source0:	http://pypi.python.org/packages/source/a/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	c14ad2a72b0293be3b5613780151e591
+#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
+actdiag generate activity-diagram image file from spec-text file.
+Features
+
+    Generate activity-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 <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 10:38:18  cieciwa
+- version 0.1.9,
+- release 0.1.
+
+initial.
+
+Revision 1.1  2011/10/17 10:12:21  cieciwa
+- version 0.4.2 (tip),
+- release 0.1.
+
+initial.
+
+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