Permalink
Browse files

Added script for generating Debian packages (thanks to the Arora proj…

…ect).
  • Loading branch information...
1 parent 726f819 commit 43d5eac17f96d5d5f0dc3b6ab7272f9190ab2692 @riyad riyad committed Dec 1, 2009
Showing with 163 additions and 0 deletions.
  1. +7 −0 builddeb.sh
  2. +5 −0 debian-upstream/changelog.in
  3. +1 −0 debian-upstream/compat
  4. +18 −0 debian-upstream/control
  5. +39 −0 debian-upstream/copyright
  6. +2 −0 debian-upstream/docs
  7. +91 −0 debian-upstream/rules
View
@@ -0,0 +1,7 @@
+#!/bin/sh
+ln -sf debian-upstream debian
+cat debian/changelog.in | sed "s/##DATE##/`date +%Y%m%d`/g" | sed "s/##RDATE##/`date -R`/g" | sed "s/##DIST##/`lsb_release -cs`/g" > debian/changelog
+debuild -b
+fakeroot debian/rules clean
+rm debian/changelog
+rm debian
@@ -0,0 +1,5 @@
+basket (1.9x~git##DATE##-1~##DIST##1~upstream1) ##DIST##; urgency=low
+
+ * Initial release.
+
+ -- Riyad Preukschas <riyad@informatik.uni-bremen.de> ##RDATE##
View
@@ -0,0 +1 @@
+7
View
@@ -0,0 +1,18 @@
+Source: basket
+Section: kde
+Priority: extra
+Maintainer: Riyad Preukschas <riyad@informatik.uni-bremen.de>
+Build-Depends: debhelper (>= 7), cmake, kdelibs5-dev (>= 4.2)
+Standards-Version: 3.8.0
+Homepage: http://gitorious.org/basket
+
+Package: basket
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A multi-purpose note-taking application for KDE
+ This application provides as many baskets (drawers) as you wish; Several kinds
+ of objects (texts, URLs, images,...) can be drag-n-drop'd into it.
+ .
+ Objects can be edited, copied, dragged... So, they can be arranged according
+ to users' taste. Moreover, Basket allows you to keep all objects you want in
+ one place, keep data on hand, take notes...
View
@@ -0,0 +1,39 @@
+This package was debianized by:
+
+ Riyad Preukschas <riyad@informatik.uni-bremen.de> on Tue, 14 Jul 2009 14:27:11 +0200
+
+It was downloaded from:
+
+ http://gitorious.org/basket
+
+Upstream Author(s):
+
+ Riyad Preukschas <riyad@informatik.uni-bremen.de>
+
+Copyright:
+
+ Copyright (C) 2008-2009 Riyad Preukschas <riyad@informatik.uni-bremen.de>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 as
+ published by the Free Software Foundation.
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is:
+
+ Copyright C) 2009, Riyad Preukschas <riyad@informatik.uni-bremen.de>
+
+and is licensed under the GPL, see above.
View
@@ -0,0 +1,2 @@
+README
+TODO
View
@@ -0,0 +1,91 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+
+builddir/Makefile:
+ dh_testdir
+ # Add here commands to configure the package.
+ mkdir -p builddir
+ cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_LD_FLAGS="-Wl,-z,defs" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON
+
+
+build: build-stamp
+
+build-stamp: builddir/Makefile
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE) -C builddir
+ #docbook-to-man debian/basket.sgml > basket.1
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ rm -rf builddir
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ # Add here commands to install the package into debian/basket.
+ $(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/basket install
+
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install

0 comments on commit 43d5eac

Please sign in to comment.