ALT repositories
Last updated at Sat, 06 Jun 2020 00:47:39 +0000 | SRPMs: 16795
en ru
SRPMs in branches
hide window
  • 1.4.5-alt1.M70T.1
  • 1.4.7-alt0.M70T.1
  • 1.4.5-alt1.M60T.1
  • 1.4.7-alt0.M60T.1
Group :: Sound
Source RPM: glrp
Raw spec file

Name: glrp
Version: 1.4.7
Release: alt1
Summary: Robust internet radio station streamer
Url: http://sourceforge.net/projects/glrp/?source=dlp
License: GPLv3+
Group: Sound
Source0: greatlittleradioplayer_%version.tar.gz

Patch0: greatlittleradioplayer_1.4.6_fix_phonon_includes.diff
Patch1: greatlittleradioplayer_1.4.5_fix_desktop.diff

BuildRequires: gcc-c++ libqt4-devel

Requires: phonon-backend-5-gstreamer

%description
A robust internet radio station streamer. It connects to web sites
offering radio streaming and lets you play radio stations directly
from that locations.

%prep
%setup -n greatlittleradioplayer_%version
chmod -R -x ./*.* ./language/*.* ./styles/*.* ./styles/images/* ./styles/thumbnails/*
%patch0 -p1
%patch1 -p1

%build
# change ugly dir for files

find -type f -name \* -exec sed -i -r 's|/opt/extras.ubuntu.com|%_datadir|g' {} \;

qmake-qt4 "QMAKE_CFLAGS+=%optflags -I/usr/include/kde4" "QMAKE_CXXFLAGS+=%optflags -I/usr/include/kde4"
%make_build

%install
install -Dp -m 0644 extras-greatlittleradioplayer.desktop %buildroot%_desktopdir/%name.desktop

mkdir -p %buildroot%_datadir/glrp/language
cp language/* %buildroot%_datadir/glrp/language/

mkdir -p %buildroot%_datadir/glrp/styles
cp -r styles/* %buildroot%_datadir/glrp/styles/

install -Dp -m 0644 glrp.svg %buildroot%_iconsdir/hicolor/scalable/apps/%name.svg
install -Dp -m 0755 GreatLittleRadioPlayer %buildroot%_bindir/glrp
cp stations.csv %buildroot%_datadir/glrp/
cp changelog.txt %buildroot%_datadir/glrp/

%files
%_bindir/%name
%_datadir/%name
%_desktopdir/%name.desktop
%_iconsdir/hicolor/scalable/apps/

%changelog
* Wed Jun 11 2014 Motsyo Gennadi <drool at altlinux.ru> 1.4.7-alt1
- 1.4.7

* Fri Jan 17 2014 Motsyo Gennadi <drool at altlinux.ru> 1.4.6-alt1
- 1.4.6

* Mon Nov 25 2013 Motsyo Gennadi <drool at altlinux.ru> 1.4.5-alt2
- fix Requires (phonon-backend-5-gstreamer)

* Sat Nov 23 2013 Motsyo Gennadi <drool at altlinux.ru> 1.4.5-alt1
- initial build for ALT Linux from PCLinuxOS package
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.