From ae9666e0e0747ac2b40dd71557f6b3c8aacbfd0b Mon Sep 17 00:00:00 2001 From: Grupa za izradu paketa Date: Mon, 22 Oct 2007 17:03:15 +0000 Subject: [PATCH 1/1] r1: [svn-inject] Installing original source of pine-cn --- README.CARNet | 8 +++++ changelog.CARNet | 1 + debian/changelog | 33 +++++++++++++++++++++ debian/compat | 1 + debian/control | 25 ++++++++++++++++ debian/docs | 2 ++ debian/postinst | 6 ++++ debian/prerm | 5 ++++ debian/rules | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 167 insertions(+) create mode 100644 README.CARNet create mode 120000 changelog.CARNet create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/docs create mode 100755 debian/postinst create mode 100755 debian/prerm create mode 100755 debian/rules diff --git a/README.CARNet b/README.CARNet new file mode 100644 index 0000000..ac061c8 --- /dev/null +++ b/README.CARNet @@ -0,0 +1,8 @@ +pine-cn +~~~~~~~ + +Ovaj paket donosi dodatnu konfiguraciju za pine paket pripremljen iz Debian +source paketa, i povlaci instalaciju "nano" paketa, editora vrlo slicnog +pico, ali je za razliku od njega dio standardne Debian distribucije. + + -- Zoran Dzelajlija Tue, 21 Oct 2003 21:40:37 +0200 diff --git a/changelog.CARNet b/changelog.CARNet new file mode 120000 index 0000000..194579e --- /dev/null +++ b/changelog.CARNet @@ -0,0 +1 @@ +changelog.Debian \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a9d0c8c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,33 @@ +pine-cn (2:4.64-1) carnet-etch; urgency=low + + * Prva verzija za Etch + + -- Ivan Rako Mon, 22 Oct 2007 19:00:07 +0200 + +pine-cn (2:4.62-1) testing; urgency=low + + * Nova verzija. + + -- Zoran Dzelajlija Fri, 28 Jan 2005 12:57:19 +0100 + +pine-cn (2:4.61-1) testing; urgency=low + + * Nova verzija. + + -- Zoran Dzelajlija Sun, 5 Sep 2004 05:11:25 +0200 + +pine-cn (4.58-1) stable; urgency=low + + * Ublazen Depends na pine paket, da radi sa Debianovim 4.58-1. + + -- Zoran Dzelajlija Tue, 21 Oct 2003 21:43:34 +0200 + +pine-cn (4.58-0) stable; urgency=low + + * Initial release as metapackage. + * Pull in pine and nano packages. + * Provide "pico" symlinks for nano binary and manual pages. + * Drop pilot from the package. + + -- Zoran Dzelajlija Fri, 12 Sep 2003 00:09:03 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..bf2ef22 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: pine-cn +Section: non-free/mail +Priority: optional +Maintainer: Ivan Rako +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1 + +Package: pine-cn +Architecture: all +Depends: pine (>= 4.64), nano +Provides: mail-reader +Description: An e-mail reader with MIME and IMAP support + Pine is a mail-user-agent that provides features for viewing e-mail. + . + Some form of mail-transport-agent is desirable for obtaining mail. However + fetchmail is sufficient in some cases to deal with the delivery. There are + several mail-transport-agents available, including smail, sendmail and others. + . + Pine needs no mail-transport-agent for sending mail, as it provides SMTP for + this purpose. + . + In addition to mail viewing, Pine provides features for viewing and creating + news group postings. + . + This is a metapackage depending on pine and nano packages. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..d92e2d1 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.CARNet +changelog.CARNet diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..e653912 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,6 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + update-alternatives --install /usr/bin/pico pico /usr/bin/nano 50 \ + --slave /usr/share/man/man1/pico.1.gz pico.1.gz /usr/share/man/man1/nano.1.gz +fi diff --git a/debian/prerm b/debian/prerm new file mode 100755 index 0000000..13a1b1c --- /dev/null +++ b/debian/prerm @@ -0,0 +1,5 @@ +#!/bin/sh -e + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove pico /usr/bin/nano +fi diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..40500b7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,86 @@ +#!/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 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + # $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + # -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/pine-cn. + # $(MAKE) install DESTDIR=$(CURDIR)/debian/pine-cn + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -k + dh_installdocs +# dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman +# dh_link +# dh_strip +# dh_compress + dh_fixperms +# dh_perl +# dh_python +# 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 configure -- 1.7.10.4