rpms/PythonCard/devel PythonCard.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marek Mahut (mmahut) fedora-extras-commits at redhat.com
Fri Aug 8 15:43:04 UTC 2008


Author: mmahut

Update of /cvs/pkgs/rpms/PythonCard/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2181/devel

Modified Files:
	.cvsignore sources 
Added Files:
	PythonCard.spec import.log 
Log Message:
intial package import


--- 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


--- NEW FILE import.log ---
PythonCard-0_8_2-1_fc8:HEAD:PythonCard-0.8.2-1.fc8.src.rpm:1218210133


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/PythonCard/devel/.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	8 Aug 2008 15:42:33 -0000	1.2
@@ -0,0 +1 @@
+PythonCard-0.8.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/PythonCard/devel/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	8 Aug 2008 15:42:33 -0000	1.2
@@ -0,0 +1 @@
+109913b19baba90aff5c95949e5aa1ff  PythonCard-0.8.2.tar.gz




More information about the fedora-extras-commits mailing list