packages: python3-dip/python3-dip.spec (NEW) - new; requires PyQt4 built fo...

qboosh qboosh at pld-linux.org
Sun Nov 6 08:40:09 CET 2011


Author: qboosh                       Date: Sun Nov  6 07:40:09 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new; requires PyQt4 built for python3

---- Files affected:
packages/python3-dip:
   python3-dip.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python3-dip/python3-dip.spec
diff -u /dev/null packages/python3-dip/python3-dip.spec:1.1
--- /dev/null	Sun Nov  6 08:40:09 2011
+++ packages/python3-dip/python3-dip.spec	Sun Nov  6 08:40:04 2011
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+Summary:	Application Framework for Python 3 and PyQt
+Summary(pl.UTF-8):	Szkielet dla aplikacji opartych na Pythonie 3 i PyQt
+Name:		python3-dip
+Version:	0.3
+Release:	1
+License:	GPL v2 with exception or commercial
+Group:		Development/Languages/Python
+Source0:	http://www.riverbankcomputing.com/static/Downloads/dip/dip-gpl-%{version}.tar.gz
+# Source0-md5:	581af6402d37678fe0013e71cab49d48
+URL:		http://www.riverbankcomputing.com/static/Docs/dip/
+BuildRequires:	python3-devel >= 3.2
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-modules
+Requires:	python3-PyQt4 >= 4.7.5
+Requires:	QtGui >= 4.6
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+dip is an application framework for Python and PyQt.
+
+This version supports Python 3.x.
+
+%description -l pl.UTF-8
+dip to szkielet dla aplikacji opartych na Pythonie i PyQt.
+
+Ta wersja jest przeznaczona dla Pythona 3.x.
+
+%prep
+%setup -q -n dip-gpl-%{version}
+
+%build
+%{__python3} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python3} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+# distinguish from python 2 version
+mv $RPM_BUILD_ROOT%{_bindir}/dip-automate{,-3}
+mv $RPM_BUILD_ROOT%{_bindir}/dip-builder{,-3}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog GPL-Exception.txt LICENSE-Commercial.txt NEWS README doc/_build/html
+%attr(755,root,root) %{_bindir}/dip-automate-3
+%attr(755,root,root) %{_bindir}/dip-builder-3
+%{py3_sitescriptdir}/dip
+%{py3_sitescriptdir}/dip_gpl-%{version}-py*.egg-info
+
+%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/11/06 07:40:04  qboosh
+- new; requires PyQt4 built for python3
+
================================================================


More information about the pld-cvs-commit mailing list