Update of /cvsroot/freevo/freevo/contrib/rpm
In directory sc8-pr-cvs1:/tmp/cvs-serv30822

Added Files:
        pyao.spec pyogg.spec pyvorbis.spec 
Log Message:
More supporting packages SPEC files


--- NEW FILE: pyao.spec ---
%define pyver %(python -c 'import sys; print sys.version[:3]')

%define name pyao
%define version 0.82
%define release 1_freevo

Summary: A wrapper for the ao library
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
Copyright: UNKNOWN
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Vendor: Andrew Chatham <[EMAIL PROTECTED]>
Url: http://www.andrewchatham.com/pyogg/
Requires: libao
BuildRequires: libao

%description
This is a wrapper for libao, an audio device abstraction
library. libao is available with ogg/vorbis at http://www.xiph.org.


%prep
%setup

%build
#!/bin/sh

python config_unix.py

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

mkdir -p $RPM_BUILD_ROOT/%{_includedir}/python%{pyver}/%{name}
cp src/*h $RPM_BUILD_ROOT/%{_includedir}/python%{pyver}/%{name}

cat >>INSTALLED_FILES <<EOF
%{_includedir}/python%{pyver}
%doc README AUTHORS COPYING ChangeLog PKG-INFO
%doc test.py
EOF


%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog
* Thu Sep 18 2003 TC Wan <[EMAIL PROTECTED]>
- Initial SPEC file for RH 9 (revised from version at vorbis.org)

--- NEW FILE: pyogg.spec ---
%define name pyogg
%define version 1.3
%define release 1_freevo

Summary: A wrapper for the Ogg libraries.
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
Copyright: GPL
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Vendor: Andrew Chatham <[EMAIL PROTECTED]>
Url: http://www.andrewchatham.com/pyogg/
Requires: libogg
BuildRequires: libogg

%description
Ogg/Vorbis is available at http://www.xiph.org

There's not a whole lot you can do with this module by itself. You'll
probably also want the ogg.vorbis module, which can be found wherever
you got this.

You can now write Python programs to encode and decode Ogg Vorbis
files (encoding is quite a bit more involved). The module is
self-documenting, though I need to update quite a bit of it.


%prep
%setup

%build
#!/bin/sh

# This is just a simple script to be run before any automatic
# binary distribution building (like bdist or bdist_rpm). You
# probably don't have to worry about it.

python config_unix.py


%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

cat >>INSTALLED_FILES <<EOF
%doc README AUTHORS COPYING ChangeLog NEWS PKG-INFO
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog
* Thu Sep 18 2003 TC Wan <[EMAIL PROTECTED]>
- Initial SPEC file for RH 9 (revised from version at vorbis.org)

--- NEW FILE: pyvorbis.spec ---
%define pyver %(python -c 'import sys; print sys.version[:3]')

%define name pyvorbis
%define version 1.3
%define release 1_freevo

Summary: A wrapper for the Vorbis libraries.
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
Copyright: UNKNOWN
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Vendor: Andrew Chatham <[EMAIL PROTECTED]>
Url: http://www.andrewchatham.com/pyogg/
Requires: libogg libvorbis pyogg
BuildRequires: libogg libvorbis pyogg

%description
Ogg/Vorbis is available at http://www.xiph.org

Access this module via "import ogg.vorbis" or "from ogg.vorbis import
*". You can now write Python programs to encode and decode Ogg Vorbis
files (encoding is quite a bit more involved). The module is
self-documenting, though I need to update quite a bit of it. Look at
test/ogg123.py, test/short.py, and test/enc.py for very simple
demonstrations of the module interface.

%prep
%setup

%build
#!/bin/sh

# This is just a simple script to be run before any automatic
# binary distribution building (like bdist or bdist_rpm). You
# probably don't have to worry about it.

python config_unix.py


%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

mkdir -p $RPM_BUILD_ROOT/%{_includedir}/python%{pyver}/%{name}
cp src/*h $RPM_BUILD_ROOT/%{_includedir}/python%{pyver}/%{name}

cat >>INSTALLED_FILES <<EOF
%{_includedir}/python%{pyver}
%doc README AUTHORS COPYING ChangeLog NEWS PKG-INFO
%doc test
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog
* Thu Sep 18 2003 TC Wan <[EMAIL PROTECTED]>
- Initial SPEC file for RH 9 (revised from version at vorbis.org)






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to