[pony] 0.4-7

Rex Dieter rdieter at fedoraproject.org
Thu Apr 25 18:31:45 UTC 2013


commit 1030ee301db59d4d3bb1904e414a508df6f5d00f
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Thu Apr 25 13:31:42 2013 -0500

    0.4-7
    
    - Add dependency python-pillow-qt (#953967)
    - use %find_lang --with-kde

 pony.spec |   23 ++++++++++-------------
 1 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/pony.spec b/pony.spec
index 8c881f1..5099c09 100644
--- a/pony.spec
+++ b/pony.spec
@@ -1,6 +1,6 @@
 Name:           pony
 Version:        0.4
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        An image manager
 
 Group:          Applications/Multimedia
@@ -19,14 +19,17 @@ BuildRequires:  gettext
 BuildRequires:  python-devel
 BuildRequires:  PyKDE4-devel
 
-
 %{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
 Requires: Django
 Requires: python-flickrapi
 Requires: pyexiv2
 Requires: PyKDE4
 Requires: PyQt4
+%if 0%{?fedora} > 18
+Requires: python-pillow-qt
+%else
 Requires: python-imaging
+%endif
 
 
 %description
@@ -53,16 +56,7 @@ rm -rf %{buildroot}
 
 make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
-#%find_lang %{name}
-HTML_DIR=$(kde4-config --expandvars --install html)
-if [ -d %{buildroot}${HTML_DIR} ]; then
-for lang_dir in %{buildroot}${HTML_DIR}/* ; do
-  if [ -d ${lang_dir} ]; then
-    lang=$(basename ${lang_dir})
-    echo "%lang(${lang}) ${HTML_DIR}/${lang}/%{name}/" >> %{name}.lang
-  fi
-done
-fi
+%find_lang %{name} --with-kde
 
 
 %check
@@ -89,7 +83,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 
 
 %files -f %{name}.lang
-#%files
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING
 %{_kde4_bindir}/pony
@@ -99,6 +92,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 
 
 %changelog
+* Thu Apr 25 2013 Rex Dieter <rdieter at fedoraproject.org> - 0.4-7
+- Add dependency python-pillow-qt (f19+, #953967)
+- use %%find_lang --with-kde
+
 * Mon Feb  4 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 0.4-6
 - Apply patch for python=pillow compatibility
 


More information about the scm-commits mailing list