sayonara-player/sayonara-player.spec

89 lines
3.5 KiB
RPMSpec

%define relver %(echo %version | cut -d. -f4)
Name: sayonara-player
Version: 0.7.1.r189
Release: 1mamba
Summary: A small, clear and fast audio player
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sayonara-player.com/
Source: ftp://sayonara-player.com/archive/0.7.1/sayonara-player-%{relver}.tar.gz
Source1: https://sayonara-player.googlecode.com/files/french_language_pack.tar.gz
Source2: https://sayonara-player.googlecode.com/files/russian_language_pack.tar.gz
Source3: https://sayonara-player.googlecode.com/files/hungarian_language_pack.tar.gz
Source4: https://sayonara-player.googlecode.com/files/mexican_language_pack.tar.gz
Source5: https://sayonara-player.googlecode.com/files/italian_language_pack.tar.gz
Source6: https://sayonara-player.googlecode.com/files/ukrainian_language_pack.tar.gz
Source7: https://sayonara-player.googlecode.com/files/brazil_language_pack.tar.gz
Source8: https://sayonara-player.googlecode.com/files/romanian_language_pack.tar.gz
Source9: https://sayonara-player.googlecode.com/files/czech_language_pack.tar.gz
Patch0: sayonara-0.4.0.695-x86_64-libdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libgst-plugins-base010-devel
BuildRequires: libgstreamer010-devel
BuildRequires: libnotify-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtag-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.
Although Sayoanra is considered as a lightweight player, it holds a lot of features to organize even big music collections.
Most of them are known from the bigger and well known audio players but the main focus during developing (in contrast to many other players) has been performance, low CPU usage and low memory consumption.
One of Sayonara's goals are intuitive and easy usablility never leading to the impression you are using an unnecessary bloated program. Currently it is only available for Linux.
%debug_package
%prep
%setup -q -n %{name}-%{relver}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/sayonara
%dir %{_libdir}/sayonara
#%{_libdir}/sayonara/libsayonara_gstreamer.so
%{_libdir}/sayonara/libsayonara_soundcloud.so
#%{_libdir}/sayonara/libsayonara_libnotify.so
%{_datadir}/appdata/sayonara.appdata.xml
%{_datadir}/applications/sayonara.desktop
%{_datadir}/icons/hicolor/*/apps/sayonara.png
%{_datadir}/icons/sayonara.png
%{_datadir}/menu/sayonara
%{_datadir}/pixmaps/sayonara.png
%dir %{_datadir}/sayonara
%{_datadir}/sayonara/*
%doc MANUAL
%changelog
* Sun Oct 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1.r189-1mamba
- update to 0.7.1.r189
* Sat Sep 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0.r151-1mamba
- update to 0.7.0.r151
* Sun Sep 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0.r695-2mamba
- added translations
- x86_64: patch library hardcoded paths
* Thu Jul 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0.r695-1mamba
- package created by silvan using the webbuild interface