added translations

x86_64: patch library hardcoded paths [release 0.4.0.r695-2mamba;Sun Sep 28 2014]
This commit is contained in:
Silvan Calarco 2024-01-05 17:38:58 +01:00
parent 73a468951c
commit 41ee56a8c1
2 changed files with 57 additions and 3 deletions

View File

@ -0,0 +1,24 @@
diff -Nru sayonara-player-r682.orig/src/Notification/NotificationPluginLoader.cpp sayonara-player-r682/src/Notification/NotificationPluginLoader.cpp
--- sayonara-player-r682.orig/src/Notification/NotificationPluginLoader.cpp 2013-04-03 16:59:47.000000000 +0200
+++ sayonara-player-r682/src/Notification/NotificationPluginLoader.cpp 2014-09-28 21:02:24.978811238 +0200
@@ -43,7 +43,7 @@
QString app_dir;
#ifdef Q_OS_UNIX
- app_dir = "/usr/lib/sayonara";
+ app_dir = "/usr/lib64/sayonara";
#else
app_dir = app->applicationDirPath();
#endif
diff -Nru sayonara-player-r682.orig/src/application.cpp sayonara-player-r682/src/application.cpp
--- sayonara-player-r682.orig/src/application.cpp 2013-07-09 19:01:00.000000000 +0200
+++ sayonara-player-r682/src/application.cpp 2014-09-28 21:01:55.935804046 +0200
@@ -136,7 +136,7 @@
QString dir;
#ifdef Q_OS_UNIX
- dir = "/usr/lib/sayonara";
+ dir = "/usr/lib64/sayonara";
#else
dir = app->applicationDirPath();
#endif

View File

@ -1,13 +1,23 @@
Name: sayonara-player
Version: 0.4.0.r695
Release: 1mamba
Release: 2mamba
Summary: A small, clear and fast audio player
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sayonara.luciocarreras.de/index.html
Source: http://sayonara-player.googlecode.com/files/sayonara-player-r695.tar.gz
Source: https://sayonara-player.googlecode.com/files/sayonara-player-r695.tar.gz
Source1: https://sayonara-player.googlecode.com/files/french_language_pack.tar.gz
Source2: https://sayonara-player.googlecode.com/files/russian_language_pack.tar.gz
Source3: https://sayonara-player.googlecode.com/files/hungarian_language_pack.tar.gz
Source4: https://sayonara-player.googlecode.com/files/mexican_language_pack.tar.gz
Source5: https://sayonara-player.googlecode.com/files/italian_language_pack.tar.gz
Source6: https://sayonara-player.googlecode.com/files/ukrainian_language_pack.tar.gz
Source7: https://sayonara-player.googlecode.com/files/brazil_language_pack.tar.gz
Source8: https://sayonara-player.googlecode.com/files/romanian_language_pack.tar.gz
Source9: https://sayonara-player.googlecode.com/files/czech_language_pack.tar.gz
Patch0: sayonara-0.4.0.695-x86_64-libdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -32,7 +42,10 @@ One of Sayonara's goals are intuitive and easy usablility never leading to the i
%debug_package
%prep
%setup -q -n %{name}-r682
%setup -q -n %{name}-r682 -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9
%ifarch x86_64
%patch0 -p1
%endif
%build
%cmake
@ -42,6 +55,19 @@ One of Sayonara's goals are intuitive and easy usablility never leading to the i
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
find . -name sayonara_lang_*.qm \
-exec install -D -m0644 {} %{buildroot}%{_datadir}/sayonara/translations/ \;
cp \
./Brazil/br.png \
./Ukrainian/ua.png \
./Romanian/ro.png \
./Hungarian/hu.png \
./Mexican/mx.png \
./Italian/it.png \
./Czech/cs.png \
%{buildroot}%{_datadir}/sayonara/translations/icons/
%ifarch x86_64
mv %{buildroot}%{_prefix}/lib %{buildroot}%{_prefix}/lib64
%endif
@ -68,5 +94,9 @@ install -D -m0755 ./src/GUI/libsayonara_gui.so %{buildroot}%{_libdir}/libsayonar
%doc MANUAL
%changelog
* Sun Sep 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0.r695-2mamba
- added translations
- x86_64: patch library hardcoded paths
* Thu Jul 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0.r695-1mamba
- package created by silvan using the webbuild interface