rpms/lunatic-python/devel import.log, NONE, 1.1 lunatic-python.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jon Ciesla limb at fedoraproject.org
Tue Jul 13 15:50:39 UTC 2010


Author: limb

Update of /cvs/pkgs/rpms/lunatic-python/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31461/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log lunatic-python.spec 
Log Message:
Initial import.



--- NEW FILE import.log ---
lunatic-python-1_0_1-0_2_20090917bzr_fc12:HEAD:lunatic-python-1.0.1-0.2.20090917bzr.fc12.src.rpm:1279036171


--- NEW FILE lunatic-python.spec ---
%define bzrdate 20090917

%define luaver 5.1
%define lualibdir %{_libdir}/lua/%{luaver}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           lunatic-python
Version:        1.0.1
Release:        0.2.%{bzrdate}bzr%{?dist}
Summary:        Two-way bridge between Python and Lua

Group:          Development/Languages
License:        LGPLv2+
URL:            http://labix.org/lunatic-python
# bzr branch lp:~hircus/lunatic-python/trunk
# (cd lunatic-python && \
#  bzr export --root=lunatic-python ../lunatic-python.tar.bz2)
Source0:        %{name}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel lua-devel

%description
Lunatic Python is a two-way bridge between Python and Lua, allowing
these languages to intercommunicate. Being two-way means that it
allows Lua inside Python, Python inside Lua, Lua inside Python inside
Lua, Python inside Lua inside Python, and so on.


%prep
%setup -q -n %{name}


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
# Move Lua's python module to its correct place
mkdir -p $RPM_BUILD_ROOT%{lualibdir}
mv $RPM_BUILD_ROOT{%{python_sitearch}/python.so,%{lualibdir}}

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE 
%{lualibdir}/python.so
%{python_sitearch}/*


%changelog
* Wed Sep 23 2009 Michel Salim <salimma at fedoraproject.org> - 1.0.1-0.2.20090917bzr%{?dist}
- Follow guidelines for snapshot release tag

* Thu Sep 17 2009 Michel Salim <salimma at fedoraproject.org> - 1.0.1-0.1.bzr20090917%{?dist}
- Initial package



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lunatic-python/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	13 Jul 2010 15:42:44 -0000	1.1
+++ .cvsignore	13 Jul 2010 15:50:36 -0000	1.2
@@ -0,0 +1 @@
+lunatic-python.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lunatic-python/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	13 Jul 2010 15:42:44 -0000	1.1
+++ sources	13 Jul 2010 15:50:38 -0000	1.2
@@ -0,0 +1 @@
+96af3c0dcc5a3591ce8c69b32e524ff6  lunatic-python.tar.bz2



More information about the scm-commits mailing list