Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
FlowPlayer
> _service:tar_git:flowplayer.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:flowplayer.spec of Package FlowPlayer
Name: flowplayer # These macros should already be defined in the RPMbuild environment, see: rpm --showrc %{!?qtc_qmake:%define qtc_qmake %qmake} %{!?qtc_qmake5:%define qtc_qmake5 %qmake5} %{!?qtc_make:%define qtc_make make} %{!?qmake5_install:%define qmake5_install make install INSTALL_ROOT=%{buildroot}} %{?qtc_builddir:%define _builddir %qtc_builddir} Summary: Music Player for SailfishOS # The <version> tag must adhere to semantic versioning: Among multiple other # reasons due to its use for `qmake5` in line 104. See https://semver.org/ Version: 0.3.5 # The <release> tag comprises one of {alpha,beta,rc,release} postfixed with a # natural number greater or equal to 1 (e.g., "beta3") and may additionally be # postfixed with a plus character ("+"), the name of the packager and a release # number chosen by her (e.g., "rc2+jane4"). `{alpha|beta|rc|release}` # indicates the expected status of the software. No other identifiers shall be # used for any published version, but for the purpose of testing infrastructure # other nonsensual identifiers as `adud` may be used, which do *not* trigger a # build at GitHub and OBS, when configured accordingly; mind the sorting # (`adud` < `alpha`). For details and reasons, see # https://github.com/storeman-developers/harbour-storeman/wiki/Git-tag-format Release: release3 # The Group tag should comprise one of the groups listed here: # https://github.com/mer-tools/spectacle/blob/master/data/GROUPS Group: Applications/Multimedia License: MPL-2.0-no-copyleft-exception URL: https://github.com/sailfishos-applications/%{name} # Altering the `Vendor:` field breaks the update path on SailfishOS, see # https://en.opensuse.org/SDB:Vendor_change_update#Disabling_Vendor_stickiness #Vendor: meego # The "Source0:" line below requires that the value of %%{name} is also the # project name at GitHub and the value of `%%{release}/%%{version}` is also # the name of a correspondingly set Git tag. For details and reasons, see # https://github.com/storeman-developers/harbour-storeman/wiki/Git-tag-format Source0: %{url}/archive/%{release}/%{version}/%{name}-%{version}.tar.gz # Note that the rpmlintrc file MUST be named exactly so according to # https://en.opensuse.org/openSUSE:Packaging_checks#Building_Packages_in_spite_of_errors Source99: %{name}.rpmlintrc Requires: sailfishsilica-qt5 >= 0.10.9 Requires: qml(org.nemomobile.mpris) Requires: qml(org.nemomobile.policy) Requires: qml(org.nemomobile.thumbnailer) Requires: qml(com.jolla.mediaplayer) BuildRequires: pkgconfig(sailfishapp) >= 1.0.2 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(libresource) BuildRequires: pkgconfig(taglib) BuildRequires: qt5-qttools-linguist BuildRequires: desktop-file-utils # This description section includes metadata for SailfishOS:Chum, see # https://github.com/sailfishos-chum/main/blob/main/Metadata.md %description FlowPlayer is a music player for SailfishOS with lyrics support, online radio and 10-band equalizer. %if 0%{?_chum} Title: FlowPlayer for SailfishOS Type: desktop-application Categories: - AudioVideo - Audio - Network - Compression - Database - FileManager - Filesystem - Music - Player - Qt - Viewer DeveloperName: CepiPerez, olf, dcaliste, smokku, flypig, rubdos, poetaster Custom: Repo: %{url} PackageIcon: %{url}/raw/master/flowplayer.png Screenshots: - %{url}/raw/master/.xdata/screenshots/screenshot-20150711134510.jpg - %{url}/raw/master/.xdata/screenshots/screenshot-20150711134427.jpg - %{url}/raw/master/.xdata/screenshots/screenshot-20150711134124.jpg - %{url}/raw/master/.xdata/screenshots/screenshot-20150711134236.jpg - %{url}/raw/master/.xdata/screenshots/screenshot-20150711134206.jpg - %{url}/raw/master/.xdata/screenshots/screenshot-20150711134443.jpg - %{url}/raw/master/.xdata/screenshots/screenshot-20150711134615.jpg - %{url}/raw/master/.xdata/screenshots/screenshot-20150701221204.jpg Links: Homepage: https://openrepos.net/content/olf/flowplayer Help: %{url}/issues Bugtracker: %{url}/issues Donation: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WTLJLQP2CSM7S %endif # Define (S)RPM compression sensibly, taking compatibility into account, see # https://github.com/sailfishos-patches/patchmanager/pull/417#issuecomment-1429068156 %define _source_payload w6.gzdio %define _binary_payload w2.xzdio %prep %setup -q %build %qtc_qmake5 VERSION=%{version} %qtc_make %{?_smp_mflags} %install %qmake5_install desktop-file-install --delete-original --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %files %defattr(-,root,root,-) %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/86x86/apps/%{name}.png