packages: lxtask/lxtask.spec - up to 0.1.4, gtk3 bcond
glen
glen at pld-linux.org
Mon Aug 15 10:32:08 CEST 2011
Author: glen Date: Mon Aug 15 08:32:08 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.1.4, gtk3 bcond
---- Files affected:
packages/lxtask:
lxtask.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/lxtask/lxtask.spec
diff -u packages/lxtask/lxtask.spec:1.5 packages/lxtask/lxtask.spec:1.6
--- packages/lxtask/lxtask.spec:1.5 Tue Sep 14 21:48:56 2010
+++ packages/lxtask/lxtask.spec Mon Aug 15 10:32:03 2011
@@ -1,15 +1,25 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with gtk3 # build GTK+3 disables GTK+2
+%bcond_without gtk2 # build with GTK+2
+
+%if %{with gtk3}
+%undefine with_gtk2
+%endif
+
Summary: Lightweight task manager
Name: lxtask
-Version: 0.1.3
+Version: 0.1.4
Release: 1
License: GPL v2
Group: X11/Applications
Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
-# Source0-md5: eccfb69ee1a209248b22a5f0a34a4734
+# Source0-md5: c4ab47d03d41a88696d64d3f1e78cf7f
URL: http://wiki.lxde.org/en/LXTask
BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.12.0
+%{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.12.0}
+%{?with_gtk3:BuildRequires: gtk+3-devel}
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,16 +33,16 @@
%setup -q
%build
-%configure
+%configure \
+ %{?with_gtk3:--enable-gtk3}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/{frp,ur_PK}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{frp,ur_PK}
%find_lang %{name}
@@ -51,6 +61,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2011/08/15 08:32:03 glen
+- up to 0.1.4, gtk3 bcond
+
Revision 1.5 2010/09/14 19:48:56 glen
- more precise urls
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lxtask/lxtask.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list