[176] | 1 | Name: smplayer
|
---|
[181] | 2 | Version: 16.8.0
|
---|
| 3 | %global smplayer_themes_ver 16.6.0
|
---|
[176] | 4 | %global smplayer_skins_ver 15.2.0
|
---|
| 5 | Release: 1%{?dist}
|
---|
| 6 | Summary: A great media player
|
---|
[112] | 7 |
|
---|
| 8 | Group: Applications/Multimedia
|
---|
[176] | 9 | License: GPL-2.0+
|
---|
[112] | 10 | URL: http://smplayer.sourceforge.net/
|
---|
[176] | 11 | Source0: http://downloads.sourceforge.net/smplayer/smplayer-%{version}.tar.bz2
|
---|
| 12 | Source3: http://downloads.sourceforge.net/smplayer/smplayer-themes-%{smplayer_themes_ver}.tar.bz2
|
---|
| 13 | Source4: http://downloads.sourceforge.net/smplayer/smplayer-skins-%{smplayer_skins_ver}.tar.bz2
|
---|
[112] | 14 |
|
---|
[176] | 15 | %if 0%{?suse_version}
|
---|
| 16 | BuildRequires: hicolor-icon-theme
|
---|
[181] | 17 | BuildRequires: libqt5-qttools-devel
|
---|
| 18 | BuildRequires: libQt5Gui-private-headers-devel
|
---|
[176] | 19 | %else
|
---|
[181] | 20 | BuildRequires: qt5-qtbase-devel
|
---|
| 21 | BuildRequires: qt5-qttools-devel
|
---|
[176] | 22 | %endif
|
---|
| 23 | BuildRequires: desktop-file-utils
|
---|
| 24 | BuildRequires: gcc-c++
|
---|
[181] | 25 | BuildRequires: pkgconfig(Qt5Concurrent)
|
---|
| 26 | BuildRequires: pkgconfig(Qt5Core)
|
---|
| 27 | BuildRequires: pkgconfig(Qt5DBus)
|
---|
| 28 | BuildRequires: pkgconfig(Qt5Gui)
|
---|
| 29 | BuildRequires: pkgconfig(Qt5Network)
|
---|
| 30 | BuildRequires: pkgconfig(Qt5PrintSupport)
|
---|
| 31 | BuildRequires: pkgconfig(Qt5Script)
|
---|
| 32 | BuildRequires: pkgconfig(Qt5Sql)
|
---|
| 33 | BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
---|
| 34 | BuildRequires: pkgconfig(Qt5Widgets)
|
---|
| 35 | BuildRequires: pkgconfig(Qt5Xml)
|
---|
[112] | 36 |
|
---|
[181] | 37 | Requires: mpv
|
---|
[176] | 38 | %{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
|
---|
[112] | 39 |
|
---|
| 40 | %description
|
---|
[176] | 41 | SMPlayer is a graphical user interface (GUI) for the award-winning mplayer
|
---|
| 42 | and also for mpv. But apart from providing access for the most common
|
---|
| 43 | and useful options of mplayer and mpv, SMPlayer adds other interesting features
|
---|
| 44 | like the possibility to play Youtube videos or search and download subtitles.
|
---|
| 45 | One of the main features is the ability to remember the state of a
|
---|
| 46 | played file, so when you play it later it will be resumed at the same point
|
---|
| 47 | and with the same settings.
|
---|
[112] | 48 |
|
---|
| 49 | %prep
|
---|
[176] | 50 | %setup -a3 -a4 -qn %{name}-%{version}
|
---|
[112] | 51 |
|
---|
[176] | 52 | # correction for wrong-file-end-of-line-encoding
|
---|
| 53 | %{__sed} -i 's/\r//' *.txt
|
---|
| 54 | # fix files which are not UTF-8
|
---|
[181] | 55 | iconv -f Latin1 -t UTF-8 -o Changelog.utf8 Changelog
|
---|
[176] | 56 | mv Changelog.utf8 Changelog
|
---|
| 57 |
|
---|
[181] | 58 | # change rcc binary
|
---|
| 59 | %{__sed} -e 's/rcc -binary/rcc-qt5 -binary/' -i smplayer-themes-%{smplayer_themes_ver}/themes/Makefile
|
---|
| 60 | %{__sed} -e 's/rcc -binary/rcc-qt5 -binary/' -i smplayer-skins-%{smplayer_skins_ver}/themes/Makefile
|
---|
| 61 |
|
---|
[112] | 62 | %build
|
---|
[176] | 63 | make \
|
---|
[181] | 64 | QMAKE=%{_bindir}/qmake-qt5 \
|
---|
| 65 | LRELEASE=%{_bindir}/lrelease-qt5 \
|
---|
[176] | 66 | PREFIX=%{_prefix} \
|
---|
| 67 | DOC_PATH="\\\"%{_docdir}/%{name}/\\\"" \
|
---|
| 68 | QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
|
---|
[112] | 69 |
|
---|
[176] | 70 | #touch src/smplayer
|
---|
| 71 | #touch src/translations/smplayer_es.qm
|
---|
| 72 |
|
---|
| 73 | pushd smplayer-themes-%{smplayer_themes_ver}
|
---|
| 74 | make
|
---|
| 75 | popd
|
---|
| 76 |
|
---|
| 77 | pushd smplayer-skins-%{smplayer_skins_ver}
|
---|
| 78 | make
|
---|
| 79 | popd
|
---|
| 80 |
|
---|
[112] | 81 | %install
|
---|
[176] | 82 | make PREFIX=%{_prefix} DESTDIR=%{buildroot}/ DOC_PATH=%{_docdir}/%{name}/ install
|
---|
[112] | 83 |
|
---|
[176] | 84 | pushd smplayer-themes-%{smplayer_themes_ver}
|
---|
| 85 | make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
|
---|
| 86 | popd
|
---|
[112] | 87 |
|
---|
[176] | 88 | pushd smplayer-skins-%{smplayer_skins_ver}
|
---|
| 89 | make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
|
---|
| 90 | popd
|
---|
| 91 |
|
---|
| 92 | %post
|
---|
| 93 | touch --no-create %{_datadir}/icons/hicolor
|
---|
| 94 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
---|
| 95 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
---|
| 96 | fi
|
---|
| 97 | update-desktop-database &> /dev/null || :
|
---|
| 98 |
|
---|
| 99 | %postun
|
---|
| 100 | touch --no-create %{_datadir}/icons/hicolor
|
---|
| 101 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
---|
| 102 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
---|
| 103 | fi
|
---|
| 104 | update-desktop-database &> /dev/null || :
|
---|
| 105 |
|
---|
[112] | 106 | %files
|
---|
[176] | 107 | %defattr(-,root,root)
|
---|
| 108 | %{_bindir}/smplayer
|
---|
| 109 | %{_datadir}/applications/*.desktop
|
---|
| 110 | %dir %{_datadir}/icons/hicolor/*/
|
---|
| 111 | %dir %{_datadir}/icons/hicolor/*/apps/
|
---|
| 112 | %{_datadir}/icons/hicolor/*/apps/%{name}.*
|
---|
| 113 | %{_datadir}/smplayer/
|
---|
| 114 | %{_mandir}/man1/smplayer.1.gz
|
---|
| 115 | %{_docdir}/%{name}/
|
---|
[112] | 116 |
|
---|
| 117 | %changelog
|
---|
[176] | 118 | * Thu Feb 25 2016 Ricardo Villalba <rvm@users.sourceforge.net> - 16.1.0
|
---|
| 119 | - Remove smtube
|
---|
| 120 | - Remove some patches
|
---|
| 121 | - Install smplayer-themes and smplayer-skins
|
---|
| 122 | - Build with opensuse too
|
---|
| 123 |
|
---|
| 124 | * Sun Jan 17 2016 Sérgio Basto <sergio@serjux.com> - 16.1.0-1
|
---|
| 125 | - Update 16.1.0
|
---|
| 126 |
|
---|
| 127 | * Sun Dec 06 2015 Sérgio Basto <sergio@serjux.com> - 15.11.0-1
|
---|
| 128 | - Update smplayer and smtube 15.11.0
|
---|
| 129 |
|
---|
| 130 | * Fri Oct 02 2015 Sérgio Basto <sergio@serjux.com> - 15.9.0-1
|
---|
| 131 | - Update smplayer to 15.9.0 and smtube to 15.9.0 .
|
---|
| 132 |
|
---|
| 133 | * Thu Aug 20 2015 Sérgio Basto <sergio@serjux.com> - 14.9.0.6994-2
|
---|
| 134 | - Update smtube to 15.8.0 .
|
---|
| 135 | - Removed version of package from _docdir directory (following the guidelines).
|
---|
| 136 |
|
---|
| 137 | * Wed Jun 17 2015 Sérgio Basto <sergio@serjux.com> - 14.9.0.6994-1
|
---|
| 138 | - Update to 4.9.0.6994 .
|
---|
| 139 | - Drop smplayer-14.9.0-get_svn_revision.patch .
|
---|
| 140 |
|
---|
| 141 | * Mon Jun 08 2015 Sérgio Basto <sergio@serjux.com> - 14.9.0.6966-3
|
---|
| 142 | - Added smplayer-14.9.0-get_svn_revision.patch, I think is better have a
|
---|
| 143 | hardcore version than (svn r0UNKNOWN)
|
---|
| 144 |
|
---|
| 145 | * Sun Jun 07 2015 Sérgio Basto <sergio@serjux.com> - 14.9.0.6966-2
|
---|
| 146 | - Update to smtube-15.5.17
|
---|
| 147 |
|
---|
| 148 | * Sat Jun 06 2015 Sérgio Basto <sergio@serjux.com> - 14.9.0.6966-1
|
---|
| 149 | - Update to smplayer-14.9.0.6966 and smtube-15.5.10
|
---|
| 150 | - Fix warning "The desktop entry file "ServiceMenus/smplayer_enqueue.desktop
|
---|
| 151 | has an empty mimetype! " .
|
---|
| 152 | - Rebase patches 2 and 3 .
|
---|
| 153 |
|
---|
| 154 | * Wed Mar 25 2015 Sérgio Basto <sergio@serjux.com> - 14.9.0.6690-1
|
---|
| 155 | - Update smplayer to smplayer-14.9.0.6690 and smtube to smtube-15.1.26
|
---|
| 156 |
|
---|
| 157 | * Mon Sep 15 2014 Sérgio Basto <sergio@serjux.com> - 14.9.0-1
|
---|
| 158 | - New upstream releases smplayer 14.9.0 and smtube 14.8.0
|
---|
| 159 | - Rebase patches 1 and 3 .
|
---|
| 160 |
|
---|
| 161 | * Mon Sep 01 2014 Sérgio Basto <sergio@serjux.com> - 14.3.0-2
|
---|
| 162 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
---|
| 163 |
|
---|
| 164 | * Fri Apr 04 2014 Sérgio Basto <sergio@serjux.com> - 14.3.0-1
|
---|
| 165 | - New upstream release, Previous version was 0.8.6, this new release is 14.3...
|
---|
| 166 | What happened? Now the version is just the year and month of the release.
|
---|
| 167 | - Patches refactor.
|
---|
| 168 |
|
---|
| 169 | * Tue Oct 01 2013 Sérgio Basto <sergio@serjux.com> - 0.8.6-1
|
---|
| 170 | - Update smplayer to 0.8.6 and smtube to 1.8
|
---|
| 171 |
|
---|
| 172 | * Mon May 27 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.5-2
|
---|
| 173 | - Rebuilt for x264/FFmpeg
|
---|
| 174 |
|
---|
| 175 | * Sat May 11 2013 Sérgio Basto <sergio@serjux.com> - 0.8.5-1
|
---|
| 176 | - Update smplayer to 0.8.5 and smtube to 1.7
|
---|
| 177 | - Fix patches smplayer-0.8.3-smtube-system-qtsingleapplication and
|
---|
| 178 | smplayer-0.8.1-system-qtsingleapplication.patch for 0.8.5 and smtube 1.7
|
---|
| 179 |
|
---|
| 180 | * Mon Mar 25 2013 Sérgio Basto <sergio@serjux.com> - 0.8.4-2
|
---|
| 181 | - New tag
|
---|
| 182 |
|
---|
| 183 | * Mon Mar 25 2013 Sérgio Basto <sergio@serjux.com> - 0.8.4-1
|
---|
| 184 | - New upsteam release.
|
---|
| 185 | - Drop "updates *.desktop with video/webm;" on patch smplayer-0.8.3-desktop-files.patch.
|
---|
| 186 | - Fix patch smplayer-0.8.3-smtube-system-qtsingleapplication.patch
|
---|
| 187 | - Fix dates on changelog specs.
|
---|
| 188 |
|
---|
| 189 | * Thu Jan 10 2013 Sérgio Basto <sergio@serjux.com> - 0.8.3-2
|
---|
| 190 | - bug #2635, Update *.desktop with video/webm; mimetype support, as upstream do in svn r5005.
|
---|
| 191 |
|
---|
| 192 | * Mon Dec 24 2012 Sérgio Basto <sergio@serjux.com> - 0.8.3-1
|
---|
| 193 | - New updates to smplayer-0.8.3 and smtube-1.5 . Fix for Youtube playback.
|
---|
| 194 |
|
---|
| 195 | * Mon Dec 17 2012 Sérgio Basto <sergio@serjux.com> - 0.8.2.1-1
|
---|
| 196 | - New updates to smplayer-0.8.2.1 and smtube-1.4 .
|
---|
| 197 |
|
---|
| 198 | * Sun Nov 25 2012 Sérgio Basto <sergio@serjux.com> - 0.8.2-3
|
---|
| 199 | - now smtube new source b372bd396c068aa28798bf2b5385bf59 smtube-1.3.tar.bz2 .
|
---|
| 200 |
|
---|
| 201 | * Sun Nov 25 2012 Sérgio Basto <sergio@serjux.com> - 0.8.2-2
|
---|
| 202 | - 0.8.2 new source 0dee3f9a4f0d87d37455efc800f9bba7 smplayer-0.8.2.tar.bz2 this one has some minor
|
---|
| 203 | fixes ... , smplayer-0.8.2.tar.bz2 was announced at 2012-11-24.
|
---|
| 204 |
|
---|
| 205 | * Thu Nov 22 2012 Sérgio Basto <sergio@serjux.com> - 0.8.2-1
|
---|
| 206 | - New upsteam release.
|
---|
| 207 |
|
---|
| 208 | * Thu Sep 27 2012 Sérgio Basto <sergio@serjux.com> - 0.8.1-2
|
---|
| 209 | - fix rfbz #2488
|
---|
| 210 |
|
---|
| 211 | * Thu Sep 20 2012 Sérgio Basto <sergio@serjux.com> - 0.8.1-1
|
---|
| 212 | - New upsteam release.
|
---|
| 213 | - rfbz #2113, all done by Nucleo.
|
---|
| 214 |
|
---|
| 215 | * Sat Apr 28 2012 Sérgio Basto <sergio@serjux.com> - 0.8.0-2
|
---|
| 216 | - fix smtube translations.
|
---|
| 217 | - drop support for Fedora < 9 and EPEL 5, since we need kde4.
|
---|
| 218 |
|
---|
| 219 | * Sat Apr 28 2012 Sérgio Basto <sergio@serjux.com> - 0.8.0-1
|
---|
| 220 | - New release
|
---|
| 221 | - add smtube support
|
---|
| 222 | - use system qtsingleapplication
|
---|
| 223 | - a little review with: fedora-review -n smplayer --mock-config fedora-16-i386
|
---|
| 224 |
|
---|
| 225 | * Sat Mar 24 2012 Sérgio Basto <sergio@serjux.com> - 0.7.1-1
|
---|
| 226 | - New upstream version: 0.7.1, changelog says "This version includes some bug fixes,
|
---|
| 227 | some of them important. It's highly recommended to update."
|
---|
| 228 | - Remove some bundle sources.
|
---|
| 229 | - Small fixes in patches to fit on 0.7.1.
|
---|
| 230 |
|
---|
| 231 | * Sat Mar 24 2012 Sérgio Basto <sergio@serjux.com> - 0.7.0-3
|
---|
| 232 | - Add a patch to remove bundled quazip shlibs and Requires kde-filesystem, bug rfbz #1164
|
---|
| 233 | - Removed tag BuildRoot.
|
---|
| 234 |
|
---|
| 235 | * Fri Mar 02 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.7.0-2
|
---|
| 236 | - Rebuilt for c++ ABI breakage
|
---|
| 237 |
|
---|
| 238 | * Tue Feb 7 2012 Sérgio Basto <sergio@serjux.com> - 0.7.0-1
|
---|
| 239 | - new upstream version: 0.7.0
|
---|
| 240 |
|
---|
| 241 | * Mon May 24 2010 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.9-2
|
---|
| 242 | - #1217: fix regression in Thunar
|
---|
| 243 |
|
---|
| 244 | * Sat Apr 24 2010 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.9-1
|
---|
| 245 | - new upstream version: 0.6.9
|
---|
| 246 |
|
---|
| 247 | * Sun Jun 28 2009 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.8-1
|
---|
| 248 | - new upstream version: 0.6.8
|
---|
| 249 |
|
---|
| 250 | * Sun Mar 29 2009 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.7-1
|
---|
| 251 | - new upstream version: 0.6.7
|
---|
| 252 |
|
---|
| 253 | * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.6.6-2
|
---|
| 254 | - rebuild for new F11 features
|
---|
| 255 |
|
---|
| 256 | * Sat Jan 10 2009 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.6-1
|
---|
| 257 | - new upstream version: 0.6.6
|
---|
| 258 |
|
---|
| 259 | * Thu Nov 13 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.5.1-1
|
---|
| 260 | - new upstream version: 0.6.5.1
|
---|
| 261 |
|
---|
| 262 | * Wed Oct 29 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.4-1
|
---|
| 263 | - new upstream version: 0.6.4
|
---|
| 264 |
|
---|
| 265 | * Mon Sep 29 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.3-1
|
---|
| 266 | - new upstream version: 0.6.3
|
---|
| 267 |
|
---|
| 268 | * Fri Aug 15 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.2-1
|
---|
| 269 | - new upstream version: 0.6.2
|
---|
| 270 | - add servicemenus depending on the KDE version
|
---|
| 271 |
|
---|
| 272 | * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.1-4
|
---|
| 273 | - rebuild for buildsys cflags issue
|
---|
| 274 |
|
---|
| 275 | * Tue Jul 22 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.1-3
|
---|
| 276 | - import into rpmfusion
|
---|
| 277 |
|
---|
| 278 | * Tue Jul 08 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.1-2
|
---|
| 279 | - fix packaging of FAQs
|
---|
| 280 |
|
---|
| 281 | * Tue Jun 17 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.1-1
|
---|
| 282 | - update to latest upstream version
|
---|
| 283 |
|
---|
| 284 | * Sun Feb 24 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.0-0.3.rc2
|
---|
| 285 | - add %%{?_smp_mflags} in Makefile to really use it
|
---|
| 286 | - finally fix usage of macros
|
---|
| 287 | - mode 0644 for desktop-file isn't needed anymore
|
---|
| 288 |
|
---|
| 289 | * Sat Feb 23 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.0-0.2.rc2
|
---|
| 290 | - Update %%post and %%postun scriplets
|
---|
| 291 | - use %%{?_smp_mflags} in make
|
---|
| 292 | - change vendor to rpmfusion in desktop-file-install
|
---|
| 293 | - some minor spec cleanups
|
---|
| 294 |
|
---|
| 295 | * Thu Feb 14 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.0-0.1.rc2
|
---|
| 296 | - new upstream version: 0.6.0rc2
|
---|
| 297 |
|
---|
| 298 | * Tue Feb 12 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.0-0.1.rc1
|
---|
| 299 | - new upstream version: 0.6.0rc1
|
---|
| 300 | - added docs: Changelog Copying.txt Readme.txt Release_notes.txt
|
---|
| 301 | - fix path of %%docdir in Makefile
|
---|
| 302 |
|
---|
| 303 | * Tue Dec 18 2007 Sebastian Vahl <fedora@deadbabylon.de> - 0.5.62-1
|
---|
| 304 | - new version: 0.5.62
|
---|
| 305 | - specify license as GPLv2+
|
---|
| 306 |
|
---|
| 307 | * Thu Sep 20 2007 Sebastian Vahl <fedora@deadbabylon.de> - 0.5.60-1
|
---|
| 308 | - Update to development version of qt4
|
---|
| 309 |
|
---|
| 310 | * Thu Sep 20 2007 Sebastian Vahl <fedora@deadbabylon.de> - 0.5.21-1
|
---|
| 311 | - new upstream version: 0.5.21
|
---|
| 312 | - don't add category "Multimedia" to desktop-file
|
---|
| 313 | - correct url of Source0
|
---|
| 314 |
|
---|
| 315 | * Sun Jul 29 2007 Sebastian Vahl <fedora@deadbabylon.de> - 0.5.20-1
|
---|
| 316 | - new upstream version: 0.5.20
|
---|
| 317 |
|
---|
| 318 | * Mon Jun 18 2007 Sebastian Vahl <fedora@deadbabylon.de> - 0.5.14-1
|
---|
| 319 | - new upstream version: 0.5.14
|
---|
| 320 |
|
---|
| 321 | * Thu Jun 14 2007 Sebastian Vahl <fedora@deadbabylon.de> - 0.5.7-1
|
---|
| 322 | - Initial Release
|
---|