rpms/pyjamas/devel import.log, NONE, 1.1 pyjamas.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Kevin Fenzi
kevin at fedoraproject.org
Fri Jun 4 19:06:40 UTC 2010
Author: kevin
Update of /cvs/pkgs/rpms/pyjamas/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv18157/devel
Modified Files:
.cvsignore sources
Added Files:
import.log pyjamas.spec
Log Message:
Initial version for fedora
--- NEW FILE import.log ---
pyjamas-0_7-5_fc14:HEAD:pyjamas-0.7-5.fc14.src.rpm:1275678264
--- NEW FILE pyjamas.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
#
# See note below about byte compiling
#
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
Name: pyjamas
Version: 0.7
Release: 5%{?dist}
Summary: A python to Javascript compiler, Widget set, Framework and Toolkit
Group: Development/Languages
License: ASL 2.0 and MIT
URL: http://pyjs.org/
# When using a SVN snapshot:
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
# svn export -r 2416 https://pyjamas.svn.sourceforge.net/svnroot/pyjamas/trunk pyjamas-20100414
# tar -czvf pyjamas-20100414.tar.gz pyjamas-20100414
Source0: http://downloads.sourceforge.net/project/pyjamas/pyjamas/0.7/pyjamas-0.7.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
%description
Pyjamas is a python to Javascript compiler, Widget set,
Framework and Toolkit for Application development that
runs on Web browsers. The developer need not know
anything about AJAX: all the AJAX tricks, for all major
browsers, are entirely taken care of.
%package desktop
Summary: Desktop version of pyjamas
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
Requires: xulrunner
Requires: pywebkitgtk
Requires: hulahop
License: ASL 2.0 and Python and GPLv2+
%description desktop
The Desktop version of Pyjamas takes the original Python application
(which, in the browser version, is put through a Javascript Compiler),
and executes it directly, through the standard Python Interpreter,
unmodified. The Pyjamas Infrastructure then uses XULRunner as
the Browser Engine, to render the application's widgets.
%package ui
Summary: User interface widgets for pyjamas
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
License: ASL 2.0
%description ui
This package contains the User-Interface Widgets that are
common to both Pyjamas and Pyjamas-Desktop.
%package examples
Summary: Example files for pyjamas
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
License: ASL 2.0 and BSD and GPL+ and GPLv2+ and LGPLv2+ and MIT and Python and (MPLv1.1+ or LGPLv2+ or GPLv2+)
%description examples
This package includes the example files that ship with pyjamas.
%package doc
Summary: Documentation files for pyjamas
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
License: ASL 2.0
%description doc
This package includes the documentation files that ship with pyjamas.
%prep
%setup -q
%build
python bootstrap.py $RPM_BUILD_ROOT/usr/share/pyshared $RPM_BUILD_ROOT/usr/share/pyjamas .
python run_bootstrap_first_then_setup.py build
python run_bootstrap_first_then_pyjd_setup.py build
%install
rm -rf $RPM_BUILD_ROOT
export QA_SKIP_BUILD_ROOT=1
python run_bootstrap_first_then_pyjd_setup.py install --root=$RPM_BUILD_ROOT
python run_bootstrap_first_then_setup.py install --root=$RPM_BUILD_ROOT
# Install scripts.
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -p bin/pyjsbuild $RPM_BUILD_ROOT/usr/bin/pyjsbuild
install -p bin/pyjscompile $RPM_BUILD_ROOT/usr/bin/pyjscompile
# Fix installed pyjd to not include the build root in path
sed -i -e "s|$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT/%{python_sitelib}/pyjd/__init__.py
sed -i -e "s|$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT/%{_bindir}/pyjsbuild
sed -i -e "s|$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT/%{_bindir}/pyjscompile
# install doc files
cp -a doc $RPM_BUILD_ROOT/%{_datadir}/pyjamas/doc
# NOTE: we only byte-compile the library files installed in the normal
# fedora python_sitelib. All other .py files are left alone.
# This is due to those files replacing/overriding core modules.
# They should never be run from anything but pyjamas itself, nor
# should they be byte compiled.
# byte-compile the library .py files only.
( RPM_BUILD_ROOT=$RPM_BUILD_ROOT/%{python_sitelib}/; export RPM_BUILD_ROOT; /usr/lib/rpm/brp-python-bytecompile %{__python} )
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CHANGELOG COPYING copyright CREDITS INSTALL.txt README TODO
%{python_sitelib}/pyjs
%{python_sitelib}/Pyjamas-*.egg-info
%{_datadir}/pyjamas
%{_bindir}/pyjscompile
%{_bindir}/pyjsbuild
%exclude %{_datadir}/pyjamas/examples
%exclude %{_datadir}/pyjamas/doc
%exclude %{_datadir}/pyjamas/library/pyjamas/ui
%exclude %{python_sitelib}/pyjd
%files desktop
%defattr(-,root,root,-)
%{python_sitelib}/Pyjamas_Desktop-*.egg-info
%{python_sitelib}/pyjd
%files ui
%defattr(-,root,root,-)
%{_datadir}/pyjamas/library/pyjamas/ui
%files examples
%defattr(-,root,root,-)
%{_datadir}/pyjamas/examples
%files doc
%defattr(-,root,root,-)
%{_datadir}/pyjamas/doc
%changelog
* Wed Jun 02 2010 Kevin Fenzi <kevin at tummy.com> - 0.7-6
- Further fix Licensing tags.
* Fri May 28 2010 Kevin Fenzi <kevin at tummy.com> - 0.7-5
- Adjusting Licensing tags.
* Fri May 28 2010 Kevin Fenzi <kevin at tummy.com> - 0.7-4
- Fix python-bytecode-inconsistent-mtime error
- Adjusted Licensing tags.
* Thu May 27 2010 Kevin Fenzi <kevin at tummy.com> - 0.7-3
- Reworked note about byte compiling
- Fixed spelling mistake
- Changed sitelib to not be a full wildcard.
* Fri Apr 30 2010 Kevin Fenzi <kevin at tummy.com> - 0.7-2
- Install pyjsbuild and pyjscompile scripts
* Mon Apr 26 2010 Kevin Fenzi <kevin at tummy.com> - 0.7-1
- Initial version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyjamas/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 3 Jun 2010 20:19:49 -0000 1.1
+++ .cvsignore 4 Jun 2010 19:06:39 -0000 1.2
@@ -0,0 +1 @@
+pyjamas-0.7.tgz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyjamas/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 3 Jun 2010 20:19:49 -0000 1.1
+++ sources 4 Jun 2010 19:06:39 -0000 1.2
@@ -0,0 +1 @@
+8441b60bb3c88051799537852cceefd0 pyjamas-0.7.tgz
More information about the scm-commits
mailing list