mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Added Arch, Flatpak & RPM package files
This commit is contained in:
3
pkgs/rpm/.gitignore
vendored
Normal file
3
pkgs/rpm/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.osc/
|
||||
clapper/
|
||||
.lock
|
12
pkgs/rpm/_service
Normal file
12
pkgs/rpm/_service
Normal file
@@ -0,0 +1,12 @@
|
||||
<services>
|
||||
<service name="obs_scm">
|
||||
<param name="url">https://github.com/Rafostar/clapper.git</param>
|
||||
<param name="scm">git</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime" />
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="buildtime" />
|
||||
</services>
|
4
pkgs/rpm/clapper.changes
Normal file
4
pkgs/rpm/clapper.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 9 08:28:29 UTC 2020 - Florian <sp1ritCS@protonmail.com>
|
||||
|
||||
- Initial packaging
|
1
pkgs/rpm/clapper.rpmlintrc
Normal file
1
pkgs/rpm/clapper.rpmlintrc
Normal file
@@ -0,0 +1 @@
|
||||
addFilter("explicit-lib-dependency")
|
64
pkgs/rpm/clapper.spec
Normal file
64
pkgs/rpm/clapper.spec
Normal file
@@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package clapper
|
||||
#
|
||||
# Copyright (C) 2020 sp1rit
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Name: clapper
|
||||
Version: 0.0.0
|
||||
Release: 0man
|
||||
Summary: A GNOME media player
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/Rafostar/clapper
|
||||
BuildArchitectures: noarch
|
||||
BuildRoot: %{_builddir}/%{name}-%{version}-build
|
||||
BuildRequires: meson gjs
|
||||
Requires: gjs gstreamer
|
||||
Source0: _service
|
||||
%if 0%{?suse_version}
|
||||
Requires: libgstplayer-1_0-0
|
||||
Recommends: gstreamer-plugins-vaapi
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
|
||||
BuildRequires: glibc-all-langpacks
|
||||
Requires: gstreamer1-plugins-bad-free
|
||||
Recommends: gstreamer1-vaapi
|
||||
%endif
|
||||
|
||||
%description
|
||||
A GNOME media player built using GJS and powered by GStreamer with OpenGL rendering. Can also be used as a pre-made widget for Gtk apps.
|
||||
|
||||
%prep
|
||||
%setup -q -n %_sourcedir/%name-%version -T -D
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
ln -s %{_bindir}/com.github.rafostar.Clapper %{buildroot}/%{_bindir}/clapper
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%_bindir/com.github.rafostar.Clapper
|
||||
%_bindir/clapper
|
||||
%_datadir/com.github.rafostar.Clapper/
|
||||
%dir %_datadir/gjs-1.0/
|
||||
%_datadir/gjs-1.0/clapper.js
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user