rpms/python-vorbis/devel .cvsignore, 1.2, 1.3 python-vorbis.spec, 1.3, 1.4 sources, 1.2, 1.3

Matthias Saou (thias) fedora-extras-commits at redhat.com
Fri Mar 2 18:31:04 UTC 2007


Author: thias

Update of /cvs/extras/rpms/python-vorbis/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6136

Modified Files:
	.cvsignore python-vorbis.spec sources 
Log Message:
Update to 1.4 and some fixes following the ownership change.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-vorbis/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	30 May 2006 08:28:11 -0000	1.2
+++ .cvsignore	2 Mar 2007 18:30:31 -0000	1.3
@@ -1 +1 @@
-pyvorbis-1.3.tar.gz
+pyvorbis-1.4.tar.gz


Index: python-vorbis.spec
===================================================================
RCS file: /cvs/extras/rpms/python-vorbis/devel/python-vorbis.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-vorbis.spec	23 Dec 2006 08:35:47 -0000	1.3
+++ python-vorbis.spec	2 Mar 2007 18:30:31 -0000	1.4
@@ -1,19 +1,16 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
 
-Name:           python-vorbis
-Version:        1.3
-Release:        4%{?dist}
-Summary:        A Python wrapper for the Ogg Vorbis audio libraries
-
-Group:          Development/Languages
-License:        LGPL
-URL:            http://www.andrewchatham.com/pyogg/
-Source0:        http://www.andrewchatham.com/pyogg/download/pyvorbis-1.3.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  python-devel, python-ogg-devel, libvorbis-devel
-Requires:   python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
+Summary: Python wrapper for the Ogg Vorbis audio libraries
+Name: python-vorbis
+Version: 1.4
+Release: 1%{?dist}
+License: LGPL
+Group: Development/Languages
+URL: http://ekyo.nerim.net/software/pyogg/
+Source: http://ekyo.nerim.net/software/pyogg/pyvorbis-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Requires: python-ogg
+BuildRequires: python-devel, python-ogg-devel, libvorbis-devel
 
 %description
 An object-oriented Python binding for the Ogg Vorbis libraries. Ogg is
@@ -21,34 +18,38 @@
 applications to play and encode audio files in Ogg Vorbis format.
 
 
-
 %prep
 %setup -q -n pyvorbis-%{version}
 
 
 %build
 %{__python} config_unix.py
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="%{optflags}" %{__python} setup.py build
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
  
 %clean
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
 
 
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING NEWS README
-# Include files and dirs below %{python_sitelib} (for noarch packages) and
-# %{python_sitearch} (for arch-dependent packages) as appropriate.
 %{python_sitearch}/ogg/vorbis.so
 
 
 %changelog
+* Fri Mar  2 2007 Matthias Saou <http://freshrpms.net/> 1.4-1
+- Update to 1.4.
+- Use new URL and source location.
+- Add explicit python-ogg requirement, since it provides the parent directory.
+- Remove no longer needed explicit python-abi requirement.
+- Spec file (quick) re-review and cleanup following ownership change.
+
 * Fri Dec 22 2006 Jef Spaleta <jspaleta at gmail.com> 1.3-4
 - Release bump and rebuild against python 2.5 in development
 
@@ -60,3 +61,4 @@
 
 * Fri May 19 2006 Hugo Cisneiros <hugo at devin.com.br> 1.3-1
 - Initial RPM release
+


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-vorbis/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	30 May 2006 08:28:11 -0000	1.2
+++ sources	2 Mar 2007 18:30:31 -0000	1.3
@@ -1 +1 @@
-3ddd0dc996b57827c324910cc899d40b  pyvorbis-1.3.tar.gz
+b4921e792c0a74f75b9d3057df10ee7c  pyvorbis-1.4.tar.gz




More information about the scm-commits mailing list