ALT Linux Bugzilla
– Attachment 1459 Details for
Bug 7144
FR: add Canon CAPT support
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Canon LBP Linux driver (CAPT) spec
cndrvcups-capt.spec (text/plain), 3.94 KB, created by
Michael Shigorin
on 2006-04-20 23:11:10 MSD
(
hide
)
Description:
Canon LBP Linux driver (CAPT) spec
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2006-04-20 23:11:10 MSD
Size:
3.94 KB
patch
obsolete
>%define REL 1 > >Name: cndrvcups-capt >Version: 1.20 >Release: alt1 > ># Copyright: Copyright CANON INC. 2004-2005. All Rights Reserved. >Summary: Canon CAPT Printer Driver for Linux v%VERSION >License: See the LICENSE*.txt file. >Group: Publishing > >Url: http://software.canon-europe.com >Source0: ftp://download.canon.jp/pub/driver/lasershot/linux/cndrvcups-capt-%version-%REL.tar.gz > >Requires: cndrvcups-common >= %version >Requires: libxml2 gtk+ > >BuildRequires: cndrvcups-common-devel >= %version >BuildRequires: libxml2-devel gtk+-devel glib2-devel libcups-devel > >%description >Canon CAPT Printer Driver for Linux. >This CAPT printer driver provides printing functions for Canon LBP printers >operating under the CUPS (Common UNIX Printing System) environment. > >%prep >%setup -q > >cd backend >./autogen.sh --prefix=%prefix --libdir=%_libdir --enable-progpath=%_bindir > >cd ../pstocapt >./autogen.sh --prefix=%prefix --libdir=%_libdir --enable-progpath=%_bindir > >cd ../ppd >./autogen.sh --prefix=%prefix > >cd ../statusui >set `automake --version` >am_ver=`expr substr $4 1 3` >case $am_ver in > "1.4" | "1.5" ) > ./autogen-old.sh --libdir=%_libdir ;; > * ) > ./autogen.sh --libdir=%_libdir ;; >esac > >%build ># argh >unset target >make > >%install >mkdir -pv %buildroot%_bindir/ >mkdir -pv %buildroot%_sbindir/ >#mkdir -pv %buildroot%prefix/local/bin >mkdir -pv %buildroot%_libdir/cups/backend/ >mkdir -pv %buildroot%_libdir/cups/filter/ >#mkdir -pv %buildroot%prefix/local/share/locale/ja/LC_MESSAGES >mkdir -pv %buildroot%_datadir/locale/ja/LC_MESSAGES/ >mkdir -pv %buildroot%_datadir/ccpd/ >mkdir -pv %buildroot%_datadir/captmon/ >mkdir -pv %buildroot%_datadir/captmon2/ >mkdir -pv %buildroot%_datadir/cups/model/ >mkdir -pv %buildroot%_datadir/doc/%name-%version/JP/ >mkdir -pv %buildroot%_datadir/doc/%name-%version/EN/ >mkdir -pv %buildroot%_initdir/ > >subst 's,/usr/local,%prefix,g' `find -name Makefile` >make install DESTDIR=%buildroot > >install -c -s -m 755 libs/captmon/captmon %buildroot%_bindir/ >install -c -s -m 755 libs/captmon2/captmon2 %buildroot%_bindir/ >install -c -s -m 755 libs/captfilter %buildroot%_bindir/ >install -c -s -m 644 libs/ccpddata/CNAB1CL.BIN %buildroot%_datadir/ccpd >install -c -s -m 644 libs/captmon/msgtable.xml %buildroot%_datadir/captmon >install -c -s -m 644 libs/captmon2/msgtable2.xml %buildroot%_datadir/captmon2 >install -c -s -m 755 libs/ccpd %buildroot%_sbindir/ >install -c -s -m 755 libs/ccpdadmin %buildroot%_sbindir/ >install -c -s -m 644 samples/ccpd.conf %buildroot%_sysconfdir/ >install -c -s -m 755 samples/ccpd %buildroot%_initdir/ > >%post >if [ ! -d /var/ccpd ] ; then > mkdir /var/ccpd > mkfifo -m 600 /var/ccpd/fifo0 > mkfifo -m 600 /var/ccpd/fifo1 > mkfifo -m 600 /var/ccpd/fifo2 > mkfifo -m 600 /var/ccpd/fifo3 > mkfifo -m 600 /var/ccpd/fifo4 > mkfifo -m 600 /var/ccpd/fifo5 > mkfifo -m 600 /var/ccpd/fifo6 > mkfifo -m 600 /var/ccpd/fifo7 > > chown lp.lp /var/ccpd/* >fi >if [ ! -d /var/captmon ] ; then > mkdir /var/captmon > chown lp.lp /var/captmon >fi > ># /sbin/chkconfig --add ccpd > >%preun ># if [ "$1" = 0 ] ; then ># /sbin/service ccpd stop > /dev/null 2>&1 ># /sbin/chkconfig --del ccpd ># fi ># exit 0 > >%postun >if [ "$1" = 0 ] ; then > rm -Rf /var/ccpd > rm -Rf /var/captmon ># else ># /sbin/service ccpd restart > /dev/null 2>&1 >fi > >%files >%_libdir/cups/backend/ccp >%_libdir/cups/filter/pstocapt >%_bindir/captstatusui >%_datadir/locale/ja/LC_MESSAGES/captstatusui.mo >%_datadir/cups/model/CNCUPS*CAPT*.PPD >%_datadir/ccpd/CNAB1CL.BIN >%_datadir/captmon/msgtable.xml >%_datadir/captmon2/msgtable2.xml >%_bindir/captmon >%_bindir/captmon2 >%_bindir/captfilter >%_sbindir/ccpd >%_sbindir/ccpdadmin > >%config(noreplace) %_sysconfdir/ccpd.conf >%config %_initdir/ccpd > >%doc README-capt-1.2xE.txt >%doc README-capt-1.2xJ.txt >%doc LICENSE-capt-%{version}E.txt >%doc LICENSE-capt-%{version}J.txt > >%changelog >* Wed Mar 22 2006 Michael Shigorin <mike@altlinux.org> 1.20-alt1 >- built for ALT Linux >- spec *cleanup* (more needed) >- added Url and FTP location >- buildrequires >- FHS fixes >- data/config files no more marked executable >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7144
:
948
|
1458
| 1459