[yarock] new patch for translation path
james abtahi
jam3s at fedoraproject.org
Sat May 10 11:50:44 UTC 2014
commit b66b871cec5909b665c4d2e4f6e184c96242b27c
Author: jam3s <jamescategory at gmail.com>
Date: Sat May 10 16:19:08 2014 +0430
new patch for translation path
.gitignore | 1 +
sources | 2 +-
yarock-0.9.67-translation_path.patch | 11 +++++++++++
yarock.spec | 22 ++++++++++++----------
4 files changed, 25 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c6266ae..84db9a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Yarock_0.9.64_11_source.tar.gz
+/Yarock_0.9.67_source.tar.gz
diff --git a/sources b/sources
index be149f2..60c38d0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8f063b3d60991427cabc94ab86d2628a Yarock_0.9.64_11_source.tar.gz
+957601ccafa55285d3494eae8943976b Yarock_0.9.67_source.tar.gz
diff --git a/yarock-0.9.67-translation_path.patch b/yarock-0.9.67-translation_path.patch
new file mode 100644
index 0000000..86270a7
--- /dev/null
+++ b/yarock-0.9.67-translation_path.patch
@@ -0,0 +1,11 @@
+--- src/CMakeLists.txt.orig 2014-05-10 13:53:01.219371795 +0430
++++ src/CMakeLists.txt 2014-05-10 13:58:07.608923608 +0430
+@@ -433,5 +433,5 @@
+ install( TARGETS yarock DESTINATION /usr/bin/ )
+
+ # -- install translations files
+-install(FILES ${YAROCK_QM_FILES} DESTINATION /usr/share/locale/yarock/)
+-
+\ No newline at end of file
++install(FILES ${YAROCK_QM_FILES} DESTINATION /usr/share/yarock/translations/)
++
diff --git a/yarock.spec b/yarock.spec
index e201198..cc2f542 100644
--- a/yarock.spec
+++ b/yarock.spec
@@ -1,14 +1,12 @@
Name: yarock
-Version: 0.9.64
-Release: 3%{?dist}
+Version: 0.9.67
+Release: 1%{?dist}
Summary: A lightweight, beautiful music player
License: GPLv3+
URL: https://launchpad.net/yarock
-Source0: https://launchpad.net/yarock/trunk/0.9.64/+download/Yarock_%{version}_11_source.tar.gz
-# Prevent installation in /usr/local directory - sent to upstream on 2013-12-01
-Patch0: yarock-0.9.64-installationpath.patch
-# Prevent using bundled codes - sent to upstream on 2013-12-01
-Patch1: Yarock_0.9.64_11_source-system_libs.patch
+Source0: https://launchpad.net/yarock/trunk/%{version}/+download/Yarock_%{version}_source.tar.gz
+# Fix translation files path - sent to upstream but was ignored
+Patch0: yarock-0.9.67-translation_path.patch
BuildRequires: cmake >= 2.8.0
BuildRequires: qt-devel >= 4.7.0
BuildRequires: taglib-devel >= 1.6.2
@@ -27,9 +25,8 @@ Yarock is a music player designed to provide a clean,
simple and beautiful music collection based on album cover-art.
%prep
-%setup -q -n Yarock_%{version}_11_source
-%patch0 -p0 -b .installationpath
-%patch1 -p1 -b .system_libs
+%setup -q -n Yarock_%{version}_source
+%patch0 -p0 -b .translation_path
# Drop bundled stuff
pushd src3party
@@ -76,6 +73,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/%{name}/translations
%changelog
+* Sat May 10 2014 James Abtahi <jam3s at fedoraproject.com> 0.9.67-1
+- update for the latest version
+- the patch .system_libs by Rex Dieter was applied to upstream
+- the patch .installationpath was replaced by .translation_path
+
* Wed Dec 04 2013 James Abtahi <jamescategory at gmail.com> 0.9.64-3
- install translation files in {_datadir}/{name}/translations
More information about the scm-commits
mailing list