packages: python-seqdiag/python-seqdiag.spec (NEW) - version 0.4.2 (tip), -...

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


Author: cieciwa                      Date: Mon Oct 17 10:12:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- version 0.4.2 (tip),
- release 0.1.
initial.

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

---- Diffs:

================================================================
Index: packages/python-seqdiag/python-seqdiag.spec
diff -u /dev/null packages/python-seqdiag/python-seqdiag.spec:1.1
--- /dev/null	Mon Oct 17 12:12:26 2011
+++ packages/python-seqdiag/python-seqdiag.spec	Mon Oct 17 12:12:21 2011
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+
+%define 	module	seqdiag
+Summary:	seqkdiag generate sequence-diagram image file from spec-text file.
+Name:		python-%module
+Version:	0.4.2
+Release:	0.1
+License:	Apache 2.0
+Group:		Development/Languages
+URL:		http://blockdiag.com/en/seqdiag/index.html
+Source0:	https://bitbucket.org/tk0miya/%{module}/get/tip.tar.gz
+# Source0-md5:	58c9060a5ce28c8a99c7496ada1c4cbb
+#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
+seqdiag generate sequence-diagram image file from spec-text file.
+Features
+
+    Generate sequence-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}-tip
+%{__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}/seqdiag
+%{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: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