80e3a8
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
80e3a8
80e3a8
Name:           pulsecaster
8e9f47
Version:        0.9
8e9f47
Release:        1%{?dist}
80e3a8
Summary:        A PulseAudio-based podcast recorder
80e3a8
80e3a8
License:        GPLv3+
80e3a8
URL:            http://fedorahosted.org/pulsecaster
2bcb79
Source0:        http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
80e3a8
80e3a8
BuildArch:      noarch
8e9f47
BuildRequires:  python3-devel, python3-setuptools
47b359
BuildRequires:  desktop-file-utils, gettext
80e3a8
8e9f47
Requires:       python3-pulsectl
8e9f47
Requires:       python3-gobject
1b7532
Requires:       gstreamer1 >= 1.0
8e9f47
Requires:       python3-dbus >= 0.83
1b7532
80e3a8
80e3a8
%description
80e3a8
PulseCaster is a simple PulseAudio-based tool for making podcast
80e3a8
interviews. It is designed for ease of use and simplicity. The user
80e3a8
makes a call with a preferred PulseAudio-compatible Voice-over-IP
80e3a8
(VoIP) softphone application such as Ekiga or Twinkle, and then starts
80e3a8
PulseCaster to record the conversation to a multimedia file. The
80e3a8
resulting file can be published as a podcast or distributed in other
80e3a8
ways.
80e3a8
80e3a8
%prep
80e3a8
%setup -q
80e3a8
80e3a8
80e3a8
%build
8e9f47
%{__python3} setup.py build
de26e5
for F in po/*.po ; do
de26e5
    L=`echo $F | %{__sed} 's@po/\([^\.]*\).po@\1@'`
de26e5
    msgfmt -o po/$L.mo $F
de26e5
done
80e3a8
80e3a8
80e3a8
%install
80e3a8
rm -rf $RPM_BUILD_ROOT
8e9f47
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
80e3a8
desktop-file-install \
80e3a8
    --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
80e3a8
    %{name}.desktop
de26e5
for D in ${RPM_BUILD_ROOT}%{_datadir}/locale/* ; do
de26e5
    mv ${D}/LC_MESSAGES/*.mo ${D}/LC_MESSAGES/%{name}.mo
de26e5
done
de26e5
%find_lang %{name}
80e3a8
80e3a8
 
de26e5
%files -f %{name}.lang
8e9f47
%doc AUTHORS README.md COPYING TODO
8e9f47
%{python3_sitelib}/*
80e3a8
%{_bindir}/*
80e3a8
%{_datadir}/%{name}
80e3a8
%{_datadir}/applications/*
2bcb79
%{_datadir}/icons/hicolor/*/*/*
1b7532
%{_datadir}/GConf/gsettings/*
1b7532
%{_datadir}/appdata/*
1b7532
%{_datadir}/glib-2.0/schemas/*
80e3a8
80e3a8
80e3a8
%changelog
8e9f47
* Sat Sep 14 2019 Paul W. Frields <stickster@gmail.com> - 0.9-1
8e9f47
- Update to upstream 0.9, now Python 3 only
8e9f47
9cdd4d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-14
9cdd4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9cdd4d
c11806
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-13
c11806
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c11806
c1d812
* Wed Jul 25 2018 Paul W. Frields <stickster@gmail.com> - 0.1.10-12
c1d812
- Fix scriptlets for Python 2
c1d812
d5fbac
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-11
d5fbac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d5fbac
60c031
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-10
60c031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
60c031
236f48
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.10-9
236f48
- Remove obsolete scriptlets
236f48
d859ed
* Fri Jan 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.1.10-8
d859ed
- Update Python 2 dependency declarations to new packaging standards
d859ed
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
d859ed
65a928
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-7
65a928
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
65a928
f6f007
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-6
f6f007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f6f007
a9bf2e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-5
a9bf2e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a9bf2e
d04bf1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-4
d04bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d04bf1
584331
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-3
584331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
584331
58b76a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-2
58b76a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
58b76a
1b7532
* Sat Feb  8 2014 Paul W. Frields <stickster@gmail.com> - 0.1.10-1
1b7532
- Update to upstream 0.1.10
1b7532
bb7b7b
* Fri Sep 20 2013 Paul W. Frields <stickster@gmail.com> - 0.1.9-5
bb7b7b
- Updated translations from upstream
bb7b7b
7e41bb
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-4
7e41bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7e41bb
7b245a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-3
7b245a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7b245a
47b359
* Fri Dec 14 2012 Paul W. Frields <stickster@gmail.com> - 0.1.9-2
47b359
- Fix missing BR: gettext
47b359
de26e5
* Thu Dec 13 2012 Paul W. Frields <stickster@gmail.com> - 0.1.9-1
de26e5
- Update to upstream 0.1.9
de26e5
573ab7
* Mon Aug  6 2012 Paul W. Frields <stickster@gmail.com> - 0.1.8.1-6
573ab7
- Fix missing README doc
573ab7
ade55f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8.1-5
ade55f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ade55f
4c8f9a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8.1-4
4c8f9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4c8f9a
4b6e87
* Sat Mar 26 2011 Paul W. Frields <stickster@gmail.com> - 0.1.8.1-3
4b6e87
- Fix missing Requires (#689295)
4b6e87
4024fa
* Sat Mar 26 2011 Paul W. Frields <stickster@gmail.com> - 0.1.8.1-2
4b6e87
- Fix icon setting in .desktop file (#689419)
4024fa
3f7ca6
* Wed Mar 16 2011 Paul W. Frields <stickster@gmail.com> - 0.1.8.1-1
3f7ca6
- Update to upstream 0.1.8.1
3f7ca6
7d68fa
* Wed Mar 16 2011 Paul W. Frields <stickster@gmail.com> - 0.1.8-1
7d68fa
- Update to upstream 0.1.8
7d68fa
a0a262
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-3
a0a262
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a0a262
87a1b2
* Sun Jan 16 2011 Paul W. Frields <stickster@gmail.com> - 0.1.7-2
87a1b2
- Fix missing package requirement (#669913)
87a1b2
2bcb79
* Sun Dec 19 2010 Paul W. Frields <stickster@gmail.com> - 0.1.7-1
2bcb79
- Update to upstream 0.1.7
2bcb79
- Fix scriptlets to update icon cache
2bcb79
4bb8be
* Fri Jul 30 2010 Paul W. Frields <stickster@gmail.com> - 0.1.6-3
4bb8be
- Bump release for Python 2.7 rebuild
4bb8be
8d5eb6
* Thu Jun 10 2010 Paul W. Frields <stickster@gmail.com> - 0.1.6-2
8d5eb6
- Fix missing dependency (#602593)
8d5eb6
0461f7
* Thu May  6 2010 Paul W. Frields <stickster@gmail.com> - 0.1.6-1
0461f7
- New upstream 0.1.6
0461f7
80e3a8
* Wed Mar 31 2010 Paul W. Frields <stickster@gmail.com> - 0.1.5-1
80e3a8
- New upstream 0.1.5, fixes desktop entry file
80e3a8
80e3a8
* Sat Feb 20 2010 Paul W. Frields <stickster@gmail.com> - 0.1.4-1
80e3a8
- Initial RPM release
80e3a8