]> git.pld-linux.org Git - packages/jpilot.git/commitdiff
- s/_without_gtk2/_with_gtk1/ (it's feature change, not disabling)
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 6 Jun 2003 11:19:26 +0000 (11:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't BR unused version of gtk

Changed files:
    jpilot.spec -> 1.24

jpilot.spec

index 800a056e1688dc18967a237f0660e2c0eba3b281..1478732f96c1f680351b591d7a1374aa879302dd 100644 (file)
@@ -1,5 +1,7 @@
+#
 # Conditional build:
-# _without_gtk2        - without GTK+2 support
+# _with_gtk1   - use GTK+ 1.2 instead of GTK+2
+#
 Summary:       Desktop organizer application for PalmOS devices
 Summary(pl):   Organizer dla urz±dzeñ PalmOS
 Summary(pt_BR):        Software para interação com o Pilot
@@ -18,13 +20,12 @@ URL:                http://jpilot.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: gtk+-devel >= 1.2.0
-BuildRequires:  gtk+2-devel >= 2.0.3
+%{?_with_gtk1:BuildRequires:   gtk+-devel >= 1.2.0}
+%{!?_with_gtk1:BuildRequires:  gtk+2-devel >= 2.0.3}
 BuildRequires: libtool
 BuildRequires: pilot-link-devel >= 0.11.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-
 %description
 J-Pilot is a desktop organizer application for the PalmOS devices that
 runs under Linux with plugins support. It is similar in functionality 
@@ -45,13 +46,15 @@ Um software para intera
 
 %build
 rm -f missing
+%{?_with_gtk1:echo 'AC_DEFUN([AM_PATH_GTK_2_0],[$3])' >> acinclude.m4}
+%{!?_with_gtk1:echo 'AC_DEFUN([AM_PATH_GTK],[$3])' >> acinclude.m4}
 %{__gettextize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-       %{!?_without_gtk2: --enable-gtk2}
+       %{!?_with_gtk1:--enable-gtk2}
 
 %{__make}
 
This page took 0.08842 seconds and 4 git commands to generate.