Browse Source

Fix #47: Initial debian/ packaging for upcoming v1.2 release

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 5 years ago
parent
commit
b992bc0e9d
12 changed files with 83 additions and 1 deletions
  1. 1
    1
      .gitignore
  2. 4
    0
      Makefile.am
  3. 3
    0
      debian/.gitignore
  4. 6
    0
      debian/changelog
  5. 1
    0
      debian/compat
  6. 14
    0
      debian/control
  7. 31
    0
      debian/copyright
  8. 1
    0
      debian/docs
  9. 17
    0
      debian/rules
  10. 1
    0
      debian/source/format
  11. 1
    0
      debian/source/options
  12. 3
    0
      debian/watch

+ 1
- 1
.gitignore View File

@@ -19,4 +19,4 @@ install-sh
19 19
 missing
20 20
 stamp-h1
21 21
 Makefile
22
-Makefile.in
22
+Makefile.in

+ 4
- 0
Makefile.am View File

@@ -8,6 +8,10 @@ udev_DATA      = 90-backlight.rules
8 8
 EXTRA_DIST    += $(top_srcdir)/90-backlight.rules
9 9
 endif
10 10
 
11
+# lintian --profile debian -i -I --show-overrides ../$PKG.changes
12
+package:
13
+	dpkg-buildpackage -uc -us -B
14
+
11 15
 #
12 16
 # Target to run when building a release
13 17
 #

+ 3
- 0
debian/.gitignore View File

@@ -0,0 +1,3 @@
1
+files
2
+light.debhelper.log
3
+light.substvars

+ 6
- 0
debian/changelog View File

@@ -0,0 +1,6 @@
1
+light (1.2) unstable; urgency=low
2
+
3
+  * Initial Debian Release (Closes: #47)
4
+
5
+ -- Joachim Nilsson <troglobit@gmail.com>  Sun, 12 Aug 2018 22:15:00 +0100
6
+

+ 1
- 0
debian/compat View File

@@ -0,0 +1 @@
1
+9

+ 14
- 0
debian/control View File

@@ -0,0 +1,14 @@
1
+Source: light
2
+Section: x11
3
+Priority: optional
4
+Maintainer: Joachim Nilsson <troglobit@gmail.com>
5
+Homepage: https://github.com/haikarainen/light
6
+Build-Depends: debhelper (>= 9~), autoconf
7
+Vcs-Git: https://github.com/haikarainen/light.git
8
+Vcs-Browser: https://github.com/haikarainen/light/commits/
9
+Standards-Version: 3.9.3
10
+
11
+Package: light
12
+Architecture: any
13
+Depends: ${shlibs:Depends}, ${misc:Depends}
14
+Description: a program to control backlight controllers under GNU/Linux

+ 31
- 0
debian/copyright View File

@@ -0,0 +1,31 @@
1
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2
+Upstream-Name: light
3
+Source: https://github.com/haikarainen/light
4
+
5
+Files: *
6
+Copyright: Copyright 2012-2018  Fredrik Haikarainen <fredrik.haikarainen@gmail.com>
7
+License: GPL-3
8
+
9
+Files: debian/*
10
+Copyright: Copyright 2018  Joachim Nilsson <troglobit@gmail.com>
11
+License: GPL-3
12
+
13
+License: GPL-3
14
+ Indicator Weather is free software; you can redistribute it
15
+ and/or modify it under the terms of the GNU General Public
16
+ License version 3 as published by the Free Software Foundation.
17
+ .
18
+ Indicator Weather is distributed in the hope that it will be
19
+ useful, but WITHOUT ANY WARRANTY; without even the implied
20
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
21
+ PURPOSE.  See the GNU General Public License for more
22
+ details. http://www.gnu.org/licenses/
23
+ .
24
+ You should have received a copy of the GNU General Public
25
+ License along with this package; if not, write to the Free
26
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
27
+ Boston, MA  02110-1301 USA
28
+ .
29
+ On Debian systems, the full text of the GNU General Public
30
+ License version 3 can be found in the file
31
+`/usr/share/common-licenses/GPL-3'.

+ 1
- 0
debian/docs View File

@@ -0,0 +1 @@
1
+README.md

+ 17
- 0
debian/rules View File

@@ -0,0 +1,17 @@
1
+#!/usr/bin/make -f
2
+# export DH_VERBOSE=1
3
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
+
5
+%:
6
+	dh $@
7
+
8
+override_dh_auto_configure:
9
+	dh_auto_configure -- --with-udev
10
+
11
+override_dh_installchangelogs:
12
+	dh_installchangelogs ChangeLog.md
13
+
14
+override_dh_auto_install:
15
+	dh_auto_install
16
+	rm -f debian/light/usr/share/doc/light/COPYING
17
+	rm -f debian/light/usr/share/doc/light/ChangeLog.md

+ 1
- 0
debian/source/format View File

@@ -0,0 +1 @@
1
+3.0 (native)

+ 1
- 0
debian/source/options View File

@@ -0,0 +1 @@
1
+compression=xz

+ 3
- 0
debian/watch View File

@@ -0,0 +1,3 @@
1
+version=3
2
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/light-$1\.tar\.gz/ \
3
+  https://github.com/haikarainen/light/releases .*/light-?(\d\S*)\.tar\.gz