Add RPM packaging information
This commit is contained in:
parent
ca51aea181
commit
e901a11390
5 changed files with 58 additions and 0 deletions
4
README
4
README
|
@ -6,3 +6,7 @@ running gPodder 4 on Sailfish OS.
|
|||
|
||||
On Sailfish OS, we take Python and PyOtherSide from the mer-python3 project.
|
||||
Qt 5 is already shipped with the OS, so no need to package it up separately.
|
||||
|
||||
To enable mer-python3 on a device, use:
|
||||
|
||||
zypper ar http://repo.merproject.org/obs/mer-python3/latest_armv7hl/mer-python3.repo
|
||||
|
|
6
org.gpodder.sailfish.desktop
Normal file
6
org.gpodder.sailfish.desktop
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
X-Nemo-Application-Type=silica-qt5
|
||||
Name=gPodder
|
||||
Icon=org.gpodder.sailfish
|
||||
Exec=sailfish-qml org.gpodder.sailfish
|
BIN
org.gpodder.sailfish.png
Normal file
BIN
org.gpodder.sailfish.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
48
rpm/org.gpodder.sailfish.spec
Normal file
48
rpm/org.gpodder.sailfish.spec
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Prevent brp-python-bytecompile from running
|
||||
%define __os_install_post %{___build_post}
|
||||
|
||||
Summary: Media and podcast aggregator
|
||||
Name: org.gpodder.sailfish
|
||||
Version: 4.0.0
|
||||
Release: 1
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
URL: http://gpodder.org/
|
||||
License: ISC / GPLv3
|
||||
Group: System/GUI/Other
|
||||
Requires: python3-base
|
||||
Requires: pyotherside-qml-plugin-python3-qt5
|
||||
Requires: sailfishsilica-qt5
|
||||
Requires: libsailfishapp-launcher
|
||||
|
||||
%description
|
||||
gPodder downloads and manages free audio and video content for you.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# Nothing to do
|
||||
|
||||
%install
|
||||
|
||||
TARGET=%{buildroot}/%{_datadir}/%{name}/qml
|
||||
mkdir -p $TARGET
|
||||
cp -rpv gpodder-core/src/* $TARGET/
|
||||
cp -rpv gpodder-ui-qml/main.py gpodder-ui-qml/qml $TARGET/
|
||||
cp -rpv %{name}.qml $TARGET/
|
||||
|
||||
TARGET=%{buildroot}/%{_datadir}/applications
|
||||
mkdir -p $TARGET
|
||||
cp -rpv %{name}.desktop $TARGET/
|
||||
|
||||
TARGET=%{buildroot}/%{_datadir}/icons/hicolor/86x86/apps/
|
||||
mkdir -p $TARGET
|
||||
cp -rpv %{name}.png $TARGET/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc gpodder-core/README gpodder-core/LICENSE.GPLv3 gpodder-core/LICENSE.ISC
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
Loading…
Add table
Add a link
Reference in a new issue