python-flac/python-flac.spec

Name: python-flac
Summary: Flac support for Python
Version: 0.0.4
Release: 1
License: UNKNOWN
Group: Development/Libraries
URL: http://www.sacredchao.net/quodlibet/browser/trunk/pyflac/
Description: Flac support for Python.

CentOS 7 x86_64

The build could not start because the following file is missing: pyflac-0.0.4.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: pyflac-0.0.4.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')

%define real_name pyflac

Summary: Flac support for Python
Name: python-flac
Version: 0.0.4
Release: 1%{?dist}
License: UNKNOWN
Group: Development/Libraries
URL: http://www.sacredchao.net/quodlibet/browser/trunk/pyflac/

Source: http://www.sacredchao.net/~piman/software/pyflac-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: python, python-devel, flac-devel

Obsoletes: pyflac <= %{version}-%{release}
Provides: pyflac

%description
Flac support for Python.

%prep
%setup -n %{real_name}-%{version}

%build
#CFLAGS="%{optflags}" %{__python} setup.py build
%{__make}

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc COPYING README examples/
%{python_sitearch}/flac/

%changelog
* Thu Aug 17 2006 Dag Wieers <dag@wieers.com> - 0.0.4-1
- Updated to release 0.0.4.

* Tue Jul 19 2005 Dag Wieers <dag@wieers.com> - 0.0.3-1
- Initial package. (using DAR)