80e3a86
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
80e3a86
80e3a86
Name:           pulsecaster
0461f7f
Version:        0.1.6
8d5eb65
Release:        2%{?dist}
80e3a86
Summary:        A PulseAudio-based podcast recorder
80e3a86
80e3a86
Group:          Development/Languages
80e3a86
License:        GPLv3+
80e3a86
URL:            http://fedorahosted.org/pulsecaster
80e3a86
Source0:        https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
80e3a86
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
80e3a86
80e3a86
BuildArch:      noarch
80e3a86
BuildRequires:  python-devel, python-setuptools
80e3a86
BuildRequires:  desktop-file-utils
80e3a86
80e3a86
Requires:       pulseaudio-libs >= 0.9.15
80e3a86
Requires:       pygtk2 >= 2.14
80e3a86
Requires:       dbus-python >= 0.83
8d5eb65
Requires:	gstreamer-python >= 0.10
80e3a86
80e3a86
%description
80e3a86
PulseCaster is a simple PulseAudio-based tool for making podcast
80e3a86
interviews. It is designed for ease of use and simplicity. The user
80e3a86
makes a call with a preferred PulseAudio-compatible Voice-over-IP
80e3a86
(VoIP) softphone application such as Ekiga or Twinkle, and then starts
80e3a86
PulseCaster to record the conversation to a multimedia file. The
80e3a86
resulting file can be published as a podcast or distributed in other
80e3a86
ways.
80e3a86
80e3a86
%prep
80e3a86
%setup -q
80e3a86
80e3a86
80e3a86
%build
80e3a86
%{__python} setup.py build
80e3a86
80e3a86
80e3a86
%install
80e3a86
rm -rf $RPM_BUILD_ROOT
80e3a86
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
80e3a86
desktop-file-install \
80e3a86
    --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
80e3a86
    %{name}.desktop
80e3a86
80e3a86
 
80e3a86
%clean
80e3a86
rm -rf $RPM_BUILD_ROOT
80e3a86
80e3a86
80e3a86
%files
80e3a86
%defattr(-,root,root,-)
80e3a86
%doc AUTHORS COPYING TODO
80e3a86
%{python_sitelib}/*
80e3a86
%{_bindir}/*
80e3a86
%{_datadir}/%{name}
80e3a86
%{_datadir}/applications/*
80e3a86
80e3a86
80e3a86
%changelog
8d5eb65
* Thu Jun 10 2010 Paul W. Frields <stickster@gmail.com> - 0.1.6-2
8d5eb65
- Fix missing dependency (#602593)
8d5eb65
0461f7f
* Thu May  6 2010 Paul W. Frields <stickster@gmail.com> - 0.1.6-1
0461f7f
- New upstream 0.1.6
0461f7f
80e3a86
* Wed Mar 31 2010 Paul W. Frields <stickster@gmail.com> - 0.1.5-1
80e3a86
- New upstream 0.1.5, fixes desktop entry file
80e3a86
80e3a86
* Sat Feb 20 2010 Paul W. Frields <stickster@gmail.com> - 0.1.4-1
80e3a86
- Initial RPM release
80e3a86