SPECS: hugin.spec - added bcond pano13

sls sls at pld-linux.org
Wed Jul 11 23:23:31 CEST 2007


Author: sls                          Date: Wed Jul 11 21:23:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond pano13

---- Files affected:
SPECS:
   hugin.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/hugin.spec
diff -u SPECS/hugin.spec:1.26 SPECS/hugin.spec:1.27
--- SPECS/hugin.spec:1.26	Wed Apr  4 19:28:46 2007
+++ SPECS/hugin.spec	Wed Jul 11 23:23:25 2007
@@ -1,10 +1,14 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	pano13			# use libpano13 (default with libpano12)
+
 %define		_beta	beta4
 Summary:	Toolchain to create panoramic images
 Summary(pl.UTF-8):	Zestaw narzędzi do tworzenia panoramicznych zdjęć
 Name:		hugin
 Version:	0.7
-Release:	0.%{_beta}.2
+Release:	0.%{_beta}.2.1
 License:	GPL v2+
 Group:		Applications/Graphics
 Source0:	http://dl.sourceforge.net/hugin/%{name}-%{version}_%{_beta}.tar.bz2
@@ -24,7 +28,8 @@
 BuildRequires:	gettext-devel
 BuildRequires:	gtk+2-devel >= 1:2.0.3
 BuildRequires:	libjpeg-devel
-BuildRequires:	libpano12-devel >= 2.8.1
+%{!?with_pano13:BuildRequires:	libpano12-devel >= 2.8.1}
+%{?with_pano13:BuildRequires:	libpano13-devel}
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtiff-devel
@@ -33,7 +38,8 @@
 BuildRequires:	wxGTK2-unicode-devel >= 2.6.0
 BuildRequires:	zip
 BuildRequires:	zlib-devel
-Requires:	libpano12 >= 2.8.1
+%{!?with_pano13:Requires:	libpano12 >= 2.8.1}
+%{?with_pano13:Requires:	libpano13}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -116,6 +122,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2007/07/11 21:23:25  sls
+- added bcond pano13
+
 Revision 1.26  2007/04/04 17:28:46  qboosh
 - release .2: updated pl.po-update patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hugin.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list