A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

Add rockbox rpm .spec file

Supports build from unreleased subversion checkouts.
Tested on Fedora 14.

Might be the base for a MeeGo package later on.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29538 a1c6a512-1295-4272-9138-f99709370657

+65
+65
packaging/rpm/rockbox.spec
··· 1 + # Set svn_revision to SVN revision number if you want to do a SVN build. 2 + # Parent source directory has to be "rockbox-rXXXXX" 3 + %define svn_revision 0 4 + 5 + %if 0%{?svn_revision} 6 + # SVN rockbox build 7 + Version: r%{svn_revision} 8 + %else 9 + # Normal rockbox release 10 + %define major_version 3.8 11 + Version: 3.8 12 + %endif 13 + 14 + Name: rockbox 15 + Summary: High quality audio player 16 + License: GPL 17 + Group: Applications/Multimedia 18 + Vendor: rockbox.org 19 + Release: 1%{?dist} 20 + Url: http://www.rockbox.org 21 + Buildroot: %{_tmppath}/%{name}-%{version}-root 22 + Requires: SDL 23 + BuildRequires: SDL-devel 24 + # Note: rpm doesn't support 7z. You need to repack as .tar.bz2 25 + # Source: http://download.rockbox.org/release/%{major_version}/%{name}-%{version}.7z 26 + Source: %{name}-%{version}.tar.bz2 27 + Prefix: /opt/rockbox 28 + 29 + %description 30 + Rockbox open source high quality audio player 31 + 32 + Features: 33 + - Supports over 20 sound codecs: 34 + MP3, OGG, WAV, FLAC and many more 35 + - Navigate music by folders or tag database 36 + - Gapless playback and crossfading 37 + - Ability to create your own themes 38 + - Album art support 39 + 40 + Need more reasons? 41 + Find them here: http://www.rockbox.org/wiki/WhyRockbox 42 + 43 + %prep 44 + %setup -q 45 + 46 + %build 47 + mkdir build 48 + cd build 49 + 50 + ../tools/configure --prefix=%{prefix} --target=sdlapp --lcdwidth=800 --lcdheight=480 --type=N 51 + 52 + make %{?_smp_mflags} 53 + 54 + %install 55 + cd build 56 + make PREFIX=$RPM_BUILD_ROOT/%{prefix} fullinstall 57 + 58 + %clean 59 + rm -fr $RPM_BUILD_ROOT 60 + 61 + %files 62 + %defattr(-,root,root) 63 + %{prefix}/bin/rockbox 64 + %{prefix}/lib/* 65 + %{prefix}/share/*