smplayer/smplayer.spec

67 lines
2.1 KiB
RPMSpec

Name: smplayer
Version: 14.3.0
Release: 1mamba
Summary: SMplayer is frontend for mplayer
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://smplayer.sourceforge.net/
Source: http://downloads.sourceforge.net/project/smplayer/SMPlayer/%{version}/smplayer-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: mplayer
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q
%build
%make QMAKE=qmake-qt4 PREFIX=%{_prefix}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{_prefix}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/smplayer
%{_datadir}/applications/smplayer.desktop
%{_datadir}/applications/smplayer_enqueue.desktop
%dir %{_datadir}/doc/packages/smplayer
%{_datadir}/doc/packages/smplayer/*
%{_datadir}/icons/hicolor/*/apps/smplayer.png
%{_datadir}/icons/hicolor/scalable/apps/smplayer.svg
%{_mandir}/man1/smplayer.1.gz
%{_datadir}/smplayer/input.conf
%{_datadir}/smplayer/shortcuts/*.keys
%{_datadir}/smplayer/translations/smplayer_*.qm
%changelog
* Mon Apr 21 2014 Automatic Build System <autodist@mambasoft.it> 14.3.0-1mamba
- automatic version update by autodist
* Sat Aug 17 2013 Automatic Build System <autodist@mambasoft.it> 0.8.6-1mamba
- automatic version update by autodist
* Wed May 15 2013 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
- automatic version update by autodist
* Thu May 09 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.4-1mamba
- update to 0.8.4
* Mon Sep 29 2008 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.6.3-1mamba
- package created by autospec