Browse Source

added minimal debian build scripts

Helmut Pozimski 10 năm trước cách đây
mục cha
commit
8834fb146d
11 tập tin đã thay đổi với 106 bổ sung1 xóa
  1. 32 0
      Changelog
  2. 1 1
      LICENSE
  3. 5 0
      debian/changelog
  4. 1 0
      debian/compat
  5. 16 0
      debian/control
  6. 34 0
      debian/copyright
  7. 1 0
      debian/links
  8. 11 0
      debian/rules
  9. 1 0
      debian/source/format
  10. 1 0
      debian/stdd.manpages
  11. 3 0
      debian/watch

+ 32 - 0
Changelog

@@ -1,3 +1,35 @@
+2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
+
+	added version option to the man page
+
+2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
+
+	add version option to the option parser
+
+2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
+
+	updated README and INSTALL
+
+2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
+
+	finished the man page
+
+2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
+
+	added a minimal man page, content still missing
+
+2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
+
+	updated TODO
+
+2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
+
+	added a setup.py to install stdd with the distutils method and renamed the sample.conf to the final name
+
+2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
+
+	updated TODO and Changelog
+
 2013-07-28  Helmut Pozimski  <helmut@pozimski.eu>
 
 	converted datetime object to string

+ 1 - 1
LICENSE

@@ -8,7 +8,7 @@ modification, are permitted provided that the following conditions are met:
     * Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.
-    * Neither the name of the <organization> nor the
+    * Neither the name of the author nor the
       names of its contributors may be used to endorse or promote products
       derived from this software without specific prior written permission.
 

+ 5 - 0
debian/changelog

@@ -0,0 +1,5 @@
+stdd (0.9-1) unstable; urgency=low
+
+  * Initial package built for stdd 0.9
+
+ -- Helmut Pozimski <helmut@linux.intranet.helmut-pozimski.de>  Sun, 28 Jul 2013 21:57:15 +0200

+ 1 - 0
debian/compat

@@ -0,0 +1 @@
+7

+ 16 - 0
debian/control

@@ -0,0 +1,16 @@
+Source: stdd
+XS-Python-Version: >= 2.7
+Maintainer: Helmut Pozimski <helmut@pozimski.eu>
+Homepage: https://dev.intranet.helmut-pozimski.de/stdd
+Section: python
+Priority: optional
+Build-Depends: python (>= 2.6), debhelper (>= 7.4.3)
+Standards-Version: 3.9.4
+
+Package: stdd
+Architecture: all
+Depends: ${misc:Depends}, python (>= 2.7), python-smbus, i2c-tools, python-plctl
+Description: stdd, simple time display daemon
+ stdd is a small daemon written in python which displays
+ the current time on a 7 segment display from Adafruit attached via i2c
+

+ 34 - 0
debian/copyright

@@ -0,0 +1,34 @@
+Copyright:
+
+    Copyright (C) 2012-2013 Helmut Pozimski <helmut@pozimski.eu>
+    some  parts  written by Limor Fried, Kevin Townsend and Mikey Sklar for
+    Adafruit Industries please look at the license header in the files for detail
+
+License:
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the author nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+On Debian systems, the text of the 3-Clause BSD license can be found in
+'/usr/share/common-licenses/BSD'.

+ 1 - 0
debian/links

@@ -0,0 +1 @@
+/usr/share/stdd/stdd /usr/bin/stdd

+ 11 - 0
debian/rules

@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+# This file was automatically generated by stdeb 0.6.0+git at
+# Sun, 14 Apr 2013 00:45:09 +0200
+
+%:
+        dh $@ --with python2
+override_dh_auto_install:
+        python setup.py install --root=debian/stdd --install-layout=deb --install-lib=/usr/share/stov --install-scripts=/usr/share/stov
+override_dh_auto_build:
+

+ 1 - 0
debian/source/format

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

+ 1 - 0
debian/stdd.manpages

@@ -0,0 +1 @@
+doc/stdd.1

+ 3 - 0
debian/watch

@@ -0,0 +1,3 @@
+version=3
+
+This project does not currently have a website which could be automatically tracked. However, since the debian package is maintained by the upstream author, no tracking is needed.