]> git.pld-linux.org Git - packages/smplayer.git/blame - smplayer.spec
up to 16.1.0
[packages/smplayer.git] / smplayer.spec
CommitLineData
9b9ef271 1%define qtver 4.3.3-3
a446099c 2%define smver 14.8.0
3afc2154 3Summary: smplayer - mplayer frontend
5df27f1d 4Summary(pl.UTF-8): smplayer - nakładka na mplayera
57e0a3eb 5Name: smplayer
99350a28 6Version: 16.1.0
5927c739 7Release: 1
57e0a3eb 8License: GPL
9Group: X11/Applications
5daad328 10Source0: http://downloads.sourceforge.net/smplayer/%{name}-%{version}.tar.bz2
99350a28 11# Source0-md5: 3a85e04132a97c739f3cbd919252c65f
57e0a3eb 12URL: http://smplayer.sourceforge.net/
465014d7
ER
13BuildRequires: QtDBus-devel
14BuildRequires: QtScript-devel
57e0a3eb 15BuildRequires: QtCore-devel
16BuildRequires: QtGui-devel
97a54c5c 17BuildRequires: QtNetwork-devel
18ebdd52 18BuildRequires: QtXml-devel
9b9ef271
ER
19BuildRequires: qt4-build >= %{qtver}
20BuildRequires: qt4-linguist >= %{qtver}
21BuildRequires: qt4-qmake >= %{qtver}
1d099566 22BuildRequires: rpmbuild(find_lang) >= 1.37
57e0a3eb 23BuildRequires: rpmbuild(macros) >= 1.129
5daad328 24Requires: desktop-file-utils
af77b1a1 25Requires: mplayer >= 3:1.0-5.rc2_svn27725.17
91cee26e 26Suggests: smtube
57e0a3eb 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
e660ba90 30SMPlayer intends to be a complete front-end for MPlayer, from basic
31features like playing videos, DVDs, and VCDs to more advanced features
32like support for MPlayer filters and more.
57e0a3eb 33
e660ba90 34One of the most interesting features of SMPlayer: it remembers the
35settings of all files you play. So you start to watch a movie but you
36have to leave... don't worry, when you open that movie again it will
37resume at the same point you left it, and with the same settings:
38audio track, subtitles, volume...
57e0a3eb 39
3afc2154 40%description -l pl.UTF-8
5c663483
ER
41SMPlayer stara się być kompletną nakładką na MPlayera, począwszy od
42podstawowych funkcji jak odtwarzanie plików video, DVD i VCD kończąc
43na bardziej zaawansowanych opcjach jak obsługa filtrów MPlayera oraz
44wiele więcej.
3afc2154 45
5df27f1d 46Jedną z najciekawszych funkcji SMPlayera jest to, że zapamiętuje
5c663483
ER
47ustawienia wszystkich plików jakie odgrywasz. Zaczynasz oglądać film,
48ale musisz wyjść... nie martw się, kiedy odtworzysz film ponownie
49zacznie od momentu, w którym go wyłączyłeś i z tymi samymi
50ustawieniami jak: ścieżka dźwiękowa, napisy, głośność...
a7c5512c 51
57e0a3eb 52%prep
91cee26e 53%setup -q
57e0a3eb 54
7250ed7d 55# skip docs install
1cc8c709 56%{__sed} -i -e '/DOC_PATH/d' Makefile src/smplayer.pro
62155311 57
1cc8c709
ER
58# skip manpage compress
59%{__sed} -i -e '/gzip/d' Makefile
475a6e91 60
1cc8c709
ER
61# skip build rule on install
62%{__sed} -i -e 's,install: src/smplayer,install:,' Makefile
416e65ec 63
1cc8c709
ER
64# disable debug on console on unix too
65%{__sed} -i -e '/NO_DEBUG_ON_CONSOLE/s,#DEFINES,DEFINES,' src/smplayer.pro
475a6e91 66
1cc8c709
ER
67%build
68%{__make} \
69 PREFIX=%{_prefix} \
70 QMAKE=qmake-qt4 \
71 LRELEASE=lrelease-qt4
97a54c5c 72
57e0a3eb 73%install
74rm -rf $RPM_BUILD_ROOT
475a6e91 75install -d $RPM_BUILD_ROOT%{_datadir}/smplayer/themes
a7c5512c 76%{__make} install \
77 PREFIX=%{_prefix} \
78 DESTDIR=$RPM_BUILD_ROOT
79
1d099566
ER
80%find_lang %{name} --with-qm
81
57e0a3eb 82%clean
83rm -rf $RPM_BUILD_ROOT
84
5daad328
ER
85%post
86%update_desktop_database
87
1d099566 88%files -f %{name}.lang
57e0a3eb 89%defattr(644,root,root,755)
5c663483 90%doc Changelog Not_so_obvious_things.txt Readme.txt Release_notes.txt
859f0649 91%attr(755,root,root) %{_bindir}/smplayer
5c663483
ER
92%{_mandir}/man1/smplayer.1*
93%{_desktopdir}/smplayer.desktop
94%{_desktopdir}/smplayer_enqueue.desktop
95%{_iconsdir}/hicolor/*/apps/smplayer.png
96%{_iconsdir}/hicolor/*/apps/smplayer.svg
1a4ec24b 97%dir %{_datadir}/smplayer
135c09a1 98%{_datadir}/smplayer/input.conf
859f0649 99%dir %{_datadir}/smplayer/shortcuts
100%{_datadir}/smplayer/shortcuts/default.keys
5233115c 101%{_datadir}/smplayer/shortcuts/euskara.keys
475a6e91 102%dir %{_datadir}/smplayer/themes
1a4ec24b 103%dir %{_datadir}/smplayer/translations
This page took 0.088352 seconds and 4 git commands to generate.