--- brother-cups-wrapper-laser-2.0.1-2.orig/debian/copyright +++ brother-cups-wrapper-laser-2.0.1-2/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Saïvann Carignan +Fri, 15 Feb 2008 10:07:22 -0500 + +brother-cups-wrapper-laser was downloaded from: http://solutions.brother.com/linux/en_us/ + + +Licence: GPL-2 (see /usr/share/common-licenses/GPL-2) + + This library 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. + + This library 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 library; if not, write to Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +The Debian packaging is © 2008, Saïvann Carignan +and is licensed under the GPL2 (See /usr/share/common-licenses/GPL-2) + +Copyright (C) 2005 Brother. Industries, Ltd. --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/rules +++ brother-cups-wrapper-laser-2.0.1-2/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + + +CC = gcc +CFLAGS = -g -Wall + +#export DH_VERBOSE=1 + + +install: build + dh_testdir + dh_testroot + mkdir -p debian/tmp/usr/share/cups/model + mkdir -p debian/tmp/scripts + + # Remove stuff that cause problems or outputs when brother scripts are used to create ppd files. + cp scripts/* debian/tmp/scripts/ + sed -i s/'mkdir -p \/usr'/'mkdir -p debian\/tmp\/usr'/g debian/tmp/scripts/* + sed -i s/'brotherlpdwrapper=\/usr'/'brotherlpdwrapper=debian\/tmp\/usr'/g debian/tmp/scripts/* + sed -i s/'ppd_file_name=\/usr\/share'/'ppd_file_name=debian\/tmp\/usr\/share'/g debian/tmp/scripts/* + sed -i s/'mkdir -p debian\/tmp\/usr\/local\/Brother\/filter'// debian/tmp/scripts/* + sed -i s/' echo "ERROR : Brother LPD filter is not installed."'/'echo ""'/ debian/tmp/scripts/* + sed -i s/'chmod a+w'/'#chmod a+w'/g debian/tmp/scripts/* + sed -i s/'sleep 2s'// debian/tmp/scripts/* + sed -i s/'lpinfo -v'/'echo ""'/g debian/tmp/scripts/* + sed -i s/' cp $brotherlpdwrapper $brotherlpdwrapper64'// debian/tmp/scripts/* + sed -i '/^lpadmin/d' debian/tmp/scripts/* + + for i in `ls debian/tmp/scripts/` ; do \ + ./debian/tmp/scripts/$$i ; \ + done + + dh_install + + +build: + gcc brcupsconfig3/brcupsconfig.c -o brcupsconfig3/brcupsconfig3 + +binary-indep: build install + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -a + dh_installchangelogs -a + dh_strip -a + dh_compress -a + dh_fixperms -a + chmod a+x debian/brother-cups-wrapper-laser/usr/lib/cups/filter/brlpdwrapper* + 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 checkroot + +clean: + dh_testdir + dh_clean + rm -f build --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/changelog +++ brother-cups-wrapper-laser-2.0.1-2/debian/changelog @@ -0,0 +1,5 @@ +brother-cups-wrapper-laser (2.0.1-2-0ubuntu1) hardy; urgency=low + + * Initial release + + -- Saïvann Carignan Fri, 15 Feb 2008 10:07:22 -0500 --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/control +++ brother-cups-wrapper-laser-2.0.1-2/debian/control @@ -0,0 +1,130 @@ +Source: brother-cups-wrapper-laser +Section: text +Priority: optional +Homepage: http://solutions.brother.com/linux/en_us/ +Maintainer: Ubuntu MOTU Team +XSBC-Original-Maintainer: Saïvann Carignan +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.3 + +Package: brother-cups-wrapper-laser +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, csh, brother-lpr-drivers-laser +Conflicts: cupswrapperdcp7010, cupswrapperdcp7020, cupswrapperdcp7025, cupswrapperdcp8060, cupswrapperdcp8065dn, cupswrapperfax2820, cupswrapperfax2920, cupswrapperhl2030, cupswrapperhl2040, cupswrapperhl2070n, cupswrapperhl5240, cupswrapperhl5250dn, cupswrapperhl5270dn, cupswrapperhl5280dw, cupswrappermfc7220, cupswrappermfc7225n, cupswrappermfc7420, cupswrappermfc7820n, cupswrappermfc8460n, cupswrappermfc8660dn, cupswrappermfc8860dn, cupswrappermfc8870dw +Replaces: cupswrapperdcp7010, cupswrapperdcp7020, cupswrapperdcp7025, cupswrapperdcp8060, cupswrapperdcp8065dn, cupswrapperfax2820, cupswrapperfax2920, cupswrapperhl2030, cupswrapperhl2040, cupswrapperhl2070n, cupswrapperhl5240, cupswrapperhl5250dn, cupswrapperhl5270dn, cupswrapperhl5280dw, cupswrappermfc7220, cupswrappermfc7225n, cupswrappermfc7420, cupswrappermfc7820n, cupswrappermfc8460n, cupswrappermfc8660dn, cupswrappermfc8860dn, cupswrappermfc8870dw +Description: Cups Wrapper drivers for laser brother printers + This package provide all cups wrapper drivers for models DCP-7010 + DCP-7020 DCP-7025 DCP-8060 DCP-8065DN FAX-2820 FAX-2920 + HL-2030 HL-2040 HL-2070N HL-5240 HL-5250DN HL-5270DN HL-5280DW + MFC-7220 MFC-7225N MFC-7420 MFC-7820N MFC-8460N MFC-8660DN + MFC-8860DN MFC-8870DW + +Package: cupswrapperdcp7010 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperdcp7020 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperdcp7025 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperdcp8060 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperdcp8065dn +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperfax2820 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperfax2920 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperhl2030 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperhl2040 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperhl2070n +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperhl5240 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperhl5250dn +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperhl5270dn +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrapperhl5280dw +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrappermfc7220 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrappermfc7225n +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrappermfc7420 +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrappermfc7820n +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrappermfc8460n +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrappermfc8660dn +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrappermfc8860dn +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser + +Package: cupswrappermfc8870dw +Architecture: i386 amd64 +Depends: brother-cups-wrapper-laser +Description: transitional package for brother-cups-wrapper-laser --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/compat +++ brother-cups-wrapper-laser-2.0.1-2/debian/compat @@ -0,0 +1 @@ +5 --- brother-cups-wrapper-laser-2.0.1-2.orig/debian/brother-cups-wrapper-laser.install +++ brother-cups-wrapper-laser-2.0.1-2/debian/brother-cups-wrapper-laser.install @@ -0,0 +1,3 @@ + brcupsconfig3/brcupsconfig3 usr/local/Brother/cupswrapper/ + debian/tmp/usr/share/cups/model/* usr/share/ppd/Brother/ + debian/tmp/usr/lib/cups/filter/* usr/lib/cups/filter