--- rand-1.0.3.orig/debian/rules +++ rand-1.0.3/debian/rules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f + +CC=gcc +package=rand +CFLAGS=-Wall -O2 + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 +endif + +build: + dh_testdir + +clean: + dh_testdir + dh_testroot + rm -f *.o + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) prefix=$(CURDIR)/debian/$(package)/usr/bin \ + mandir=$(CURDIR)/debian/$(package)/usr/share/man \ + install + +binary-indep: install + +binary-arch: install + dh_installdocs -a + dh_installchangelogs -a ChangeLog + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean --- rand-1.0.3.orig/debian/dirs +++ rand-1.0.3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- rand-1.0.3.orig/debian/changelog +++ rand-1.0.3/debian/changelog @@ -0,0 +1,6 @@ +rand (1.0.3-0ubuntu1) jaunty; urgency=low + + * Initial release. (LP: #303812) + + -- Guduleasa Alexandru Ionut Mon, 25 Dec 2008 20:06:52 +0200 + --- rand-1.0.3.orig/debian/control +++ rand-1.0.3/debian/control @@ -0,0 +1,17 @@ +Source: rand +Section: utils +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Guduleasa Alexandru Ionut +Standards-Version: 3.8.0 +Build-Depends: debhelper (>= 5.0.0), cdbs +Homepage: https://launchpad.net/rand + +Package: rand +Architecture: any +Depends: ${shlibs:Depends} +Description: random number/character generator + This program can be used to write pseudo random numbers/characters to + the standard output. The arguments can be used to generate integer or + float numbers with a certain precision, or to "mask" the numbers with + certain characters. --- rand-1.0.3.orig/debian/compat +++ rand-1.0.3/debian/compat @@ -0,0 +1 @@ +5 --- rand-1.0.3.orig/debian/copyright +++ rand-1.0.3/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Guduleasa Alexandru Ionut +on Mon, 01 Dec 2008 01:26:31 +0200 + +It was downloaded from: https://launchpad.net/rand + +Upstream Author: + Guduleasa Alexandru Ionut + +Copyright: + Copyright (C) 2008 by Guduleasa Alexandru Ionut + +License: + 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 program 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, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL-3 file. + +Packaging: + The Debian packaging is Copyright (C) 2008 by Guduleasa Alexandru Ionut + and is licensed under the GPLv3 (or later), see above. --- rand-1.0.3.orig/debian/rand.1 +++ rand-1.0.3/debian/rand.1 @@ -0,0 +1,80 @@ +.\"================================ rand ================================= +.\"Name: rand +.\"e-mail: gulyan89@yahoo.com +.\"Start date: 30 November - 2008 +.\" +.\"Copyright (c) 2008 Guduleasa Alexandru Ionut +.\" +.\" +.\" +.\" 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 program 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 . + +.TH rand 1 "December 18, 2008" "version 1.0" "USER COMMANDS" +.SH NAME +rand \- display a random numbers +.SH SYNOPSIS +.B rand +[\fIOPTION\fR] +.SH DESCRIPTION +.PP +Write random numbers to standard output. +.SH OPTIONS +.TP +\fB\-N\fR \fIcount\fR +the count of random numbers +.TP +\fB\-e\fR +enable interpretation of backslash escapes +.TP +\fB\-E\fR +disable interpretation of backslash escapes (default) +.TP +\fB\-M, --max\fR \fInumber\fR +the limit of the random numbers (default 32576) +.TP +\fB\-u, --unique\fR +generate unique numbers (non duplicate values) +.TP +\fB\-f\fR +generate float numbers from 0 to 1 +.TP +\fB\-p\fR \fIprecision\fR +the precision of float numbers (activates -f) +.TP +\fB\-s\fR \fInumber\fR +the seed for the random numbers generator (default time(NULL)) +.TP +\fB\-d\fR \fISTRING\fR +delimiter between the numbers (default SPACE) +.TP +\fB\--eof\fR \fISTRING\fR +What to print at the end of the program (default newline) +.TP +\fB\--bof\fR \fISTRING\fR +What to print at the beginning of the program (default nothing) +.TP +\fB\--mask\fR \fISTRING\fR +Mask the numbers (integer only) and display characters according to the mask. +.TP +\fB\--version\fR +output version information and exit +.SH AUTHOR +Written by Guduleasa Alexandru Ionut. +.SH "REPORTING BUGS" +Report bugs to . +.SH COPYRIGHT +Copyright \(co 2008 gulyan89@yahoo.com. +License GPLv3+: GNU GPL version 3 or later +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. --- rand-1.0.3.orig/debian/watch +++ rand-1.0.3/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://sf.net/rand/rand-(\d.*)\.tar\.gz +