rpms/python-tag/F-9 tagpy-0.93-configvars.patch, NONE, 1.1 tagpy-0.93-gcc43.patch, NONE, 1.1 python-tag.spec, 1.4, 1.5 sources, 1.2, 1.3

Tom Callaway (spot) fedora-extras-commits at redhat.com
Thu Jun 19 12:35:03 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/python-tag/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8465/F-9

Modified Files:
	python-tag.spec sources 
Added Files:
	tagpy-0.93-configvars.patch tagpy-0.93-gcc43.patch 
Log Message:
update F-9 branch to 0.94.1, so it actually builds against Fedora 9 TagLib

tagpy-0.93-configvars.patch:

--- NEW FILE tagpy-0.93-configvars.patch ---
diff -Naupr tagpy-0.93.orig/configvars.py tagpy-0.93/configvars.py
--- tagpy-0.93.orig/configvars.py	2007-10-02 16:34:23.000000000 +0200
+++ tagpy-0.93/configvars.py	2008-04-22 13:38:42.000000000 +0200
@@ -3,7 +3,7 @@ vars = [
         "The include directory for all of Boost C++"),
     ("BOOST_LIB_DIR", None,
         "The library directory for all of Boost C++"),
-    ("BOOST_PYTHON_LIB_NAMES", "boost_python-gcc42-mt",
+    ("BOOST_PYTHON_LIB_NAMES", "boost_python-mt",
         "The name of the Boost Python library binary (without lib and .so)"),
     # -------------------------------------------------------------------------
     ("TAGLIB_INC_DIR", None,

tagpy-0.93-gcc43.patch:

--- NEW FILE tagpy-0.93-gcc43.patch ---
diff -Naupr tagpy-0.93.orig/src/wrapper/common.hpp tagpy-0.93/src/wrapper/common.hpp
--- tagpy-0.93.orig/src/wrapper/common.hpp	2007-02-13 01:05:16.000000000 +0100
+++ tagpy-0.93/src/wrapper/common.hpp	2008-02-24 02:07:31.000000000 +0100
@@ -1,3 +1,4 @@
+#include <cstring>
 #include <boost/python.hpp>
 #include <boost/scoped_array.hpp>
 #include <stdexcept>


Index: python-tag.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-tag/F-9/python-tag.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- python-tag.spec	20 Feb 2008 04:37:32 -0000	1.4
+++ python-tag.spec	19 Jun 2008 12:34:16 -0000	1.5
@@ -2,15 +2,16 @@
 
 Summary: Python bindings for TagLib to read and write music files tags
 Name: python-tag
-Version: 0.91
-Release: 6
+Version: 0.94.1
+Release: 1%{?dist}
 License: BSD
 Group: Development/Languages
 URL: http://news.tiker.net/software/tagpy
 Source0: http://news.tiker.net/news.tiker.net/download/software/tagpy/tagpy-%{version}.tar.gz
-Source1: tagpy-LICENSE
-Patch0: tagpy-0.91-baz.patch
+Patch0: tagpy-0.93-configvars.patch
+Patch1: tagpy-0.93-gcc43.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Provides: tagpy = %{version}-%{release}
 BuildRequires: python-devel
 BuildRequires: taglib-devel
 BuildRequires: boost-devel
@@ -23,12 +24,13 @@
 
 %prep
 %setup -q -n tagpy-%{version}
-%patch0 -p1 -b .baz
-%{__install} -p -m 0644 %{SOURCE1} LICENSE
+%patch0 -p1 -b .configvars
+%patch1 -p1 -b .gcc43
 
 
 %build
-CFLAGS="%{optflags}" %{__python} setup.py build
+./configure
+CFLAGS="%{optflags} `pkg-config --cflags taglib`" %{__python} setup.py build
 
 
 %install
@@ -42,13 +44,25 @@
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE README test/*.py test/tagrename
-%{python_sitearch}/tagpy/
-%{python_sitearch}/_tagpy.so
+%doc README test/*.py test/tagrename
+%{python_sitearch}/*
 
 
 %changelog
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.91-6
+* Tue Apr 22 2008 Matthias Saou <http://freshrpms.net/> 0.94.1-1
+- Update to 0.94.1, which includes Notting's patch.
+- Remove separate LICENSE file, since the BSD license is now inside the README.
+
+* Tue Apr 22 2008 Matthias Saou <http://freshrpms.net/> 0.93-2
+- Include taglib1.5 patch from Bill Nottingham.
+- Include everything under sitearch, egg file or not (easier).
+- Re-add dist tag, the package changed more than I thought.
+
+* Sun Feb 24 2008 Matthias Saou <http://freshrpms.net/> 0.93-1
+- Update to 0.93.
+- Include new egg file.
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org>
 - Autorebuild for GCC 4.3
 
 * Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 0.91-5


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-tag/F-9/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	14 May 2007 15:43:28 -0000	1.2
+++ sources	19 Jun 2008 12:34:16 -0000	1.3
@@ -1 +1 @@
-c9de0b7b3819579b5f460b20c42e03c9  tagpy-0.91.tar.gz
+ba260ca41d43ef10f63050445c71002e  tagpy-0.94.1.tar.gz




More information about the fedora-extras-commits mailing list