]> git.pld-linux.org Git - packages/smplayer.git/blame_incremental - smplayer.spec
up to 16.1.0
[packages/smplayer.git] / smplayer.spec
... / ...
CommitLineData
1%define qtver 4.3.3-3
2%define smver 14.8.0
3Summary: smplayer - mplayer frontend
4Summary(pl.UTF-8): smplayer - nakładka na mplayera
5Name: smplayer
6Version: 16.1.0
7Release: 1
8License: GPL
9Group: X11/Applications
10Source0: http://downloads.sourceforge.net/smplayer/%{name}-%{version}.tar.bz2
11# Source0-md5: 3a85e04132a97c739f3cbd919252c65f
12URL: http://smplayer.sourceforge.net/
13BuildRequires: QtDBus-devel
14BuildRequires: QtScript-devel
15BuildRequires: QtCore-devel
16BuildRequires: QtGui-devel
17BuildRequires: QtNetwork-devel
18BuildRequires: QtXml-devel
19BuildRequires: qt4-build >= %{qtver}
20BuildRequires: qt4-linguist >= %{qtver}
21BuildRequires: qt4-qmake >= %{qtver}
22BuildRequires: rpmbuild(find_lang) >= 1.37
23BuildRequires: rpmbuild(macros) >= 1.129
24Requires: desktop-file-utils
25Requires: mplayer >= 3:1.0-5.rc2_svn27725.17
26Suggests: smtube
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
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.
33
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...
39
40%description -l pl.UTF-8
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.
45
46Jedną z najciekawszych funkcji SMPlayera jest to, że zapamiętuje
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ść...
51
52%prep
53%setup -q
54
55# skip docs install
56%{__sed} -i -e '/DOC_PATH/d' Makefile src/smplayer.pro
57
58# skip manpage compress
59%{__sed} -i -e '/gzip/d' Makefile
60
61# skip build rule on install
62%{__sed} -i -e 's,install: src/smplayer,install:,' Makefile
63
64# disable debug on console on unix too
65%{__sed} -i -e '/NO_DEBUG_ON_CONSOLE/s,#DEFINES,DEFINES,' src/smplayer.pro
66
67%build
68%{__make} \
69 PREFIX=%{_prefix} \
70 QMAKE=qmake-qt4 \
71 LRELEASE=lrelease-qt4
72
73%install
74rm -rf $RPM_BUILD_ROOT
75install -d $RPM_BUILD_ROOT%{_datadir}/smplayer/themes
76%{__make} install \
77 PREFIX=%{_prefix} \
78 DESTDIR=$RPM_BUILD_ROOT
79
80%find_lang %{name} --with-qm
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%post
86%update_desktop_database
87
88%files -f %{name}.lang
89%defattr(644,root,root,755)
90%doc Changelog Not_so_obvious_things.txt Readme.txt Release_notes.txt
91%attr(755,root,root) %{_bindir}/smplayer
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
97%dir %{_datadir}/smplayer
98%{_datadir}/smplayer/input.conf
99%dir %{_datadir}/smplayer/shortcuts
100%{_datadir}/smplayer/shortcuts/default.keys
101%{_datadir}/smplayer/shortcuts/euskara.keys
102%dir %{_datadir}/smplayer/themes
103%dir %{_datadir}/smplayer/translations
This page took 0.094557 seconds and 4 git commands to generate.