2013-12-19 12:56:15 +00:00
|
|
|
%global version_no_dot 27
|
|
|
|
%global alphatag rc1
|
2013-05-23 13:29:38 +00:00
|
|
|
|
|
|
|
Name: c2esp
|
2013-12-19 12:56:15 +00:00
|
|
|
Version: 2.7
|
|
|
|
Release: 0.1.%{alphatag}%{?dist}
|
2013-05-23 13:29:38 +00:00
|
|
|
Summary: CUPS driver for Kodak AiO printers
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://sourceforge.net/projects/cupsdriverkodak/
|
2013-12-19 12:56:15 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/cupsdriverkodak/c2esp%{version_no_dot}~%{alphatag}.tar.gz
|
2013-05-23 13:29:38 +00:00
|
|
|
|
|
|
|
Patch0: c2esp-jbig.patch
|
2013-12-19 12:56:15 +00:00
|
|
|
|
2013-05-23 13:29:38 +00:00
|
|
|
|
|
|
|
# _cups_serverbin macro
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
|
|
|
|
# postscriptdriver tags
|
|
|
|
BuildRequires: python-cups cups
|
|
|
|
|
|
|
|
# cupsfilters/image.h
|
|
|
|
BuildRequires: cups-filters-devel
|
|
|
|
|
|
|
|
# JBIG1 lossless image compression
|
|
|
|
BuildRequires: jbigkit-devel
|
|
|
|
|
2013-12-19 12:56:15 +00:00
|
|
|
# directory structure
|
2013-05-23 13:29:38 +00:00
|
|
|
Requires: cups-filesystem
|
|
|
|
|
|
|
|
%description
|
|
|
|
CUPS filters and drivers for Kodak ESP and Hero all in one printers.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2013-12-19 12:56:15 +00:00
|
|
|
%setup -q -n c2esp%{version_no_dot}~%{alphatag}
|
2013-05-23 13:29:38 +00:00
|
|
|
|
|
|
|
%patch0 -p1 -b .jbig
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Makefile is not ready for %%{?_smp_mflags} (config.h is a shared resource)
|
|
|
|
CFLAGS="%{optflags}" \
|
|
|
|
make all
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging_tricks#With_.25doc
|
|
|
|
mkdir __doc
|
|
|
|
mv %{buildroot}%{_datadir}/doc/c2esp/* __doc
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/c2esp
|
|
|
|
|
|
|
|
# useless
|
|
|
|
rm -f %{buildroot}%{_bindir}/c2esplog
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc __doc/COPYING __doc/README __doc/c2esp.txt
|
|
|
|
%{_cups_serverbin}/filter/c2esp
|
|
|
|
%{_cups_serverbin}/filter/c2espC
|
|
|
|
%{_cups_serverbin}/filter/command2esp
|
|
|
|
%{_datadir}/cups/drv/c2esp
|
|
|
|
|
|
|
|
%changelog
|
2013-12-19 12:56:15 +00:00
|
|
|
* Thu Dec 19 2013 Jiri Popelka <jpopelka@redhat.com> - 2.7-0.1.rc1
|
|
|
|
- 2.7~rc1
|
|
|
|
|
2013-08-03 04:13:10 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-23 13:29:38 +00:00
|
|
|
* Thu May 09 2013 Jiri Popelka <jpopelka@redhat.com> - 2.6-1
|
|
|
|
- initial build
|