rpms/python-gpod/devel python-gpod-x86_64-build.patch, NONE, 1.1 python-gpod.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Todd M. Zullinger (tmz)
fedora-extras-commits at redhat.com
Mon Dec 4 03:20:58 UTC 2006
Author: tmz
Update of /cvs/extras/rpms/python-gpod/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27387/devel
Modified Files:
.cvsignore sources
Added Files:
python-gpod-x86_64-build.patch python-gpod.spec
Log Message:
auto-import python-gpod-0.4.0-3.fc7 on branch devel from python-gpod-0.4.0-3.fc7.src.rpm
python-gpod-x86_64-build.patch:
--- NEW FILE python-gpod-x86_64-build.patch ---
--- libgpod-0.4.0/bindings/python/Makefile.in.x86_64-build 2006-09-24 09:56:58.000000000 -0400
+++ libgpod-0.4.0/bindings/python/Makefile.in 2006-12-03 03:01:47.000000000 -0500
@@ -274,20 +274,20 @@
pythonDATA_INSTALL = $(INSTALL_DATA)
@HAVE_PYTHON_FALSE at install-pythonDATA: $(python_DATA)
@HAVE_PYTHON_FALSE@ @$(NORMAL_INSTALL)
- at HAVE_PYTHON_FALSE@ $(mkinstalldirs) $(DESTDIR)$(pythondir)
+ at HAVE_PYTHON_FALSE@ $(mkinstalldirs) $(DESTDIR)$(pyexecdir)
@HAVE_PYTHON_FALSE@ @list='$(python_DATA)'; for p in $$list; do \
@HAVE_PYTHON_FALSE@ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
@HAVE_PYTHON_FALSE@ f="`echo $$p | sed -e 's|^.*/||'`"; \
- at HAVE_PYTHON_FALSE@ echo " $(pythonDATA_INSTALL) $$d$$p $(DESTDIR)$(pythondir)/$$f"; \
- at HAVE_PYTHON_FALSE@ $(pythonDATA_INSTALL) $$d$$p $(DESTDIR)$(pythondir)/$$f; \
+ at HAVE_PYTHON_FALSE@ echo " $(pythonDATA_INSTALL) $$d$$p $(DESTDIR)$(pyexecdir)/$$f"; \
+ at HAVE_PYTHON_FALSE@ $(pythonDATA_INSTALL) $$d$$p $(DESTDIR)$(pyexecdir)/$$f; \
@HAVE_PYTHON_FALSE@ done
@HAVE_PYTHON_FALSE at uninstall-pythonDATA:
@HAVE_PYTHON_FALSE@ @$(NORMAL_UNINSTALL)
@HAVE_PYTHON_FALSE@ @list='$(python_DATA)'; for p in $$list; do \
@HAVE_PYTHON_FALSE@ f="`echo $$p | sed -e 's|^.*/||'`"; \
- at HAVE_PYTHON_FALSE@ echo " rm -f $(DESTDIR)$(pythondir)/$$f"; \
- at HAVE_PYTHON_FALSE@ rm -f $(DESTDIR)$(pythondir)/$$f; \
+ at HAVE_PYTHON_FALSE@ echo " rm -f $(DESTDIR)$(pyexecdir)/$$f"; \
+ at HAVE_PYTHON_FALSE@ rm -f $(DESTDIR)$(pyexecdir)/$$f; \
@HAVE_PYTHON_FALSE@ done
# This directory's subdirectories are mostly independent; you can cd
@@ -463,7 +463,7 @@
all-am: Makefile $(DATA)
installdirs: installdirs-recursive
installdirs-am:
- $(mkinstalldirs) $(DESTDIR)$(pythondir)
+ $(mkinstalldirs) $(DESTDIR)$(pyexecdir)
install: install-recursive
install-exec: install-exec-recursive
@@ -569,14 +569,14 @@
@HAVE_PYTHON_TRUE@ $(CC) $(MODULE_LIBS) @PYTHON_LDFLAGS@ gpod_wrap.o -o $@
@HAVE_PYTHON_TRUE at install-pythonDATA: $(python_DATA)
- at HAVE_PYTHON_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pythondir)/gpod
- at HAVE_PYTHON_TRUE@ $(INSTALL_PROGRAM) _gpod.so $(DESTDIR)$(pythondir)/gpod/_gpod.so
- at HAVE_PYTHON_TRUE@ $(INSTALL_DATA) *.py $(DESTDIR)$(pythondir)/gpod/
- at HAVE_PYTHON_TRUE@ $(PYTHON) -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
- at HAVE_PYTHON_TRUE@ $(PYTHON) -O -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
+ at HAVE_PYTHON_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pyexecdir)/gpod
+ at HAVE_PYTHON_TRUE@ $(INSTALL_PROGRAM) _gpod.so $(DESTDIR)$(pyexecdir)/gpod/_gpod.so
+ at HAVE_PYTHON_TRUE@ $(INSTALL_DATA) *.py $(DESTDIR)$(pyexecdir)/gpod/
+ at HAVE_PYTHON_TRUE@ $(PYTHON) -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pyexecdir)/gpod/", ddir="$(pyexecdir)/gpod/")'
+ at HAVE_PYTHON_TRUE@ $(PYTHON) -O -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pyexecdir)/gpod/", ddir="$(pyexecdir)/gpod/")'
@HAVE_PYTHON_TRUE at uninstall-pythonDATA: $(python_DATA)
- at HAVE_PYTHON_TRUE@ rm -rf $(DESTDIR)$(pythondir)/gpod
+ at HAVE_PYTHON_TRUE@ rm -rf $(DESTDIR)$(pyexecdir)/gpod
@HAVE_PYTHON_TRUE at test:
@HAVE_PYTHON_TRUE@ cd tests && python tests.py
--- libgpod-0.4.0/bindings/python/Makefile.am.x86_64-build 2006-05-29 06:06:54.000000000 -0400
+++ libgpod-0.4.0/bindings/python/Makefile.am 2006-12-03 02:59:23.000000000 -0500
@@ -32,14 +32,14 @@
$(CC) $(MODULE_LIBS) @PYTHON_LDFLAGS@ gpod_wrap.o -o $@
install-pythonDATA: $(python_DATA)
- $(mkinstalldirs) $(DESTDIR)$(pythondir)/gpod
- $(INSTALL_PROGRAM) _gpod.so $(DESTDIR)$(pythondir)/gpod/_gpod.so
- $(INSTALL_DATA) *.py $(DESTDIR)$(pythondir)/gpod/
- $(PYTHON) -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
- $(PYTHON) -O -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pythondir)/gpod/", ddir="$(pythondir)/gpod/")'
+ $(mkinstalldirs) $(DESTDIR)$(pyexecdir)/gpod
+ $(INSTALL_PROGRAM) _gpod.so $(DESTDIR)$(pyexecdir)/gpod/_gpod.so
+ $(INSTALL_DATA) *.py $(DESTDIR)$(pyexecdir)/gpod/
+ $(PYTHON) -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pyexecdir)/gpod/", ddir="$(pyexecdir)/gpod/")'
+ $(PYTHON) -O -c 'from compileall import compile_dir; compile_dir("$(DESTDIR)$(pyexecdir)/gpod/", ddir="$(pyexecdir)/gpod/")'
uninstall-pythonDATA: $(python_DATA)
- rm -rf $(DESTDIR)$(pythondir)/gpod
+ rm -rf $(DESTDIR)$(pyexecdir)/gpod
test:
cd tests && python tests.py
--- NEW FILE python-gpod.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-gpod
Version: 0.4.0
Release: 3%{?dist}
Summary: A python module to access iPod content
Group: Development/Languages
License: LGPL
URL: http://www.gtkpod.org/libgpod.html
Source0: http://prdownloads.sourceforge.net/gtkpod/libgpod-%{version}.tar.gz
Patch0: python-gpod-x86_64-build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
BuildRequires: gtk2-devel
BuildRequires: perl(XML::Parser)
BuildRequires: python-devel
BuildRequires: python-eyed3
BuildRequires: swig
Requires: libgpod = %{version}
Requires: python-eyed3
%description
A python module to access iPod content. This module provides bindings to the
libgpod library.
%prep
%setup -q -n libgpod-%{version}
%patch0 -p1 -b .x86_64-build
# fix some things rpmlint will complain about
# !!! remove the next line in 0.4.1 !!!
sed -i '/^#!\/usr\/bin\/env python/ d' bindings/python/gtkpod.py
chmod 644 bindings/python/examples/*.py
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# remove the parts we aren't packaging (they're in libgpod* in core)
rm -rf $RPM_BUILD_ROOT%{_includedir}
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.so*
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, 0755)
%doc COPYING bindings/python/examples
%{python_sitearch}/gpod
%changelog
* Sun Dec 03 2006 Todd Zullinger <tmz at pobox.com> - 0.4.0-3
- patch for python libdir on x86_64
* Fri Nov 24 2006 Todd Zullinger <tmz at pobox.com> - 0.4.0-2
- add missing gettext and perl(XML::Parser) BRs
- remove superfluous pkgconfig BR
* Tue Nov 21 2006 Todd Zullinger <tmz at pobox.com> - 0.4.0-1
- initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-gpod/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Dec 2006 03:19:54 -0000 1.1
+++ .cvsignore 4 Dec 2006 03:20:28 -0000 1.2
@@ -0,0 +1 @@
+libgpod-0.4.0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-gpod/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Dec 2006 03:19:54 -0000 1.1
+++ sources 4 Dec 2006 03:20:28 -0000 1.2
@@ -0,0 +1 @@
+e427e0409b0cb2d7e76b17915b1396fa libgpod-0.4.0.tar.gz
More information about the fedora-extras-commits
mailing list