]> git.pld-linux.org Git - packages/pan.git/commitdiff
- gtkspell support made conditional (it can't be changed after
authorqrczak <qrczak@pld-linux.org>
Sun, 21 Sep 2003 15:35:57 +0000 (15:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  installation). Default is "on" but I don't like gtkspell.
- Release 2.

Changed files:
    pan.spec -> 1.66

pan.spec

index 0cdf868ab0a8af1c122025d844e83c55d876bb48..a6e98b05e9d1b09ce7854ca7483023db8bfbdf3f 100644 (file)
--- a/pan.spec
+++ b/pan.spec
@@ -1,10 +1,14 @@
+#
+# Conditional build:
+%bcond_without gtkspell # no spelling checker
+
 Summary:       A USENET newsreader for GNOME
 Summary(es):   Uno leitor USENET para el GNOME
 Summary(pl):   Czytnik USENET dla GNOME
 Summary(pt_BR):        Um leitor USENET para o GNOME
 Name:          pan
 Version:       0.14.2
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL v2
 Group:         X11/Applications
@@ -19,7 +23,7 @@ BuildRequires:        bison
 BuildRequires: gettext-devel
 BuildRequires: gnet-devel >= 2.0.1
 BuildRequires: gtk+2-devel >= 2.2.0
-BuildRequires: gtkspell-devel >= 2.0.2
+%{?with_gtkspell:BuildRequires: gtkspell-devel >= 2.0.2}
 BuildRequires: libtool
 BuildRequires: libxml2-devel >= 2.4.24
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,8 +61,7 @@ glib-gettextize -c -f
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure \
-       --enable-gtkspell
+%configure %{?with_gtkspell:--enable-gtkspell}
 
 %{__make}
 
This page took 0.027779 seconds and 4 git commands to generate.