107 lines
3.2 KiB
RPMSpec
107 lines
3.2 KiB
RPMSpec
%define pkgver %(echo %version | tr _ -)
|
|
Name: moc
|
|
Version: 2.5.1
|
|
Release: 1mamba
|
|
Summary: A console audio player for LINUX/UNIX designed to be powerful and easy to use
|
|
Group: Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://moc.daper.net
|
|
Source: http://ftp.daper.net/pub/soft/moc/stable/moc-%{pkgver}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libalsa-devel
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
BuildRequires: libavformat-ffmpeg-devel
|
|
BuildRequires: libavutil-ffmpeg-devel
|
|
BuildRequires: libcares-devel
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libdb51-devel
|
|
BuildRequires: libfaad2-devel
|
|
BuildRequires: libflac-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libgpg-error-devel
|
|
BuildRequires: libid3tag-devel
|
|
BuildRequires: libidn-devel
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: libltdl-devel
|
|
BuildRequires: libmad-devel
|
|
BuildRequires: libmagic-devel
|
|
BuildRequires: libmodplug-devel
|
|
BuildRequires: libmusepack-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libogg-devel
|
|
BuildRequires: libopenldap-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: librtmp-devel
|
|
BuildRequires: libsamplerate-devel
|
|
BuildRequires: libsasl-devel
|
|
BuildRequires: libsidplay2-devel
|
|
BuildRequires: libsndfile-devel
|
|
BuildRequires: libspeex-devel
|
|
BuildRequires: libssh2-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtag-devel
|
|
BuildRequires: libvorbis-devel
|
|
BuildRequires: libwavpack-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libtag-devel >= 1.9.1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{pkgver}
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/mocp
|
|
%dir %{_libdir}/moc/decoder_plugins
|
|
%{_libdir}/moc/decoder_plugins/libaac_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libffmpeg_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libflac_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libmodplug_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libmp3_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libmusepack_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libsidplay2_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libsndfile_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libspeex_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libvorbis_decoder.*
|
|
%{_libdir}/moc/decoder_plugins/libwavpack_decoder.*
|
|
%dir %{_docdir}/moc
|
|
%{_docdir}/moc/*
|
|
%{_mandir}/man1/mocp.1*
|
|
%dir %{_datadir}/moc
|
|
%dir %{_datadir}/moc/themes
|
|
%{_datadir}/moc/themes/*_theme
|
|
%{_datadir}/moc/themes/transparent-background
|
|
%doc AUTHORS COPYING THANKS
|
|
|
|
%changelog
|
|
* Sun Jul 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.1-1mamba
|
|
- update to 2.5.1
|
|
|
|
* Tue Dec 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0_beta2-2mamba
|
|
- mass rebuild with libtag 1.9.1
|
|
|
|
* Sun Jul 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0_beta2-1mamba
|
|
- package created using the webbuild interface
|