Skip to content
This repository was archived by the owner on Mar 19, 2023. It is now read-only.

Commit 5ecda13

Browse files
committed
debian: add debian package files
Signed-off-by: Ognjen Galic <smclt30p@gmail.com>
1 parent b22c5eb commit 5ecda13

File tree

7 files changed

+52
-2
lines changed

7 files changed

+52
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
cmake_minimum_required(VERSION 2.6)
22

3-
include(CPack)
43
project(apindex NONE)
54

65
set(CPACK_PACKAGE_VENDOR "Ognjen Galic")
@@ -21,4 +20,4 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/apindex
2120
GROUP_EXECUTE GROUP_READ
2221
WORLD_EXECUTE WORLD_READ)
2322

24-
23+
include(CPack)

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apindex (2.1-1) unstable; urgency=medium
2+
3+
* First Debian package release
4+
5+
-- Ognjen Galic <smclt30p@gmail.com> Fri, 11 May 2018 22:36:02 +0200

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10

debian/control

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Source: apindex
2+
Section: admin
3+
Priority: optional
4+
Maintainer: Ognjen Galic <smclt30p@gmail.com>
5+
Build-Depends: debhelper (>= 10), cmake
6+
Standards-Version: 4.1.2
7+
Homepage: https://thinkpads.org/projects/apindex
8+
9+
Package: apindex
10+
Architecture: any
11+
Depends: ${shlibs:Depends}, ${misc:Depends}, python3
12+
Description: Static HTML file index generator
13+
This program enables you to generate a file index for static web
14+
servers such as Github Pages or mini HTTP servers.

debian/copyright

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: apindex
3+
Source: https://thinkpads.org/projects/apindex
4+
5+
Files: *
6+
Copyright: 2018 Ognjen Galić <smclt30p@gmail.com>
7+
License: BSD-2-clause
8+
Redistribution and use in source and binary forms, with or without
9+
modification, are permitted provided that the following conditions
10+
are met:
11+
1. Redistributions of source code must retain the above copyright
12+
notice, this list of conditions and the following disclaimer.
13+
2. Redistributions in binary form must reproduce the above copyright
14+
notice, this list of conditions and the following disclaimer in the
15+
documentation and/or other materials provided with the distribution.
16+
.
17+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27+

debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/make -f
2+
%:
3+
dh $@

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

0 commit comments

Comments
 (0)