summaryrefslogtreecommitdiff
path: root/gimp-print.spec
diff options
context:
space:
mode:
authorArtur Frysiak2002-03-22 15:23:10 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit846d82ef13c0335e8f3effa6fb40a49ed1026a76 (patch)
treecc783f60ef95a2c3a64a9c5072b74a1e6f9e7dfe /gimp-print.spec
parent660ab22792bbd7413f44d1db143614d72f947287 (diff)
downloadgimp-print-846d82ef13c0335e8f3effa6fb40a49ed1026a76.zip
gimp-print-846d82ef13c0335e8f3effa6fb40a49ed1026a76.tar.gz
- for clearing license issue build ghostscript driver as ijs driver
- upgrade to 4.2.1-pre3 (first version with ijs driver) Changed files: gimp-print.spec -> 1.20
Diffstat (limited to 'gimp-print.spec')
-rw-r--r--gimp-print.spec28
1 files changed, 21 insertions, 7 deletions
diff --git a/gimp-print.spec b/gimp-print.spec
index 04d9314..0cf2a85 100644
--- a/gimp-print.spec
+++ b/gimp-print.spec
@@ -2,15 +2,16 @@
# Conditional build:
# _without_cups - without CUPS subpackage
#
+%define _pre pre3
Summary: Collection of high-quality printer drivers
Summary(pl): Zestaw wysokiej jakości sterowników do drukarek
Summary(pt_BR): plugin GIMP-Print para impressăo de imagens em alta qualidade
Name: gimp-print
-Version: 4.2.0
-Release: 4
+Version: 4.2.1
+Release: 0.1.%{_pre}
License: GPL
Group: Applications/Printing
-Source0: http://prdownloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.gz
+Source0: http://prdownloads.sourceforge.net/gimp-print/%{name}-%{version}-%{_pre}.tar.gz
Patch0: %{name}-install.patch
Patch1: %{name}-info.patch
Patch2: %{name}-usb.patch
@@ -21,6 +22,7 @@ BuildRequires: gimp-devel >= 1:1.2.3-1.4
BuildRequires: texinfo
BuildRequires: texinfo-texi2dvi
BuildRequires: docbook-style-dsssl /usr/bin/db2ps
+BuildRequires: ghostscript-ijs-devel
Requires: gimp >= 1:1.2.2-5
Requires: %{name}-lib = %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -174,12 +176,19 @@ Gimp-print samples.
%description samples -l pl
Przykłady dla Gimp-print.
-%prep
-%setup -q
+%package ijs
+Summary: Gimp-print IJS driver for GhostScript
+Group: Applications/Printing
+
+%description ijs
+Gimp-print IJS driver for GhostScript
+
+%prep
+%setup -q -n %{name}-%{version}-%{_pre}
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
+%patch3 -p1 -b .wiget
%build
%configure2_13 \
@@ -187,6 +196,8 @@ Przykłady dla Gimp-print.
--with-gimp \
--enable-escputil \
--enable-libgimpprint \
+ --with-ijs \
+ --without-foomatic \
--with-samples \
--with-user-guide \
--without-ghost
@@ -228,7 +239,7 @@ rm -rf $RPM_BUILD_ROOT
%files lib -f %{name}.lang
%defattr(644,root,root,755)
%doc doc-installed/user-guide/*.gz doc-installed/manual doc/FAQ.html AUTHORS.gz README.gz NEWS.gz ChangeLog.gz
-%attr(755,root,root) %{_libdir}/libgimpprint.so.1.0.0
+%attr(755,root,root) %{_libdir}/libgimpprint.so.*.*.*
%files devel
%defattr(644,root,root,755)
@@ -272,3 +283,6 @@ rm -rf $RPM_BUILD_ROOT
%files samples
%defattr(644,root,root,755)
%{_examplesdir}/%{name}
+
+%files ijs
+%attr(755,root,root) %{_bindir}/ijsgimpprint