rpms/cupsddk/F-7 cupsddk-no-gzip-man-pages.patch, NONE, 1.1 cupsddk-no-strip.patch, NONE, 1.1 cupsddk-smp-build.patch, NONE, 1.1 cupsddk.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Tue Jul 31 17:06:48 UTC 2007


Author: twaugh

Update of /cvs/pkgs/rpms/cupsddk/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29322/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	cupsddk-no-gzip-man-pages.patch cupsddk-no-strip.patch 
	cupsddk-smp-build.patch cupsddk.spec 
Log Message:
Initial check-in.


cupsddk-no-gzip-man-pages.patch:

--- NEW FILE cupsddk-no-gzip-man-pages.patch ---
--- cupsddk-1.2.0/configure.in.no-gzip-man-pages	2007-07-19 10:47:48.000000000 +0100
+++ cupsddk-1.2.0/configure.in	2007-07-19 10:48:17.000000000 +0100
@@ -332,7 +332,7 @@
 
 dnl More manpage stuff...
 case "$uname" in
-        Linux* | GNU*)
+        GNU*)
         	# Linux and GNU Hurd
         	MAN1EXT="1.gz"
         	MAN5EXT="5.gz"
--- cupsddk-1.2.0/configure.no-gzip-man-pages	2007-07-19 10:47:52.000000000 +0100
+++ cupsddk-1.2.0/configure	2007-07-19 10:48:29.000000000 +0100
@@ -5586,7 +5586,7 @@
 fi
 
 case "$uname" in
-        Linux* | GNU*)
+        GNU*)
         	# Linux and GNU Hurd
         	MAN1EXT="1.gz"
         	MAN5EXT="5.gz"

cupsddk-no-strip.patch:

--- NEW FILE cupsddk-no-strip.patch ---
--- cupsddk-1.2.0/Makedefs.in.no-strip	2007-07-20 12:03:13.000000000 +0100
+++ cupsddk-1.2.0/Makedefs.in	2007-07-20 12:03:19.000000000 +0100
@@ -49,7 +49,7 @@
 # Installation programs...
 #
 
-INSTALL_BIN	=	$(LIBTOOL) $(INSTALL) -m 755 -s
+INSTALL_BIN	=	$(LIBTOOL) $(INSTALL) -m 755
 INSTALL_DATA	=	$(INSTALL) -m 644
 INSTALL_DIR	=	$(INSTALL) -d
 INSTALL_MAN	=	$(INSTALL) -m 644

cupsddk-smp-build.patch:

--- NEW FILE cupsddk-smp-build.patch ---
--- cupsddk-1.2.0/cups/Makefile.smp-build	2007-07-19 11:18:48.000000000 +0100
+++ cupsddk-1.2.0/cups/Makefile	2007-07-19 11:19:06.000000000 +0100
@@ -176,7 +176,7 @@
 	$(CC) $(LDFLAGS) -o $@ testdither.o libcupsdriver.a \
 		$(CUPSLIBS_ST) $(LIBS)
 	if test ! -d images; then \
-		mkdir images; \
+		mkdir -p images; \
 	fi
 	./testdither > images/0-255.pgm
 	./testdither 0 127 255 > images/0-127-255.pgm


--- NEW FILE cupsddk.spec ---
#
# "$Id: cupsddk.spec.in 343 2007-07-13 19:52:48Z mike $"
#
#   RPM "spec" file for the CUPS Driver Development Kit.
#
#   Copyright 2007 by Apple Inc.
#   Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
#   These coded instructions, statements, and computer programs are the
#   property of Apple Inc. and are protected by Federal copyright
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
#   which should have been included with this file.  If this file is
#   file is missing or damaged, see the license at "http://www.cups.org/".
#

Summary: CUPS Driver Development Kit
Name: cupsddk
Version: 1.2.0
Release: 3%{?dist}
License: GPL
Group: Development/Libraries
Source: http://ftp.easysw.com/pub/%{name}/%{version}/cupsddk-%{version}-source.tar.bz2
Patch0: cupsddk-no-gzip-man-pages.patch
Patch1: cupsddk-smp-build.patch
Patch2: cupsddk-no-strip.patch
Url: http://www.cups.org/ddk/

# Use buildroot so as not to disturb the version already installed
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: cups-devel >= 1:1.2
BuildRequires: libtiff-devel, libjpeg-devel, libpng-devel, zlib-devel

%package devel
Summary: CUPS DDK - development environment
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%package drivers
Summary: CUPS DDK - printer drivers
Group: System Environment/Libraries

%description
The CUPS Driver Development Kit (DDK) provides a suite of
standard drivers, a PPD file compiler, and other utilities that
can be used to develop printer drivers for CUPS and other
printing environments.  CUPS provides a portable printing layer
for UNIX(r)-based operating systems.  The CUPS DDK provides the
means for mass-producing PPD files and drivers/filters for
CUPS-based printer drivers.

The CUPS DDK is licensed under the GNU General Public License. 
Please contact Easy Software Products for commercial support and
"binary distribution" rights.

%description devel
This is the development package. 

%description drivers
The CUPS DDK drivers provide support for all HP PCL/RTL and Epson
ESC/P2 devices.

%prep
%setup -q
%patch0 -p1 -z .no-gzip-man-pages
%patch1 -p1 -z .smp-build
%patch2 -p1 -z .no-strip

%build
%configure --with-optim="$RPM_OPT_FLAGS"

# If we got this far, all prerequisite libraries must be here.
make %{?_smp_mflags}

%install
# Make sure the RPM_BUILD_ROOT directory exists.
rm -rf $RPM_BUILD_ROOT

make BUILDROOT=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc LICENSE.txt
%{_bindir}/*
%{_datadir}/doc/cups/*

%{_mandir}/man1/cupsprofile.1*
%{_mandir}/man1/ppdc.1*
%{_mandir}/man1/ppdhtml.1*
%{_mandir}/man1/ppdi.1*
%{_mandir}/man1/ppdmerge.1*
%{_mandir}/man1/ppdpo.1*
%{_mandir}/man5/ppdcfile.5*

%files devel
%{_includedir}/cups/*
%dir %{_datadir}/cupsddk
%{_datadir}/cupsddk/include

%files drivers
%dir /usr/lib/cups/filter
/usr/lib/cups/filter/*
/usr/lib/cups/driver/*
%dir %{_datadir}/cups/drv
%dir %{_datadir}/cupsddk
%{_datadir}/cupsddk/po

%{_mandir}/man1/commandtoescpx.1*
%{_mandir}/man1/commandtopclx.1*
%{_mandir}/man1/rastertoescpx.1*
%{_mandir}/man1/rastertopclx.1*

%changelog
* Fri Jul 20 2007 Tim Waugh <twaugh at redhat.com> 1.2.0-3
- Fix directory ownership.
- Better group for driver sub-package.
- Don't strip binaries.

* Fri Jul 20 2007 Tim Waugh <twaugh at redhat.com> 1.2.0-2
- Use %%configure macro and %%{?dist} tag.  Better group.

* Thu Jul 19 2007 Tim Waugh <twaugh at redhat.com> 1.2.0-1
- Initial Fedora package, starting from upstream spec file.
  Removed Packager and Vendor tags.
  Added changelog section.
  Packaged LICENSE.txt as doc.
  Use %%{_mandir} macro.  Don't own %%{_mandir}/man*.
  Use %%{_datadir} macro.
  Use %%{_includedir} macro.
  Use %%{_bindir} macro.
  Better BuildRoot tag.
  Don't gzip man pages; let RPM do it.
  Use %%{_?smp_mflags}.
  Fixed cups/Makefile to work with SMP make flags.
  Build requires libtiff-devel, libjpeg-devel, libpng-devel, zlib-devel.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/cupsddk/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	31 Jul 2007 16:47:27 -0000	1.1
+++ .cvsignore	31 Jul 2007 17:06:15 -0000	1.2
@@ -0,0 +1 @@
+cupsddk-1.2.0-source.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cupsddk/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	31 Jul 2007 16:47:27 -0000	1.1
+++ sources	31 Jul 2007 17:06:15 -0000	1.2
@@ -0,0 +1 @@
+d35b74cbfaa4c48b0d650c34249bab6d  cupsddk-1.2.0-source.tar.bz2




More information about the fedora-extras-commits mailing list