rpms/drpython/F-8 drpython-setup.py.postinst.patch, NONE, 1.1 drpython.desktop, NONE, 1.1 drpython.sh, NONE, 1.1 drpython.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Marc Wiriadisastra (mwiriadi)
fedora-extras-commits at redhat.com
Sat Jan 5 22:54:42 UTC 2008
- Previous message (by thread): rpms/t1lib/devel t1lib-5.1.1-segf.patch, NONE, 1.1 t1lib-5.0.0-t1libconfig.patch, 1.2, 1.3 t1lib.spec, 1.17, 1.18
- Next message (by thread): rpms/xzgv/F-7 xzgv-0.9-fix-doc-install.patch, NONE, 1.1 xzgv-0.9-svn-r35.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 xzgv.spec, 1.2, 1.3 xzgv-0.8-integer-overflow-fix.diff, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mwiriadi
Update of /cvs/pkgs/rpms/drpython/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2630/F-8
Modified Files:
.cvsignore sources
Added Files:
drpython-setup.py.postinst.patch drpython.desktop drpython.sh
drpython.spec
Log Message:
drpython-setup.py.postinst.patch:
--- NEW FILE drpython-setup.py.postinst.patch ---
--- drpython/setup.py 2007-03-20 09:01:38.000000000 +0900
+++ setup.py 2008-01-01 16:44:54.000000000 +0900
@@ -94,5 +94,5 @@
packages=[ MY_NAME ],
package_dir={ MY_NAME : '.' },
package_data={ MY_NAME : DATA },
- scripts=['postinst.py'],
+# scripts=['postinst.py'],
)
--- NEW FILE drpython.desktop ---
[Desktop Entry]
Name=DrPython
GenericName=Dr Python
Comment=A Python IDE
Exec=drpython
Icon=drpython
MimeType=application/x-designer;
Terminal=false
Encoding=UTF-8
Type=Application
Categories=Development;
--- NEW FILE drpython.sh ---
#!/bin/sh
/usr/lib/python2.5/site-packages/drpython/drpython.py
--- NEW FILE drpython.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: drpython
Version: 165
Release: 3%{?dist}
Summary: A simple Python IDE designed with teaching in mind
Group: Development/Tools
License: GPLv2+
URL: http://drpython.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}%{version}.zip
Source1: %{name}.desktop
Source2: drpython.sh
Patch0: drpython-setup.py.postinst.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, wxPython-devel, desktop-file-utils, python-setuptools-devel
Requires: python, wxPython
Buildarch: noarch
%description
DrPython is a highly customizable cross-platform ide to aid
programming in Python. It was developed with teaching in mind,
and has a clean, simple interface. It is written in Python,
using wxPython as the gui.
%prep
%setup -q -n %{name}
%patch -p1
# Change Windows line endings to Unix line endings
for file in $(find *.txt *.TXT -type f); do
sed -i 's/\r//' $file
done
# Remove Windows related files and patch the setup.py file so it doesn't rely on the file
rm -rf tools/
rm -f postinst.py
rm -f setup.cfg
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install_lib --skip-build -d $RPM_BUILD_ROOT%{python_sitelib}
install -pm 0655 build/lib/%{name}/%{name}.py $RPM_BUILD_ROOT%{python_sitelib}/%{name}/drpython.py
install -pm 0655 build/lib/%{name}/documentation/pyrst2html.py $RPM_BUILD_ROOT%{python_sitelib}/%{name}/documentation/pyrst2html.py
install -pm 0655 build/lib/%{name}/documentation/drdoc.py $RPM_BUILD_ROOT%{python_sitelib}/%{name}/documentation/drdoc.py
for f in drpython* ;
do install -pm 0655 $f $RPM_BUILD_ROOT%{python_sitelib}/%{name}/$f
done
install -pm 0655 build/lib/%{name}/lnkDecoderRing.py $RPM_BUILD_ROOT%{python_sitelib}/%{name}/lnkDecoderRing.py
install -pm 0655 build/lib/%{name}/drZip.py $RPM_BUILD_ROOT%{python_sitelib}/%{name}/drZip.py
install -pm 0655 build/lib/%{name}/drSetupPreferences.py $RPM_BUILD_ROOT%{python_sitelib}/%{name}/drSetupPreferences.py
install -pDm 0644 build/lib/%{name}/bitmaps/drpython.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/drpython.png
install -pDm 0655 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/drpython
desktop-file-install --vendor="fedora" \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE1}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Notes.txt todo.txt README.TXT Changelog.txt History.txt
%docdir %{python_sitelib}/%{name}/documentation/
%{python_sitelib}/%{name}/
%{_datadir}/applications/fedora-drpython.desktop
%{_datadir}/pixmaps/drpython.png
%{_bindir}/drpython
%changelog
* Sat Jan 5 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> 165-3
- Fixed tabs spaces error in spec file
* Fri Jan 4 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> 165-2
- Added bash script under /usr/bin
- Cleaned up spec file
- fixed icon and desktop file
* Wed Dec 26 2007 Marc Wiriadisastra <marc at mwiriadi.id.au> 165-1
- Remove windows related files and config files
- Initial spec file
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/drpython/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Jan 2008 18:41:44 -0000 1.1
+++ .cvsignore 5 Jan 2008 22:54:04 -0000 1.2
@@ -0,0 +1 @@
+drpython165.zip
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/drpython/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Jan 2008 18:41:44 -0000 1.1
+++ sources 5 Jan 2008 22:54:04 -0000 1.2
@@ -0,0 +1 @@
+02bb6a4d771addef978c9005007e6ed9 drpython165.zip
- Previous message (by thread): rpms/t1lib/devel t1lib-5.1.1-segf.patch, NONE, 1.1 t1lib-5.0.0-t1libconfig.patch, 1.2, 1.3 t1lib.spec, 1.17, 1.18
- Next message (by thread): rpms/xzgv/F-7 xzgv-0.9-fix-doc-install.patch, NONE, 1.1 xzgv-0.9-svn-r35.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 xzgv.spec, 1.2, 1.3 xzgv-0.8-integer-overflow-fix.diff, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list