Skip to content

Commit

Permalink
Restore Debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfactotum committed Jul 30, 2023
1 parent 4d97e89 commit 4a7a336
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
foliate (3.0.0) bionic; urgency=medium

* New version

-- John Factotum <[email protected]> Sun, 30 Jul 2023 08:08:08 +0800
31 changes: 31 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Source: foliate
Section: gnome
Priority: optional
Maintainer: John Factotum <[email protected]>
Build-Depends: debhelper-compat(=10),
gettext,
meson (>= 0.59),
pkg-config,
libglib2.0-dev (>= 2.54),
gjs,
appstream
Standards-Version: 4.5.0
Rules-Requires-Root: no
Homepage: https://johnfactotum.github.io/foliate/
Vcs-Browser: https://github.com/johnfactotum/foliate
Vcs-Git: https://github.com/johnfactotum/foliate.git

Package: foliate
Architecture: all
Depends: ${misc:Depends},
gjs (>= 1.72),
gir1.2-gtk-4.0 (>= 4.10),
gir1.2-adw-1,
gir1.2-webkit-6.0
Suggests: gir1.2-tracker-3.0
Description: Read e-books in style
Supported formats:
EPUB (.epub)
Kindle (.azw, .azw3) and Mobipocket (.mobi)
FictionBook 2 (.fb2, .fb2.zip)
Comic Book Archive (.cbz)
58 changes: 58 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: foliate
Upstream-Contact: John Factotum <[email protected]>
Source: https://github.com/johnfactotum/foliate

Files: *
Copyright: John Factotum
License: GPL-3.0+

Files: src/foliate-js/*
Copyright: John Factotum
License: Expat

Files: src/foliate-js/fflate.js
Copyright: 2020 Arjun Barrett
License: Expat

Files: src/foliate-js/zip.js
Copyright: Gildas Lormeau
License: BSD-3-clause

License: GPL-3.0+
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 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 3 can be found in "/usr/share/common-licenses/GPL-3".

License: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions debian/lintian-override
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foliate: no-manual-page
10 changes: 10 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
dh $@

override_dh_auto_install:
dh_auto_install
find ./debian -type f -name "LICENSE" -delete
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
5 changes: 5 additions & 0 deletions debian/upstream/metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bug-Database: https://github.com/johnfactotum/foliate/issues
Bug-Submit: https://github.com/johnfactotum/foliate/issues/new
Repository: https://github.com/johnfactotum/foliate.git
Repository-Browse: https://github.com/johnfactotum/foliate
Security-Contact: [email protected]
3 changes: 3 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/foliate-$1\.tar\.gz/ \
https://github.com/johnfactotum/foliate/tags .*/?(\d\.\d.\d)\.tar\.gz

0 comments on commit 4a7a336

Please sign in to comment.