[pulsecaster] Update to 0.1.9 upstream (adds i18n/l10n)

Paul W. Frields pfrields at fedoraproject.org
Thu Dec 13 22:36:19 UTC 2012


commit de26e509b11e8401330f3088fca74cd05da46709
Author: Paul W. Frields <stickster at gmail.com>
Date:   Thu Dec 13 17:35:39 2012 -0500

    Update to 0.1.9 upstream (adds i18n/l10n)

 .gitignore       |    1 +
 pulsecaster.spec |   25 ++++++++++++++++---------
 sources          |    2 +-
 3 files changed, 18 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8bd7db6..4fde81d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ pulsecaster-0.1.6.tar.gz
 /pulsecaster-0.1.7.tar.gz
 pulsecaster-0.1.8.tar.gz
 /pulsecaster-0.1.8.1.tar.gz
+/pulsecaster-0.1.9.tar.gz
diff --git a/pulsecaster.spec b/pulsecaster.spec
index 369ff61..094badc 100644
--- a/pulsecaster.spec
+++ b/pulsecaster.spec
@@ -1,16 +1,14 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           pulsecaster
-Version:        0.1.8.1
-Release:        6%{?dist}
+Version:        0.1.9
+Release:        1%{?dist}
 Summary:        A PulseAudio-based podcast recorder
 
 Group:          Development/Languages
 License:        GPLv3+
 URL:            http://fedorahosted.org/pulsecaster
 Source0:        http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
-# Fixed upstream: changeset 611fad9014e19bc53b7896ec016af9b847aeb482
-Patch0:         desktop-icon.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -18,10 +16,9 @@ BuildRequires:  python-devel, python-setuptools
 BuildRequires:  desktop-file-utils
 
 Requires:       pulseaudio-libs >= 0.9.15
-Requires:       pygtk2 >= 2.14
-Requires:       dbus-python >= 0.83
+Requires:       pygobject3
 Requires:       gstreamer-python >= 0.10
-Requires:       gnome-python2-libegg
+Requires:       dbus-python >= 0.83
 Requires:       gnome-python2-gconf
 
 %description
@@ -35,11 +32,14 @@ ways.
 
 %prep
 %setup -q
-%patch0 -p1 -b .desktop-icon
 
 
 %build
 %{__python} setup.py build
+for F in po/*.po ; do
+    L=`echo $F | %{__sed} 's at po/\([^\.]*\).po@\1@'`
+    msgfmt -o po/$L.mo $F
+done
 
 
 %install
@@ -48,6 +48,10 @@ rm -rf $RPM_BUILD_ROOT
 desktop-file-install \
     --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
     %{name}.desktop
+for D in ${RPM_BUILD_ROOT}%{_datadir}/locale/* ; do
+    mv ${D}/LC_MESSAGES/*.mo ${D}/LC_MESSAGES/%{name}.mo
+done
+%find_lang %{name}
 
  
 %clean
@@ -67,7 +71,7 @@ fi
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS README COPYING TODO
 %{python_sitelib}/*
@@ -78,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Thu Dec 13 2012 Paul W. Frields <stickster at gmail.com> - 0.1.9-1
+- Update to upstream 0.1.9
+
 * Mon Aug  6 2012 Paul W. Frields <stickster at gmail.com> - 0.1.8.1-6
 - Fix missing README doc
 
diff --git a/sources b/sources
index 172d1b6..efa4e98 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e3f8afad0259e85005121da441850d0b  pulsecaster-0.1.8.1.tar.gz
+601f270bd56fa066015aeac8ec3908d0  pulsecaster-0.1.9.tar.gz


More information about the scm-commits mailing list