packages: python-PyAMF/python-PyAMF.spec (NEW)=?UTF-8?Q?=20?=- Initial 0.6.1-1.

matkor matkor at pld-linux.org
Fri Feb 17 10:25:35 CET 2012


Author: matkor                       Date: Fri Feb 17 09:25:35 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Initial 0.6.1-1.

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

---- Diffs:

================================================================
Index: packages/python-PyAMF/python-PyAMF.spec
diff -u /dev/null packages/python-PyAMF/python-PyAMF.spec:1.1
--- /dev/null	Fri Feb 17 10:25:35 2012
+++ packages/python-PyAMF/python-PyAMF.spec	Fri Feb 17 10:25:30 2012
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+# TODO: Fix tests (django twisted) ?
+# TODO: Move tests to separate package
+#
+# Conditional build:
+%bcond_with	tests	# perform "make test"
+
+%define 	module	PyAMF
+Summary:	Action Message Format (AMF) support for Python
+Summary(pl.UTF-8):	Wsparcie dla Action Message Format (AMF)
+Name:		python-%{module}
+Version:	0.6.1
+Release:	1
+License:	MIT
+Group:		Development/Languages/Python
+# http://pypi.python.org/packages/source/P/PyAMF/PyAMF-0.6.1.tar.gz
+Source0:	http://pypi.python.org/packages/source/P/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	5ee33463974f37dfb5a043b5b773039f
+URL:		http://www.pyamf.org/index.html
+BuildRequires:	python-devel
+BuildRequires:	python-distribute
+BuildRequires:	rpm-pythonprov
+# if py_postclean is used
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyAMF provides Action Message Format (AMF) support for Python that is
+compatible with the Adobe Flash Player. It includes integration with
+Python web frameworks like Django, Pylons, Twisted, SQLAlchemy, web2py
+and more.
+
+%description -l pl.UTF-8
+PyAMF dostarcza wsparcie Action Message Format (AMF) dla Pythona
+kompatybilne z Adobe Flash Player. Integruje się z Pythonowymi
+framworkami www jak Django, Pylons, Twisted, SQLAlchemy, web2py i
+inne.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
+
+%{?with_tests:%{__python} setup.py test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+# %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%dir %{py_sitedir}/cpyamf
+%attr(755,root,root) %{py_sitedir}/cpyamf/*.so
+%attr(755,root,root) %{py_sitedir}/cpyamf/__init__.*
+%{py_sitedir}/pyamf
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/%{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  2012/02/17 09:25:30  matkor
+- Initial 0.6.1-1.
+
================================================================


More information about the pld-cvs-commit mailing list