--- smart-1.1.1~bzr20081010.orig/setup.py +++ smart-1.1.1~bzr20081010/setup.py @@ -56,8 +56,7 @@ distutils.file_util.copy_file = copy_file distutils.dir_util.copy_tree = copy_tree -PYTHONLIB = os.path.join(get_python_lib(plat_specific=1, standard_lib=1, - prefix=""), "site-packages") +PYTHONLIB = sysconfig.get_python_lib()[5:] config_h = sysconfig.get_config_h_filename() config_h_vars = sysconfig.parse_config_h(open(config_h)) --- smart-1.1.1~bzr20081010.orig/debian/smartpm-core.postrm +++ smart-1.1.1~bzr20081010/debian/smartpm-core.postrm @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +case "$1" in + remove) + ;; + purge) + if [ -d /var/lib/smart ]; then + rm -rf /var/lib/smart + fi + ;; +esac + + +#DEBHELPER# --- smart-1.1.1~bzr20081010.orig/debian/distro.py.conectiva +++ smart-1.1.1~bzr20081010/debian/distro.py.conectiva @@ -0,0 +1,41 @@ + +if not sysconf.getReadOnly(): + if not sysconf.has("channels"): + sysconf.set(("channels", "rpm-sys"), + {"type": "rpm-sys", + "name": "RPM Database"}) + + import socket + try: + socket.gethostbyname("mapi8.distro.conectiva") + except socket.error: + sysconf.set(("channels", "mapi8"), + {"type": "apt-rpm", + "name": "Conectiva Linux Snapshot", + "baseurl": "ftp://ftp.conectiva.com.br/" + "pub/conectiva/snapshot/i386/", + "components": "all"}) + sysconf.set(("channels", "mirrors"), + {"type": "mirrors", + "name": "Conectiva Snapshot Mirrors", + "url": "ftp://ftp.conectiva.com.br/pub/" + "conectiva/snapshot/i386/base/mirrors.txt"}) + else: + sysconf.set(("channels", "mapi8"), + {"type": "apt-rpm", + "name": "Conectiva Linux Snapshot", + "baseurl": "ftp://mapi8.distro.conectiva/" + "pub/snapshot/conectiva", + "components": "all"}) + + for type in ["", "BOOT", "enterprise", "smp", "highmem", "highmem-smp", + "uml", "uml-smp"]: + if type: + kernel = "kernel26-%s" % type + else: + kernel = "kernel26" + pkgconf.setFlag("multi-version", kernel) + for module in ["madwifi", "hsfmodem", "slmodem", + "nvidia", "ndiswrapper"]: + pkgconf.setFlag("multi-version", "%s-module-%s" % (kernel, module)) + --- smart-1.1.1~bzr20081010.orig/debian/control +++ smart-1.1.1~bzr20081010/debian/control @@ -0,0 +1,50 @@ +Source: smart +Section: admin +Priority: optional +Maintainer: Ubuntu Core Developers +Build-Depends: debhelper (>= 5.0.37.2), python-central (>= 0.5), python-all-dev (>= 2.3.5-11), dpatch +Standards-Version: 3.8.0 +XS-Python-Version: current + +Package: smartpm +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, smartpm-core (= ${binary:Version}), python-gtk2 +Provides: ${python:Provides} +Description: An alternative package manager that works with dpkg/rpm + The Smart Package Manager project has the ambitious objective of + creating smart and portable algorithms for solving adequately the + problem of managing software upgrading and installation. This tool + works in all major distributions (APT, APT-RPM, YUM, URPMI, etc). + . + This package contains the GTK2 frontend for Smart. +XB-Python-Version: ${python:Versions} + +Package: smartpm-core +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-smartpm +Suggests: python-rpm +Provides: ${python:Provides} +Replaces: smartpm (<< 0.52-2) +Description: An alternative package manager that works with dpkg/rpm + The Smart Package Manager project has the ambitious objective of + creating smart and portable algorithms for solving adequately the + problem of managing software upgrading and installation. This tool + works in all major distributions (APT, APT-RPM, YUM, URPMI, etc). + . + This package contains the command line functionality. +XB-Python-Version: ${python:Versions} + +Package: python-smartpm +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-pycurl, python-pexpect +Provides: ${python:Provides} +Replaces: smartpm-core (<< 1.1.1~bzr20081010-0ubuntu0.8.10) +Description: Python library of the Smart Package Manager + An alternative package manager that works with dpkg/rpm + The Smart Package Manager project has the ambitious objective of + creating smart and portable algorithms for solving adequately the + problem of managing software upgrading and installation. This tool + works in all major distributions (APT, APT-RPM, YUM, URPMI, etc). + . + This package contains a python library for Smart. +XB-Python-Version: ${python:Versions} --- smart-1.1.1~bzr20081010.orig/debian/smart.desktop +++ smart-1.1.1~bzr20081010/debian/smart.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Smart Package Manager +Exec=smart --gui +Icon=smart +Type=Application +Categories=Network; --- smart-1.1.1~bzr20081010.orig/debian/compat +++ smart-1.1.1~bzr20081010/debian/compat @@ -0,0 +1 @@ +5 --- smart-1.1.1~bzr20081010.orig/debian/smartpm-core.postinst +++ smart-1.1.1~bzr20081010/debian/smartpm-core.postinst @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + + +#DEBHELPER# + +case "$1" in + configure) + # run it once to activate the aptchannelsync plugin + smart > /dev/null || true + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + --- smart-1.1.1~bzr20081010.orig/debian/smartpm-core.docs +++ smart-1.1.1~bzr20081010/debian/smartpm-core.docs @@ -0,0 +1,2 @@ +README +TODO --- smart-1.1.1~bzr20081010.orig/debian/smart.xpm +++ smart-1.1.1~bzr20081010/debian/smart.xpm @@ -0,0 +1,312 @@ +/* XPM */ +static char * smart2_xpm[] = { +"32 32 277 2", +" c None", +". c #D9DEE2", +"+ c #C3CCD2", +"@ c #C0C9C6", +"# c #E3EAD1", +"$ c #D0D8CA", +"% c #CBCED1", +"& c #B6B2A2", +"* c #D5A959", +"= c #A49C86", +"- c #C7CBCA", +"; c #CEC9A8", +"> c #FBECB4", +", c #FCEFBD", +"' c #FAF5C9", +") c #ABB5B0", +"! c #A9A799", +"~ c #DCAE59", +"{ c #DCAC55", +"] c #D5A654", +"^ c #9E9379", +"/ c #C8BC95", +"( c #F9D68A", +"_ c #F8DA96", +": c #F9E0A2", +"< c #F9E4AA", +"[ c #D7B97E", +"} c #D7A955", +"| c #DEAE56", +"1 c #D9A954", +"2 c #D3A251", +"3 c #9F8D6B", +"4 c #BABCB9", +"5 c #E8C073", +"6 c #F7CD7B", +"7 c #E0B76F", +"8 c #B57F3C", +"9 c #AE7027", +"0 c #C18430", +"a c #DAA952", +"b c #D4A452", +"c c #CE9D50", +"d c #A48E67", +"e c #AE9D7B", +"f c #B67F3B", +"g c #9A6127", +"h c #9E6528", +"i c #A86D28", +"j c #B77829", +"k c #B87C2E", +"l c #D7A44F", +"m c #D8A854", +"n c #D0A051", +"o c #C9984E", +"p c #A48A61", +"q c #A7B5C8", +"r c #9F8371", +"s c #925B25", +"t c #965F28", +"u c #A16828", +"v c #B27429", +"w c #AE7129", +"x c #B0762E", +"y c #D4A24E", +"z c #DBAB55", +"A c #D3A352", +"B c #CB9B4F", +"C c #BE914F", +"D c #8B8B84", +"E c #A5B8D4", +"F c #83AEF9", +"G c #A08B80", +"H c #8E5725", +"I c #9A6228", +"J c #AC7029", +"K c #A86D29", +"L c #A56B28", +"M c #A66D2B", +"N c #CD9B4A", +"O c #D7A754", +"P c #C99D53", +"Q c #7F7C72", +"R c #7CAAFD", +"S c #82ADFB", +"T c #9F9291", +"U c #945D28", +"V c #A66C28", +"W c #A36928", +"X c #A06628", +"Y c #9C6428", +"Z c #9A6229", +"` c #C08F46", +" . c #6F7167", +".. c #999EA2", +"+. c #D9D9D9", +"@. c #C9C9C9", +"#. c #D0D0D0", +"$. c #C5C5C5", +"%. c #A3ABB6", +"&. c #7A9EE0", +"*. c #7BA9FF", +"=. c #82ADFC", +"-. c #A69DA0", +";. c #A26929", +">. c #9E6428", +",. c #965E27", +"'. c #AB7736", +"). c #D2A14F", +"!. c #D9AD59", +"~. c #CAA65F", +"{. c #A29368", +"]. c #879299", +"^. c #EDEDED", +"/. c #F6F6F6", +"(. c #F1F1F1", +"_. c #DEDEDE", +":. c #DDDDDC", +"<. c #D1D2D2", +"[. c #839BC9", +"}. c #85AFFE", +"|. c #8EB6FE", +"1. c #AFA9AD", +"2. c #996129", +"3. c #9A632C", +"4. c #B68543", +"5. c #CD9D50", +"6. c #D2A252", +"7. c #D3A556", +"8. c #978965", +"9. c #919394", +"0. c #DADADA", +"a. c #F0F0F0", +"b. c #FCFCFC", +"c. c #F8F8F8", +"d. c #F3F3F3", +"e. c #E1E1E1", +"f. c #E3E3E3", +"g. c #F3F4F8", +"h. c #DDDFE2", +"i. c #7A98D3", +"j. c #94B9FF", +"k. c #9CBFFF", +"l. c #C2BEC3", +"m. c #A38D7F", +"n. c #A78769", +"o. c #AB8760", +"p. c #AE8D64", +"q. c #6F7679", +"r. c #BABABA", +"s. c #D6D6D6", +"t. c #FBFBFB", +"u. c #E8E8E8", +"v. c #EFF0F2", +"w. c #F8FAFF", +"x. c #F8F9FE", +"y. c #AAB3C5", +"z. c #729FF3", +"A. c #A1C1FF", +"B. c #BDD3FF", +"C. c #9FBFFF", +"D. c #A0BFFF", +"E. c #A7C0ED", +"F. c #A5A7A9", +"G. c #EAEAEA", +"H. c #F5F5F5", +"I. c #ECECEC", +"J. c #F8FAFD", +"K. c #F5F8FF", +"L. c #D9DCE3", +"M. c #7198E3", +"N. c #7BA8FF", +"O. c #C3D7FF", +"P. c #A1BEFF", +"Q. c #A7C2FF", +"R. c #ACC6FF", +"S. c #B1C6EB", +"T. c #ADB0B2", +"U. c #DDDDDD", +"V. c #EBEBEB", +"W. c #EEEEEE", +"X. c #B8B8B8", +"Y. c #B8B8B9", +"Z. c #EEEFF1", +"`. c #EBECEE", +" + c #E0E1E2", +".+ c #D2D2D1", +"++ c #7A97CE", +"@+ c #7AA7FF", +"#+ c #CBDCFF", +"$+ c #AEC8FF", +"%+ c #ABCEFF", +"&+ c #ACD0FF", +"*+ c #B9CDEB", +"=+ c #D5D5D5", +"-+ c #DADBDB", +";+ c #E4E5E7", +">+ c #EDEFF1", +",+ c #F0F1F3", +"'+ c #979797", +")+ c #9D9D9D", +"!+ c #E4E4E4", +"~+ c #D6D6D4", +"{+ c #7D97C7", +"]+ c #7EAAFF", +"^+ c #D4E3FF", +"/+ c #B7D2FF", +"(+ c #AFD3FF", +"_+ c #ADD3FF", +":+ c #C2D3EB", +"<+ c #D3D4D4", +"[+ c #EFF3F8", +"}+ c #F7F9FC", +"|+ c #E4E4E5", +"1+ c #E6E6E6", +"2+ c #F4F4F4", +"3+ c #D6D7D6", +"4+ c #7A9AD8", +"5+ c #82ADFF", +"6+ c #DEE9FF", +"7+ c #C0D9FF", +"8+ c #A3D1FF", +"9+ c #A1D1FF", +"0+ c #CAD9EB", +"a+ c #E5E5E5", +"b+ c #DEE0E1", +"c+ c #F6F9FF", +"d+ c #F8F9FF", +"e+ c #F1F2F4", +"f+ c #F7F7F7", +"g+ c #FAFAFA", +"h+ c #F2F2F2", +"i+ c #BFC0C1", +"j+ c #98B3E5", +"k+ c #86AEFF", +"l+ c #E7EFFF", +"m+ c #C7DEFF", +"n+ c #9DCFFF", +"o+ c #ABD6FF", +"p+ c #D5E0EB", +"q+ c #ADAFB2", +"r+ c #C1C1C2", +"s+ c #F5F8FC", +"t+ c #F3F6FA", +"u+ c #E7E7E7", +"v+ c #8B949F", +"w+ c #D8E2F5", +"x+ c #C4D8FF", +"y+ c #F0F6FF", +"z+ c #D8E9FF", +"A+ c #D6EAFF", +"B+ c #F2F6FF", +"C+ c #B6C2DB", +"D+ c #B2B4B6", +"E+ c #E6E7E8", +"F+ c #979898", +"G+ c #909FB3", +"H+ c #E0E7F4", +"I+ c #FCFDFF", +"J+ c #F9FAFF", +"K+ c #DCE3F4", +"L+ c #8897B4", +"M+ c #8F959D", +"N+ c #CCCCCC", +"O+ c #A3A3A3", +"P+ c #C6C6C6", +"Q+ c #CBCBCB", +"R+ c #878787", +"S+ c #A0A0A0", +"T+ c #95A3B5", +"U+ c #D7E0F2", +"V+ c #A1B0C9", +"W+ c #828B99", +"X+ c #AEAEAE", +"Y+ c #909090", +"Z+ c #9B9B9B", +"`+ c #A4ABB4", +" @ c #B1B3B4", +" ", +" ", +" ", +" ", +" ", +" . + ", +" @ # $ % & * = ", +" - ; > , ' ) ! ~ { ] ^ ", +" / ( _ : < [ } | | 1 2 3 ", +" 4 5 6 7 8 9 0 a | { b c d ", +" e f g h i j k l | m n o p ", +" q r s t u v w x y z A B C D ", +" E F G H I J K L M N O P Q ", +" E R S T U V W X Y Z ` ... ", +" +.@.#.$.%.&.*.=.-.;.>.I ,.'.).!.~.{.]. ", +" #.^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9. ", +" 0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r. ", +" s.d.t.b./.u.v.w.x.y.z.A.B.C.C.D.E.F. ", +" e.f.G.d.t.H.I.J.w.K.L.M.N.O.P.Q.R.S.T. ", +" s.U.f.V.W.X.Y.Z.`. +.+++@+#+$+%+&+*+T. ", +" =+-+;+>+,+'+)+u.I.!+~+{+]+^+/+(+_+:+T. ", +" <+[+K.w.}+|+1+c.2+V.3+4+5+6+7+8+9+0+T. ", +" a+b+c+d+e+V.f+g+t.h+i+j+k+l+m+n+o+p+q+ ", +" r+s+t+f.u+2+f+g+2+v+w+x+y+z+A+B+C+D+ ", +" r+E++.!+(.H.c.)+F+G+H+I+J+K+L+M+ ", +" N+O+P+a+V.Q+R+S+ T+U+V+W+ ", +" X+'+Y+Z+ `+ @ ", +" ", +" ", +" ", +" ", +" "}; --- smart-1.1.1~bzr20081010.orig/debian/distro.py +++ smart-1.1.1~bzr20081010/debian/distro.py @@ -0,0 +1,11 @@ + +if not sysconf.getReadOnly(): + if not sysconf.has("sync-apt-sources"): + sysconf.set("sync-apt-sources", True, weak=True) + if not sysconf.has("detect-sys-channels"): + sysconf.set("detect-sys-channels", "deb", weak=True) + if sysconf.has("channels.rpm-sys"): + if sysconf.get("channels.rpm-sys.name") == "RPM System": + # Likely auto-detected in an old installation. Let's remove it + # to prevent dependency issues. + sysconf.remove("channels.rpm-sys") --- smart-1.1.1~bzr20081010.orig/debian/smartpm.files +++ smart-1.1.1~bzr20081010/debian/smartpm.files @@ -0,0 +1,2 @@ +usr/lib/python*/*-packages/smart/interfaces/gtk/ +usr/lib/python*/*-packages/smart/interfaces/images/*.png --- smart-1.1.1~bzr20081010.orig/debian/rules +++ smart-1.1.1~bzr20081010/debian/rules @@ -0,0 +1,118 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +PY := $(shell pyversions -d) + +include /usr/share/python/python.mk + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: patch configure-stamp + dh_testdir + + # Add here commands to compile the package. + #$(MAKE) + ./setup.py build + #/usr/bin/docbook-to-man debian/smart.sgml > smart.1 + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + #-$(MAKE) clean + ./setup.py clean --all + find . -name "*.so" -exec rm {} \; + find . -name "*.o" -exec rm {} \; + find . -name "*.pyc" -exec rm {} \; + find . -name "*.mo" -exec rm {} \; + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_installdirs -psmartpm \ + usr/bin \ + usr/lib/$(PY)/$(call py_sitename,$(PY))/smart/interfaces/gtk + + # Add here commands to install the package into debian/smart. + ./setup.py install --prefix=$(CURDIR)/debian/python-smartpm/usr $(py_setup_install_args) + install -D -p -m 0644 debian/distro.py $(CURDIR)/debian/python-smartpm/usr/lib/smart/distro.py + install -D -p -m 0644 debian/smart.xpm $(CURDIR)/debian/smartpm/usr/share/pixmaps + install -D -p -m 0644 debian/smart.desktop $(CURDIR)/debian/smartpm/usr/share/applications + mkdir -p $(CURDIR)/debian/python-smartpm/usr/share/smart + mv $(CURDIR)/debian/python-smartpm/usr/bin/smart $(CURDIR)/debian/python-smartpm/usr/share/smart/smart + ln -s ../share/smart/smart $(CURDIR)/debian/smartpm-core/usr/bin/smart + +# 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 + dh_installdocs + dh_installexamples + # split the package + dh_movefiles --sourcedir=debian/python-smartpm + # move the __init__ file back because it provides a useful + # error message + mv debian/smartpm/usr/lib/$(PY)/$(call py_sitename,$(PY))/smart/interfaces/gtk/__init__.py \ + debian/python-smartpm/usr/lib/$(PY)/$(call py_sitename,$(PY))/smart/interfaces/gtk + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_pycentral + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + +patch: patch-stamp +patch-stamp: + dpatch apply-all + touch patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- smart-1.1.1~bzr20081010.orig/debian/README.Debian +++ smart-1.1.1~bzr20081010/debian/README.Debian @@ -0,0 +1,8 @@ +smart for Debian +---------------- + +Smart is a package managment application with a lot of the features +that apt has and more. Smart can work as a cli application or as a GUI +application with a gtk frontend. It supports deb, rpm, slack packages. + + -- Michael Vogt , Fri, 16 Jun 2006 10:40:02 +0200 --- smart-1.1.1~bzr20081010.orig/debian/changelog +++ smart-1.1.1~bzr20081010/debian/changelog @@ -0,0 +1,288 @@ +smart (1.1.1~bzr20081010-0ubuntu0.8.10.2) jaunty; urgency=low + + * Build for python2.6. + + -- Matthias Klose Wed, 25 Feb 2009 12:42:52 +0000 + +smart (1.1.1~bzr20081010-0ubuntu0.8.10.1) intrepid; urgency=low + + * debian/control: Update Replaces for python-smartpm to include versions of + smartpm-core that were released in the Landscape repositories. + (LP: #288116) + + -- Christopher Armstrong Thu, 23 Oct 2008 10:52:51 -0400 + +smart (1.1.1~bzr20081010-0ubuntu0.8.10) intrepid; urgency=low + + * New upstream release (LP: #279343). + - Fixed NameError during smart update (LP: #273605). + - deb-non-interactive now implies dpkg --force-confold. + - Fix some dependency resolution problems in some situations. + - Rename test.py to test so it works in newer Python releases. + - Make 404 error wording more consistent. + + -- Christopher Armstrong Thu, 09 Oct 2008 16:33:31 -0400 + +smart (1.1-0ubuntu4) intrepid; urgency=low + + * Fixes for (LP: #269521) + - debian/control: + - Change Pre-Depend of smartpm-core on python-smartpm to a regular + Depends. + - Remove the conflict of python-smartpm with + smartpm-core (<< 1.1-0ubuntu2) + + -- Christopher Armstrong Fri, 12 Sep 2008 16:54:50 -0400 + +smart (1.1-0ubuntu3) intrepid; urgency=low + + * Fixes for (LP: #269417) + - debian/control: Changed dependency on python-smartpm to a Pre-Depends. + + -- Christopher Armstrong Fri, 12 Sep 2008 11:27:58 -0400 + +smart (1.1-0ubuntu2) intrepid; urgency=low + + * debian/rules: + - add clean rule for locale .mo's + - setup.py should target python-smartpm + - install distro.py to python-smartpm + - install xpm and desktop files to smartpm (gui pkg) (**) + - create /usr/bin/smart symlink in the smartpm-core package + - update dh_movefiles to run on python-smartpm + * debian/smartpm.files: no longer necessary (see **) + * debian/smartpm-core.dirs: moved to debian/smartpm.dirs + * debian/control: + - smartpm-core now should depend on python-smartpm + - add the python-smartpm package + - removed the ominous paragraph in the description about beta-testing + * debian/smartpm-core.files: manpage should be installed in smartpm-core, + not python-smartpm (library only) + + -- Dustin Kirkland Thu, 11 Sep 2008 11:51:32 -0400 + +smart (1.1-0ubuntu1) intrepid; urgency=low + + * Bug fix release: fixes archive validation bug + + -- Rick Clark Mon, 08 Sep 2008 15:53:28 -0500 + +smart (1.0-0ubuntu3) intrepid; urgency=low + + * debian/distro.py: + - Updated to not depend on python-rpm (LP: #261273) + + -- Stefan Lesicnik Tue, 26 Aug 2008 14:32:31 +0200 + +smart (1.0-0ubuntu2) intrepid; urgency=low + + * debian/control: moved python-rpm from depends to suggests + + -- Rick Clark Tue, 19 Aug 2008 06:02:47 -0500 + +smart (1.0-0ubuntu1) intrepid; urgency=low + + * New upstream release + * debian/copyright: Fixed FSF address and added correct symlink to GPL-2 + * debian/control: replaced depricated ${Source-Version} + + -- Rick Clark Fri, 15 Aug 2008 20:02:52 -0500 + +smart (0.52-2) unstable; urgency=low + + * fix incorrect maintainer address + + -- Michael Vogt Mon, 10 Dec 2007 14:23:08 +0100 + +smart (0.52-1) unstable; urgency=low + + * New upstream release + * drop 02_etc_auto_misc, taken upstream + + -- Michael Vogt Mon, 10 Dec 2007 12:49:56 +0100 + +smart (0.50-0ubuntu2) gutsy; urgency=low + + * added freedesktop-compliant .desktop file + * install .desktop file (LP #116222) + * provide an icon + + -- Mario Bonino Sun, 26 Aug 2007 14:18:02 +0200 + +smart (0.50-0ubuntu1) feisty; urgency=low + + * new upstream version + * changed maintainer field to follow new policy + + -- Michael Vogt Thu, 22 Feb 2007 09:55:20 +0100 + +smart (0.50~rc1-1ubuntu1) feisty; urgency=low + + * Make the build independent from the python version. + + -- Matthias Klose Sat, 13 Jan 2007 12:20:42 +0100 + +smart (0.50~rc1-1) unstable; urgency=low + + * New upstream release + * includes smart manpage (closes: #380039) + * don't fail if /etc/auto.misc is not readable (closes: #36429) + * fix copyright file + + -- Michael Vogt Fri, 15 Dec 2006 11:21:54 +0100 + +smart (0.42-0ubuntu2) edgy; urgency=low + + * added missing python-rpm dependency (lp: #47788) + * use python-central to build the package + + -- Michael Vogt Tue, 17 Oct 2006 10:55:00 +0200 + +smart (0.42-0ubuntu1) edgy; urgency=low + + [Lorenzo Villani] + * Patched __init__.py in interfaces/gtk to reflect the new package status + * New upstream release + * Splitted packages + [Michael Vogt] + * made the split into smartpm, smartpm-core + + -- Michael Vogt Thu, 27 Jul 2006 12:58:28 +0200 + +smart (0.41+svn727-1ubuntu1) edgy; urgency=low + + * updated the dependencies to reflect edgy + + -- Michael Vogt Wed, 21 Jun 2006 12:56:41 +0200 + +smart (0.41+svn727-1) unstable; urgency=low + + * new svn snapshot + + -- Michael Vogt Thu, 15 Jun 2006 09:11:25 +0200 + +smart (0.41-0ubuntu4) edgy; urgency=low + + * 02_apt_sync_plugin.dpatch: + - added plugin to keep the smart channels in sync with + /etc/apt/sources.list automatically, removed the default + channels, those will be taken from the sources.list. This + can be enabled/disabled via the sysconfig "sync-apt-sources" + option. + + -- Michael Vogt Thu, 8 Jun 2006 16:57:17 +0200 + +smart (0.41-0ubuntu3) dapper; urgency=low + + * Fixed wrong default channel for dapper (ubuntu #41123) + + -- Yves Junqueira (nictuku) Mon, 24 Apr 2006 19:39:23 -0300 + +smart (0.41-0ubuntu2) dapper; urgency=low + + * fixed FTBFS + + -- Michael Vogt Wed, 4 Jan 2006 16:19:06 +0100 + +smart (0.41-0ubuntu1) dapper; urgency=low + + * New upstream release + + -- Michael Vogt Wed, 28 Dec 2005 12:50:39 +0100 + +smart (0.40-0ubuntu1) dapper; urgency=low + + * New upstream release + + -- Michael Vogt Thu, 3 Nov 2005 11:53:10 -0500 + +smart (0.39-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Tue, 13 Sep 2005 16:59:27 +0200 + +smart (0.37-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Wed, 17 Aug 2005 09:33:15 +0200 + +smart (0.36-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Mon, 20 Jun 2005 11:28:11 +0200 + +smart (0.35-1) unstable; urgency=low + + * New upstream release + * uses dpatch + + -- Michael Vogt Wed, 25 May 2005 12:14:18 +0200 + +smart (0.30-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Fri, 25 Mar 2005 11:02:09 +0100 + +smart (0.29.2-1) unstable; urgency=low + + * New upstream release + * fixed FTBFS (pbuilder clean) (closes: #299299) + * improved the package description somewhat (closes: #299882) + + -- Michael Vogt Thu, 17 Mar 2005 17:46:40 +0100 + +smart (0.28-7) unstable; urgency=low + + * changed rebuild the ubuntu smart package for debian + + -- Michael Vogt Thu, 30 Dec 2004 11:34:36 +0100 + +smart (0.28-6) hoary; urgency=low + + * cleaned build/ from the source tree + + -- Michael Vogt Tue, 28 Dec 2004 13:13:19 +0100 + +smart (0.28-5) hoary; urgency=low + + * /var/lib/smart added to debian/dirs + * remove /var/lib/smart on purge + * fixed setup.py properly to work with --prefix + + -- Michael Vogt Tue, 28 Dec 2004 12:12:02 +0100 + +smart (0.28-4) hoary; urgency=low + + * rebuild for python2.4 + + -- Michael Vogt Thu, 23 Dec 2004 18:58:04 +0100 + +smart (0.28-3) hoary; urgency=low + + * fixed build-dependencies, + I'll never upload a package without checking it with pbuilder + + -- Michael Vogt Thu, 16 Dec 2004 11:03:05 +0100 + +smart (0.28-2) hoary; urgency=low + + * missing fnmatch.py added + + -- Michael Vogt Wed, 15 Dec 2004 22:43:59 +0100 + +smart (0.28-1) hoary; urgency=low + + * New upstream release, initial hoary release + + -- Michael Vogt Wed, 8 Dec 2004 17:05:57 +0100 + +smart (0.27-1) unstable; urgency=low + + * Initial Release. + + -- Michael Vogt Fri, 3 Dec 2004 22:10:41 +0100 + --- smart-1.1.1~bzr20081010.orig/debian/copyright +++ smart-1.1.1~bzr20081010/debian/copyright @@ -0,0 +1,119 @@ +This package was debianized by Michael Vogt on +Fri, 3 Dec 2004 22:10:41 +0100. + +It was downloaded from http://labix.org/smart + +Upstream Author: Gustavo Niemeyer + +Copyright: (c) 2004 Conectiva, Inc. + (c) 2005,2006 Canonical + +# Smart Package Manager 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 2 of the License, or (at +# your option) any later version. +# +# Smart Package Manager 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. + +The full license text is available under /usr/share/common-licenses/GPL-2 + + +Also include ElementTree: +------------------------- +Upstream Author: Fredrik Lundh + +License: + +By obtaining, using, and/or copying this software and/or its +associated documentation, you agree that you have read, understood, +and will comply with the following terms and conditions: + +Permission to use, copy, modify, and distribute this software and its +associated documentation for any purpose and without fee is hereby +granted, provided that the above copyright notice appears in all +copies, and that both that copyright notice and this permission notice +appear in supporting documentation, and that the name of Secret Labs +AB or the author not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR +ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +Also include cElementTree: +-------------------------- +Upstream Author: Fredrik Lundh + +License: + +The ElementTree package and the cElementTree accelerator are + +Copyright (c) 1999-2005 by Secret Labs AB +Copyright (c) 1999-2005 by Fredrik Lundh + +By obtaining, using, and/or copying this software and/or its +associated documentation, you agree that you have read, understood, +and will comply with the following terms and conditions: + +Permission to use, copy, modify, and distribute this software and its +associated documentation for any purpose and without fee is hereby +granted, provided that the above copyright notice appears in all +copies, and that both that copyright notice and this permission notice +appear in supporting documentation, and that the name of Secret Labs +AB or the author not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR +ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +Also includes smart/util/optparse.py: +------------------------------------- +Copyright (c) 2001-2004 Gregory P. Ward. All rights reserved. +Copyright (c) 2002-2004 Python Software Foundation. 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 THE AUTHOR OR +CONTRIBUTORS 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. --- smart-1.1.1~bzr20081010.orig/debian/smartpm-core.dirs +++ smart-1.1.1~bzr20081010/debian/smartpm-core.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/lib/smart +var/lib/smart --- smart-1.1.1~bzr20081010.orig/debian/smartpm-core.files +++ smart-1.1.1~bzr20081010/debian/smartpm-core.files @@ -0,0 +1 @@ +usr/share/man/man8/smart.8 --- smart-1.1.1~bzr20081010.orig/debian/smartpm.dirs +++ smart-1.1.1~bzr20081010/debian/smartpm.dirs @@ -0,0 +1,2 @@ +usr/share/pixmaps +usr/share/applications --- smart-1.1.1~bzr20081010.orig/debian/patches/00list +++ smart-1.1.1~bzr20081010/debian/patches/00list @@ -0,0 +1 @@ +01_inform_about_split --- smart-1.1.1~bzr20081010.orig/debian/patches/01_inform_about_split.dpatch +++ smart-1.1.1~bzr20081010/debian/patches/01_inform_about_split.dpatch @@ -0,0 +1,55 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_inform_about_split.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad smart-0.42~/smart/interfaces/gtk/__init__.py smart-0.42/smart/interfaces/gtk/__init__.py +--- smart-0.42~/smart/interfaces/gtk/__init__.py 2005-12-21 16:12:42.000000000 +0100 ++++ smart-0.42/smart/interfaces/gtk/__init__.py 2006-07-27 12:45:26.000000000 +0200 +@@ -23,6 +23,7 @@ + from smart.interface import getImagePath + from smart import * + import os ++import sys + + try: + import pygtk +@@ -35,13 +36,27 @@ + traceback.print_exc() + raise Error, _("System has no support for gtk python interface") + ++def splitted_error(): ++ print _("ERROR: The Smartpm package is splitted in two subpackages") ++ print _(" - smartpm-core: Core of the Smart Package Manager") ++ print _(" - smartpm: The GUI frontend") ++ print _("It seems that you tried to run the GUI frontend which is not installed yet") ++ print _("You need to install the smartpm package in order to use the GUI frontend") ++ sys.exit(1) ++ + def create(ctrl, command=None, argv=None): + if command: +- from smart.interfaces.gtk.command import GtkCommandInterface +- return GtkCommandInterface(ctrl) ++ try: ++ from smart.interfaces.gtk.command import GtkCommandInterface ++ return GtkCommandInterface(ctrl) ++ except ImportError: ++ splitted_error() + else: +- from smart.interfaces.gtk.interactive import GtkInteractiveInterface +- return GtkInteractiveInterface(ctrl) ++ try: ++ from smart.interfaces.gtk.interactive import GtkInteractiveInterface ++ return GtkInteractiveInterface(ctrl) ++ except ImportError: ++ splitted_error() + + _pixbuf = {} + +@@ -62,3 +77,4 @@ + r"automatically registered." + warnings.filterwarnings("ignore", MESSAGE) + ++