[bino] Add requires hicolor-icon-theme (rfbz#4191)
by Leigh Scott
commit 91632f97cbd7d15263502cedb695da3ff30650f9
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Aug 16 08:23:51 2016 +0100
Add requires hicolor-icon-theme (rfbz#4191)
bino.spec | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/bino.spec b/bino.spec
index 4c95511..f146d51 100644
--- a/bino.spec
+++ b/bino.spec
@@ -1,18 +1,19 @@
-Name: bino
+Name: bino
Version: 1.6.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: 3D video player
-Group: System Environment/Base
+Group: System Environment/Base
License: GPLv3+
-URL: http://bino3d.org
+URL: http://bino3d.org
Source0: http://download.savannah.nongnu.org/releases-noredirect/bino/%{name}-%{ve...
Patch0: ffmpeg_2.9.patch
# No libquadmath-devel on ARM
ExcludeArch: armhfp armv7hl
-Requires(post): /sbin/install-info
+Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
+Requires: hicolor-icon-theme
BuildRequires: ffmpeg-devel
BuildRequires: glew-devel
@@ -32,8 +33,7 @@ and it can be used for powerwalls, virtual reality installations and other
multi-projector setups.
%prep
-%setup -q
-%patch0 -p1
+%autosetup
# Removal of unneeded stuff
rm -rf pkg/macosx/*
@@ -63,6 +63,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/bino.desktop
%{_infodir}/dir 2>/dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
%preun
if [ $1 -eq 0 ]; then
@@ -73,6 +74,7 @@ fi
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+ /usr/bin/update-desktop-database &> /dev/null || :
fi
%posttrans
@@ -88,6 +90,10 @@ fi
%{_datadir}/icons/hicolor/*/apps/*
%changelog
+* Tue Aug 16 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 1.6.3-3
+- Add requires hicolor-icon-theme (rfbz#4191)
+- Add mime scriptlets
+
* Sat Jul 30 2016 Julian Sikorski <belegdol(a)fedoraproject.org> - 1.6.3-2
- Rebuilt for ffmpeg-3.1.1
8 years, 3 months
[smplayer/f23] Fix translation.
by Sérgio M. Basto
Summary of changes:
b765595... Fix translation. (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 3 months
[smplayer/f24] Fix translation.
by Sérgio M. Basto
Summary of changes:
b765595... Fix translation. (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 3 months
[smplayer/f25] Fix translation.
by Sérgio M. Basto
Summary of changes:
b765595... Fix translation. (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 3 months
[smplayer] Fix translation.
by Sérgio M. Basto
commit b765595b3e032a2007fb8dad119c7cb1400c8f53
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Aug 16 07:34:22 2016 +0100
Fix translation.
smplayer.spec | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/smplayer.spec b/smplayer.spec
index 0fd9ffb..0b0ae94 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -3,7 +3,7 @@ Version: 16.8.0
%global smtube_ver 16.7.2
%global smplayer_themes_ver 16.6.0
%global smplayer_skins_ver 15.2.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A graphical frontend for mplayer
Group: Applications/Multimedia
@@ -108,14 +108,17 @@ mv Changelog.utf8 Changelog
%build
pushd src
%{qmake_qt5}
- %make_build V=1 PREFIX=%{_prefix}
+ %make_build DATA_PATH=\\\"%{_datadir}/%{name}\\\" \
+ TRANSLATION_PATH=\\\"%{_datadir}/%{name}/translations\\\" \
+ DOC_PATH=\\\"%{_docdir}/%{name}\\\" \
+ THEMES_PATH=\\\"%{_datadir}/%{name}/themes\\\" \
+ SHORTCUTS_PATH=\\\"%{_datadir}/%{name}/shortcuts\\\"
%{_bindir}/lrelease-qt5 %{name}.pro
popd
pushd smtube-%{smtube_ver}/src
-# sed -i 's|smtube/translations|smplayer/translations|' Makefile
%{qmake_qt5}
- %make_build V=1 PREFIX=%{_prefix}
+ %make_build TRANSLATION_PATH=\\\"%{_datadir}/smtube/translations\\\"
%{_bindir}/lrelease-qt5 smtube.pro
popd
@@ -193,6 +196,9 @@ fi
%{_datadir}/smplayer/themes/
%changelog
+* Tue Aug 16 2016 Sérgio Basto <sergio(a)serjux.com> - 16.8.0-4
+- Fix translation.
+
* Tue Aug 16 2016 Sérgio Basto <sergio(a)serjux.com> - 16.8.0-3
- More reviews, with Vascom, rfbz #4187, fix cflags in builds
8 years, 3 months
[smplayer] More reviews, with Vascom, rfbz #4187, fix cflags in builds
by Sérgio M. Basto
commit 2c679434ac3882f806ed3647ab6435b76adc0cc3
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Aug 16 05:06:54 2016 +0100
More reviews, with Vascom, rfbz #4187, fix cflags in builds
smplayer.spec | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/smplayer.spec b/smplayer.spec
index d455393..0fd9ffb 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -3,7 +3,7 @@ Version: 16.8.0
%global smtube_ver 16.7.2
%global smplayer_themes_ver 16.6.0
%global smplayer_skins_ver 15.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A graphical frontend for mplayer
Group: Applications/Multimedia
@@ -106,12 +106,17 @@ mv Changelog.utf8 Changelog
%{__sed} -e 's/rcc -binary/rcc-qt5 -binary/' -i smplayer-skins-%{smplayer_skins_ver}/themes/Makefile
%build
-#{qmake_qt5} src
-%make_build QMAKE=%{_qt5_qmake} PREFIX=%{_prefix} LRELEASE=%{_bindir}/lrelease-qt5
+pushd src
+ %{qmake_qt5}
+ %make_build V=1 PREFIX=%{_prefix}
+ %{_bindir}/lrelease-qt5 %{name}.pro
+popd
-pushd smtube-%{smtube_ver}
+pushd smtube-%{smtube_ver}/src
# sed -i 's|smtube/translations|smplayer/translations|' Makefile
- %make_build QMAKE=%{_qt5_qmake} PREFIX=%{_prefix} LRELEASE=%{_bindir}/lrelease-qt5
+ %{qmake_qt5}
+ %make_build V=1 PREFIX=%{_prefix}
+ %{_bindir}/lrelease-qt5 smtube.pro
popd
pushd smplayer-themes-%{smplayer_themes_ver}
@@ -143,9 +148,7 @@ pushd smplayer-skins-%{smplayer_skins_ver}
popd
%check
-desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
-desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}_enqueue.desktop
-desktop-file-validate %{buildroot}%{_datadir}/applications/smtube.desktop
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%post
/usr/bin/update-desktop-database &> /dev/null || :
@@ -167,10 +170,10 @@ fi
%{_datadir}/applications/smplayer*.desktop
%{_datadir}/icons/hicolor/*/apps/smplayer.png
%{_datadir}/icons/hicolor/*/apps/smplayer.svg
-%{_datadir}/smplayer/
+%{_datadir}/smplayer
%exclude %{_datadir}/smplayer/themes/
-%{_mandir}/man1/smplayer.1.gz
-%{_docdir}/%{name}/
+%{_mandir}/man1/%{name}.1.*
+%{_docdir}/%{name}
%files -n smtube
%doc smtube-%{smtube_ver}/Changelog smtube-%{smtube_ver}/Readme.txt
@@ -190,6 +193,9 @@ fi
%{_datadir}/smplayer/themes/
%changelog
+* Tue Aug 16 2016 Sérgio Basto <sergio(a)serjux.com> - 16.8.0-3
+- More reviews, with Vascom, rfbz #4187, fix cflags in builds
+
* Tue Aug 09 2016 Sérgio Basto <sergio(a)serjux.com> - 16.8.0-2
- Recommends mplayer instead Requires, rfbz #4068
8 years, 3 months