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