chore(debian-packaging): add configuration

This commit is contained in:
Joshua M. Boniface 2023-01-08 12:49:56 -05:00 committed by Fernando Fernández
parent e3560f1af9
commit 6313d75122
13 changed files with 153 additions and 0 deletions

7
.gitignore vendored
View File

@ -91,3 +91,10 @@ sw.js
# Vim swap files
*.swp
# Debian build artifacts
debian/.debhelper
debian/debhelper-build-stamp
debian/files
debian/jellyfin-vue*
vue/

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
jellyfin-vue (0.2.0) unstable; urgency=medium
* First prerelease package version
-- Jellyfin Packaging Team <packaging@jellyfin.org> Sun, 08 Jan 2023 12:44:59 -0500

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

0
debian/conffiles vendored Normal file
View File

16
debian/control vendored Normal file
View File

@ -0,0 +1,16 @@
Source: jellyfin-vue
Section: misc
Priority: optional
Maintainer: Jellyfin Team <team@jellyfin.org>
Build-Depends: debhelper (>= 9),
npm | nodejs
Standards-Version: 3.9.4
Homepage: https://jellyfin.org/
Vcs-Git: https://github.org/jellyfin/jellyfin-vue.git
Vcs-Browser: https://github.org/jellyfin/jellyfin-vue
Package: jellyfin-vue
Recommends: jellyfin-server
Architecture: all
Description: Jellyfin is the Free Software Media System.
This package provides the Jellyfin vue.js client.

28
debian/copyright vendored Normal file
View File

@ -0,0 +1,28 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: jellyfin-vue
Source: https://github.com/jellyfin/jellyfin-vue
Files: *
Copyright: 2018-2023 Jellyfin Team
License: GPL-3.0
Files: debian/*
Copyright: 2023 Joshua Boniface <joshua@boniface.me>
License: GPL-3.0
License: GPL-3.0
This package 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 2 of the License, or
(at your option) any later version.
.
This package 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 <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

6
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,6 @@
[DEFAULT]
pristine-tar = False
cleaner = fakeroot debian/rules clean
[import-orig]
filter = [ ".git*", ".hg*", ".vs*", ".vscode*" ]

1
debian/install vendored Normal file
View File

@ -0,0 +1 @@
vue usr/share/jellyfin/

1
debian/po/POTFILES.in vendored Normal file
View File

@ -0,0 +1 @@
[type: gettext/rfc822deb] templates

57
debian/po/templates.pot vendored Normal file
View File

@ -0,0 +1,57 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: jellyfin-server\n"
"Report-Msgid-Bugs-To: jellyfin-server@packages.debian.org\n"
"POT-Creation-Date: 2015-06-12 20:51-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: note
#. Description
#: ../templates:1001
msgid "Jellyfin permission info:"
msgstr ""
#. Type: note
#. Description
#: ../templates:1001
msgid ""
"Jellyfin by default runs under a user named \"jellyfin\". Please ensure that the "
"user jellyfin has read and write access to any folders you wish to add to your "
"library. Otherwise please run jellyfin under a different user."
msgstr ""
#. Type: string
#. Description
#: ../templates:2001
msgid "Username to run Jellyfin as:"
msgstr ""
#. Type: string
#. Description
#: ../templates:2001
msgid "The user that jellyfin will run as."
msgstr ""
#. Type: note
#. Description
#: ../templates:3001
msgid "Jellyfin still running"
msgstr ""
#. Type: note
#. Description
#: ../templates:3001
msgid "Jellyfin is currently running. Please close it and try again."
msgstr ""

21
debian/rules vendored Executable file
View File

@ -0,0 +1,21 @@
#! /usr/bin/make -f
export DH_VERBOSE=1
%:
dh $@
# disable "make check"
override_dh_auto_test:
# disable stripping debugging symbols
override_dh_clistrip:
override_dh_auto_build:
npm install
npm run build
mv $(CURDIR)/frontend/dist $(CURDIR)/vue
override_dh_auto_clean:
test -d $(CURDIR)/frontend/dist && rm -rf '$(CURDIR)/frontend/dist' || true
test -d $(CURDIR)/vue && rm -rf '$(CURDIR)/vue' || true
test -d $(CURDIR)/node_modules && rm -rf '$(CURDIR)/node_modules' || true

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
1.0

9
debian/source/options vendored Normal file
View File

@ -0,0 +1,9 @@
tar-ignore='.git*'
tar-ignore='**/.git'
tar-ignore='**/.hg'
tar-ignore='**/.vs'
tar-ignore='**/.vscode'
tar-ignore='deployment'
tar-ignore='*.deb'
tar-ignore='vue'
tar-ignore='src/dist'