packages: lxshortcut/lxshortcut.spec - up to 0.1.2, gtk3 bcond
glen
glen at pld-linux.org
Mon Aug 15 10:26:04 CEST 2011
Author: glen Date: Mon Aug 15 08:26:04 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.1.2, gtk3 bcond
---- Files affected:
packages/lxshortcut:
lxshortcut.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/lxshortcut/lxshortcut.spec
diff -u packages/lxshortcut/lxshortcut.spec:1.4 packages/lxshortcut/lxshortcut.spec:1.5
--- packages/lxshortcut/lxshortcut.spec:1.4 Tue Sep 14 21:48:56 2010
+++ packages/lxshortcut/lxshortcut.spec Mon Aug 15 10:25:59 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: Program to edit application shortcuts
Name: lxshortcut
-Version: 0.1.1
+Version: 0.1.2
Release: 1
License: GPL v3
Group: X11/Applications
Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
-# Source0-md5: 68419579deaecf696111bef97d3985bc
+# Source0-md5: 72f0dfafa8098be853beae6e33b5e13b
URL: http://wiki.lxde.org/en/LXShortCut
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: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,17 +31,17 @@
%setup -q
%build
-%configure
+%configure \
+ %{?with_gtk3:--enable-gtk3}
touch po/stamp-it
%{__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}
@@ -50,6 +60,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2011/08/15 08:25:59 glen
+- up to 0.1.2, gtk3 bcond
+
Revision 1.4 2010/09/14 19:48:56 glen
- more precise urls
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lxshortcut/lxshortcut.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list