rpms/PythonCard/EL-5 PythonCard.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel lkundrak at fedoraproject.org
Mon Oct 27 09:41:10 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/PythonCard/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26331/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	PythonCard.spec 
Log Message:
Add to branches


--- NEW FILE PythonCard.spec ---
%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')

Name: 		PythonCard
Version:	0.8.2
Release:	1%{?dist}
Summary:	PythonCard GUI construction toolkit 

Source:		http://dl.sf.net/pythoncard/%{name}-%{version}.tar.gz
URL:		http://pythoncard.sourceforge.net/

Group:		Development/Libraries
License:	BSD

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	python-devel, wxPython-devel
Requires:	wxPython
BuildArch:	noarch

%description
PythonCard is a GUI construction kit for building cross-platform desktop
applications on Windows, Mac OS X, and Linux, using the Python language.

%prep
%setup -q

%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build 

%install
rm -rf $RPM_BUILD_ROOT
env CFLAGS="$RPM_OPT_FLAGS" python setup.py install --root=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
mv $RPM_BUILD_ROOT/%{python_sitearch}/%{name}/samples $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
mv $RPM_BUILD_ROOT/%{python_sitearch}/%{name}/docs $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
mv $RPM_BUILD_ROOT/%{python_sitearch}/%{name}/tools $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/examples
mv *.txt $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%exclude %{_bindir}/install-pythoncard.*
%if 0%{?fedora} >= 9
%{python_sitearch}/*egg-info
%endif
%{python_sitearch}/%{name}
%{_docdir}/%{name}-%{version}

%changelog
* Mon May 26 2008 Marek Mahut <mmahut at fedoraproject.org> - 0.8.2-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/PythonCard/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	25 Jun 2008 23:10:55 -0000	1.1
+++ .cvsignore	27 Oct 2008 09:40:40 -0000	1.2
@@ -0,0 +1 @@
+PythonCard-0.8.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/PythonCard/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Jun 2008 23:10:55 -0000	1.1
+++ sources	27 Oct 2008 09:40:40 -0000	1.2
@@ -0,0 +1 @@
+109913b19baba90aff5c95949e5aa1ff  PythonCard-0.8.2.tar.gz




More information about the scm-commits mailing list