2.7
This commit is contained in:
parent
5e2bd54211
commit
6cde3f2c93
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/c2esp26.tar.gz
|
/c2esp26.tar.gz
|
||||||
/c2esp27~rc1.tar.gz
|
/c2esp27~rc1.tar.gz
|
||||||
|
/c2esp-27.tar.gz
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
diff -up c2esp27~rc1/Makefile.jbig c2esp27~rc1/Makefile
|
|
||||||
--- c2esp27~rc1/Makefile.jbig 2013-12-17 01:04:13.000000000 +0100
|
|
||||||
+++ c2esp27~rc1/Makefile 2013-12-19 13:37:36.920169463 +0100
|
|
||||||
@@ -44,7 +44,7 @@ FILTERS= c2esp c2espC command2esp
|
|
||||||
# The jbig library. Debian and derivatives should now have the jbig library -ljbig
|
|
||||||
# -ljbig also contains jbig85
|
|
||||||
LIBJBIG := -ljbig
|
|
||||||
- LIBJBIG85 := -ljbig
|
|
||||||
+ LIBJBIG85 := -ljbig85
|
|
||||||
|
|
||||||
BINPROGS=
|
|
||||||
ESPDRVFILE = KodakESP_16.drv
|
|
33
c2esp.spec
33
c2esp.spec
@ -1,16 +1,13 @@
|
|||||||
%global version_no_dot 27
|
%global version_no_dot 27
|
||||||
%global alphatag rc1
|
|
||||||
|
|
||||||
Name: c2esp
|
Name: c2esp
|
||||||
Version: 2.7
|
Version: 2.7
|
||||||
Release: 0.1.%{alphatag}%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: CUPS driver for Kodak AiO printers
|
Summary: CUPS driver for Kodak AiO printers
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://sourceforge.net/projects/cupsdriverkodak/
|
URL: http://sourceforge.net/projects/cupsdriverkodak/
|
||||||
Source0: http://downloads.sourceforge.net/cupsdriverkodak/c2esp%{version_no_dot}~%{alphatag}.tar.gz
|
Source0: http://downloads.sourceforge.net/cupsdriverkodak/c2esp-%{version_no_dot}.tar.gz
|
||||||
|
|
||||||
Patch0: c2esp-jbig.patch
|
|
||||||
|
|
||||||
|
|
||||||
# _cups_serverbin macro
|
# _cups_serverbin macro
|
||||||
@ -33,34 +30,28 @@ CUPS filters and drivers for Kodak ESP and Hero all in one printers.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n c2esp%{version_no_dot}~%{alphatag}
|
%setup -q -n c2esp-%{version_no_dot}
|
||||||
|
|
||||||
%patch0 -p1 -b .jbig
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Makefile is not ready for %%{?_smp_mflags} (config.h is a shared resource)
|
|
||||||
CFLAGS="%{optflags}" \
|
%configure
|
||||||
make all
|
make %{_smp_mflags} -C src/
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
# do not install doc/ or scripts/
|
||||||
|
make -C src/ 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
|
%files
|
||||||
%doc __doc/COPYING __doc/README __doc/c2esp.txt
|
%doc doc/COPYING doc/README
|
||||||
%{_cups_serverbin}/filter/c2esp
|
%{_cups_serverbin}/filter/c2esp
|
||||||
%{_cups_serverbin}/filter/c2espC
|
%{_cups_serverbin}/filter/c2espC
|
||||||
%{_cups_serverbin}/filter/command2esp
|
%{_cups_serverbin}/filter/command2esp
|
||||||
%{_datadir}/cups/drv/c2esp
|
%{_datadir}/cups/drv/c2esp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 29 2013 Jiri Popelka <jpopelka@redhat.com> - 2.7-1
|
||||||
|
- 2.7
|
||||||
|
|
||||||
* Thu Dec 19 2013 Jiri Popelka <jpopelka@redhat.com> - 2.7-0.1.rc1
|
* Thu Dec 19 2013 Jiri Popelka <jpopelka@redhat.com> - 2.7-0.1.rc1
|
||||||
- 2.7~rc1
|
- 2.7~rc1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user