X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=smplayer.spec;h=c2c0383d43592f99ae818530286c60859fd29d39;hb=a9a91ad77a8512018045aeee24c38bc550a7241f;hp=bd910741ce3410e28faa379c704097fdc3b3e13c;hpb=135c09a191acd73f79d6a47a352c12db1d1205e8;p=packages%2Fsmplayer.git diff --git a/smplayer.spec b/smplayer.spec index bd91074..c2c0383 100644 --- a/smplayer.spec +++ b/smplayer.spec @@ -1,12 +1,13 @@ -Summary: smplayer -Summary(pl.UTF-8): smplayer +Summary: smplayer - mplayer frontend +Summary(pl.UTF-8): smplayer - nakładka na mplayera Name: smplayer -Version: 0.2.26 +Version: 0.4.19 Release: 1 License: GPL Group: X11/Applications Source0: http://smplayer.sourceforge.net/download/%{name}-%{version}.tar.gz -# Source0-md5: 3af1fe4698f6286d2adc05de1593ce9f +# Source0-md5: 29571849bd8e8f87214761d45f217b55 +Patch0: %{name}-translations_path.patch URL: http://smplayer.sourceforge.net/ BuildRequires: Qt3Support-devel BuildRequires: QtCore-devel @@ -15,20 +16,38 @@ BuildRequires: kdelibs-devel >= 9:3.2.0 BuildRequires: qt4-build BuildRequires: qt4-qmake BuildRequires: rpmbuild(macros) >= 1.129 +Requires: mplayer BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -SMPlayer intends to be a complete front-end for MPlayer, from basic features like playing videos, DVDs, and VCDs to more advanced features like support for MPlayer filters and more. +SMPlayer intends to be a complete front-end for MPlayer, from basic +features like playing videos, DVDs, and VCDs to more advanced features +like support for MPlayer filters and more. -One of the most interesting features of SMPlayer: it remembers the settings of all files you play. So you start to watch a movie but you have to leave... don't worry, when you open that movie again it will resume at the same point you left it, and with the same settings: audio track, subtitles, volume... +One of the most interesting features of SMPlayer: it remembers the +settings of all files you play. So you start to watch a movie but you +have to leave... don't worry, when you open that movie again it will +resume at the same point you left it, and with the same settings: +audio track, subtitles, volume... -#%description -l pl.UTF-8 +%description -l pl.UTF-8 +SMPlayer stara się być kompletną nakładką na MPlayera, począwszy od +podstawowych funkcji jak odtwarzanie plików video, DVD i VCD kończąc +na bardziej zaawansowanych opcjach jak obsługa filtrów MPlayera oraz +wiele więcej. + +Jedną z najciekawszych funkcji SMPlayera jest to, że zapamiętuje +ustawienia wszystkich plików jakie odgrywasz. Zaczynasz oglądać film, +ale musisz wyjść... nie martw się, kiedy odtworzysz film ponownie +zacznie od momentu, w którym go wyłączyłeś i z tymi samymi +ustawieniami jak: ścieżka dźwiękowa, napisy, głośność... %prep %setup -q +%patch0 -p0 %build -cd src/ +cd src rm -f Makefile qt3to4 -alwaysOverwrite %{name}.pro qt4-qmake @@ -41,20 +60,35 @@ rm -rf $RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT%{_prefix}/ \ KDE_PREFIX=$RPM_BUILD_ROOT%{_prefix}/ \ CONF_PREFIX=$RPM_BUILD_ROOT%{_prefix}/ - +rm -rf $RPM_BUILD_ROOT%{_docdir}/packages %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc Changelog Not_so_obvious_things.txt README.txt %attr(755,root,root) %{_bindir}/* %{_desktopdir}/smplayer.desktop -%{_docdir}/packages/smplayer/Changelog -%{_docdir}/packages/smplayer/Copying.txt -%{_docdir}/packages/smplayer/Not_so_obvious_things.txt -%{_docdir}/packages/smplayer/README.txt %{_iconsdir}/hicolor/*/apps/smplayer.png +%dir %{_datadir}/smplayer %{_datadir}/smplayer/input.conf +%dir %{_datadir}/smplayer/translations +%lang(bg) %{_datadir}/smplayer/translations/smplayer_bg.qm +%lang(cs) %{_datadir}/smplayer/translations/smplayer_cs.qm %lang(de) %{_datadir}/smplayer/translations/smplayer_de.qm +%lang(en_US) %{_datadir}/smplayer/translations/smplayer_en_US.qm %lang(es) %{_datadir}/smplayer/translations/smplayer_es.qm +%lang(it) %{_datadir}/smplayer/translations/smplayer_it.qm +%lang(fr) %{_datadir}/smplayer/translations/smplayer_fr.qm +%lang(hu) %{_datadir}/smplayer/translations/smplayer_hu.qm +%lang(ja) %{_datadir}/smplayer/translations/smplayer_ja.qm +%lang(ka) %{_datadir}/smplayer/translations/smplayer_ka.qm +%lang(nl) %{_datadir}/smplayer/translations/smplayer_nl.qm +%lang(pl) %{_datadir}/smplayer/translations/smplayer_pl.qm +%lang(pt_BR) %{_datadir}/smplayer/translations/smplayer_pt_BR.qm +%lang(ru) %{_datadir}/smplayer/translations/smplayer_ru_RU.qm %lang(sk) %{_datadir}/smplayer/translations/smplayer_sk.qm +%lang(tr) %{_datadir}/smplayer/translations/smplayer_tr.qm +%lang(uk) %{_datadir}/smplayer/translations/smplayer_uk_UA.qm +%lang(zh_CN) %{_datadir}/smplayer/translations/smplayer_zh_CN.qm +%lang(sv) %{_datadir}/smplayer/translations/smplayer_sv.qm