]>
Commit | Line | Data |
---|---|---|
3afc2154 | 1 | Summary: smplayer - mplayer frontend |
5df27f1d | 2 | Summary(pl.UTF-8): smplayer - nakładka na mplayera |
57e0a3eb | 3 | Name: smplayer |
84598926 | 4 | Version: 0.6.8 |
5 | Release: 1 | |
57e0a3eb | 6 | License: GPL |
7 | Group: X11/Applications | |
d79721a2 | 8 | Source0: http://dl.sourceforge.net/smplayer/%{name}-%{version}.tar.bz2 |
84598926 | 9 | # Source0-md5: 4465e060e6c1a254dcd9c8c4608e69eb |
57e0a3eb | 10 | URL: http://smplayer.sourceforge.net/ |
11 | BuildRequires: Qt3Support-devel | |
12 | BuildRequires: QtCore-devel | |
13 | BuildRequires: QtGui-devel | |
97a54c5c | 14 | BuildRequires: QtNetwork-devel |
bd3997e9 | 15 | BuildRequires: QtOpenGL-devel |
d54113b2 JB |
16 | BuildRequires: qt4-build >= 4.3.3-3 |
17 | BuildRequires: qt4-linguist >= 4.3.3-3 | |
18 | BuildRequires: qt4-qmake >= 4.3.3-3 | |
57e0a3eb | 19 | BuildRequires: rpmbuild(macros) >= 1.129 |
af77b1a1 | 20 | Requires: mplayer >= 3:1.0-5.rc2_svn27725.17 |
57e0a3eb | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
e660ba90 | 24 | SMPlayer intends to be a complete front-end for MPlayer, from basic |
25 | features like playing videos, DVDs, and VCDs to more advanced features | |
26 | like support for MPlayer filters and more. | |
57e0a3eb | 27 | |
e660ba90 | 28 | One of the most interesting features of SMPlayer: it remembers the |
29 | settings of all files you play. So you start to watch a movie but you | |
30 | have to leave... don't worry, when you open that movie again it will | |
31 | resume at the same point you left it, and with the same settings: | |
32 | audio track, subtitles, volume... | |
57e0a3eb | 33 | |
3afc2154 | 34 | %description -l pl.UTF-8 |
27eb52ea | 35 | SMPlayer stara się być kompletną nakładką na MPlayera, począwszy od |
36 | podstawowych funkcji jak odtwarzanie plików video, DVD i VCD kończąc | |
37 | na bardziej zaawansowanych opcjach jak obsługa filtrów MPlayera oraz | |
38 | wiele więcej. | |
3afc2154 | 39 | |
5df27f1d | 40 | Jedną z najciekawszych funkcji SMPlayera jest to, że zapamiętuje |
27eb52ea | 41 | ustawienia wszystkich plików jakie odgrywasz. Zaczynasz oglądać film, |
42 | ale musisz wyjść... nie martw się, kiedy odtworzysz film ponownie | |
43 | zacznie od momentu, w którym go wyłączyłeś i z tymi samymi | |
44 | ustawieniami jak: ścieżka dźwiękowa, napisy, głośność... | |
57e0a3eb | 45 | |
46 | %prep | |
d79721a2 | 47 | %setup -q |
57e0a3eb | 48 | |
49 | %build | |
62155311 KK |
50 | # fix: install only (not build source again) |
51 | %{__sed} -i 's,install: src.*,install:,' Makefile | |
52 | ||
475a6e91 | 53 | |
5df27f1d | 54 | cd src |
57e0a3eb | 55 | rm -f Makefile |
d54113b2 | 56 | qmake-qt4 |
416e65ec | 57 | %{__make} \ |
58 | THEMES_PATH=\\\"%{_datadir}/smplayer/themes\\\" \ | |
59 | TRANSLATION_PATH=\\\"%{_datadir}/smplayer/translations/\\\" | |
60 | ||
475a6e91 ER |
61 | # " - for vim |
62 | ||
d54113b2 | 63 | lrelease-qt4 smplayer.pro |
97a54c5c | 64 | |
57e0a3eb | 65 | %install |
66 | rm -rf $RPM_BUILD_ROOT | |
475a6e91 | 67 | install -d $RPM_BUILD_ROOT%{_datadir}/smplayer/themes |
57e0a3eb | 68 | |
69 | %{__make} install \ | |
97a54c5c | 70 | PREFIX=$RPM_BUILD_ROOT%{_prefix} |
71 | ||
1a4ec24b | 72 | rm -rf $RPM_BUILD_ROOT%{_docdir}/packages |
44f25f70 | 73 | |
57e0a3eb | 74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
c48d2d71 | 79 | %doc Changelog Not_so_obvious_things.txt Readme.txt |
859f0649 | 80 | %attr(755,root,root) %{_bindir}/smplayer |
1a4ec24b | 81 | %dir %{_datadir}/smplayer |
135c09a1 | 82 | %{_datadir}/smplayer/input.conf |
859f0649 | 83 | %dir %{_datadir}/smplayer/shortcuts |
84 | %{_datadir}/smplayer/shortcuts/default.keys | |
29a453b6 | 85 | %{_datadir}/smplayer/shortcuts/sda.keys |
475a6e91 | 86 | %dir %{_datadir}/smplayer/themes |
1a4ec24b | 87 | %dir %{_datadir}/smplayer/translations |
98001277 | 88 | %lang(ar) %{_datadir}/smplayer/translations/smplayer_ar_SY.qm |
601abfd0 | 89 | %lang(bg) %{_datadir}/smplayer/translations/smplayer_bg.qm |
d79721a2 | 90 | %lang(ca) %{_datadir}/smplayer/translations/smplayer_ca.qm |
bd2ac377 | 91 | %lang(cs) %{_datadir}/smplayer/translations/smplayer_cs.qm |
135c09a1 | 92 | %lang(de) %{_datadir}/smplayer/translations/smplayer_de.qm |
0bbe25d6 | 93 | %lang(en_US) %{_datadir}/smplayer/translations/smplayer_en_US.qm |
97a54c5c | 94 | %lang(el) %{_datadir}/smplayer/translations/smplayer_el_GR.qm |
135c09a1 | 95 | %lang(es) %{_datadir}/smplayer/translations/smplayer_es.qm |
d79721a2 | 96 | %lang(eu) %{_datadir}/smplayer/translations/smplayer_eu.qm |
97 | %lang(fi) %{_datadir}/smplayer/translations/smplayer_fi.qm | |
a6c5904c | 98 | %lang(fr) %{_datadir}/smplayer/translations/smplayer_fr.qm |
1fdf4212 | 99 | %lang(gl) %{_datadir}/smplayer/translations/smplayer_gl.qm |
fc392865 | 100 | %lang(hu) %{_datadir}/smplayer/translations/smplayer_hu.qm |
859f0649 | 101 | %lang(it) %{_datadir}/smplayer/translations/smplayer_it.qm |
601abfd0 | 102 | %lang(ja) %{_datadir}/smplayer/translations/smplayer_ja.qm |
1daecd62 | 103 | %lang(ka) %{_datadir}/smplayer/translations/smplayer_ka.qm |
d79721a2 | 104 | %lang(ko) %{_datadir}/smplayer/translations/smplayer_ko.qm |
29a453b6 | 105 | %lang(ku) %{_datadir}/smplayer/translations/smplayer_ku.qm |
d79721a2 | 106 | %lang(mk) %{_datadir}/smplayer/translations/smplayer_mk.qm |
601abfd0 | 107 | %lang(nl) %{_datadir}/smplayer/translations/smplayer_nl.qm |
7336cfb5 | 108 | %lang(pl) %{_datadir}/smplayer/translations/smplayer_pl.qm |
601abfd0 | 109 | %lang(pt_BR) %{_datadir}/smplayer/translations/smplayer_pt_BR.qm |
bc2c86cf | 110 | %lang(ro) %{_datadir}/smplayer/translations/smplayer_ro_RO.qm |
a6c5904c | 111 | %lang(ru) %{_datadir}/smplayer/translations/smplayer_ru_RU.qm |
601abfd0 | 112 | %lang(sk) %{_datadir}/smplayer/translations/smplayer_sk.qm |
ea3689e2 | 113 | %lang(sl) %{_datadir}/smplayer/translations/smplayer_sl_SI.qm |
c48d2d71 | 114 | %lang(sr) %{_datadir}/smplayer/translations/smplayer_sr.qm |
859f0649 | 115 | %lang(sv) %{_datadir}/smplayer/translations/smplayer_sv.qm |
4a487982 | 116 | %lang(tr) %{_datadir}/smplayer/translations/smplayer_tr.qm |
14279f29 | 117 | %lang(uk) %{_datadir}/smplayer/translations/smplayer_uk_UA.qm |
601abfd0 | 118 | %lang(zh_CN) %{_datadir}/smplayer/translations/smplayer_zh_CN.qm |
506a10d8 | 119 | %lang(zh_TW) %{_datadir}/smplayer/translations/smplayer_zh_TW.qm |
78f31403 JB |
120 | %{_desktopdir}/smplayer.desktop |
121 | %{_desktopdir}/smplayer_enqueue.desktop | |
122 | %{_iconsdir}/hicolor/*/apps/smplayer.png | |
123 | %{_mandir}/man1/smplayer.1* |