SPECS: gtksourceview2.spec - BR: pkgconfig, libgnomeprint-devel - ...

qboosh qboosh at pld-linux.org
Sat Jun 2 23:03:21 CEST 2007


Author: qboosh                       Date: Sat Jun  2 21:03:21 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: pkgconfig, libgnomeprint-devel
- finished merging gnome bcond from gtksourceview.spec
- explicit apidocs Conflicts

---- Files affected:
SPECS:
   gtksourceview2.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/gtksourceview2.spec
diff -u SPECS/gtksourceview2.spec:1.1 SPECS/gtksourceview2.spec:1.2
--- SPECS/gtksourceview2.spec:1.1	Mon May 28 11:45:41 2007
+++ SPECS/gtksourceview2.spec	Sat Jun  2 23:03:15 2007
@@ -1,5 +1,8 @@
 # $Revision$, $Date$
 #
+# Conditional build:
+%bcond_without	gnome	# disable gnomeprint support
+#
 Summary:	Text widget that extends the standard GTK+ 2.x
 Summary(pl.UTF-8):	Widget tekstowy rozszerzający standardowy z GTK+ 2.x
 Name:		gtksourceview2
@@ -16,8 +19,10 @@
 BuildRequires:	gtk+2-devel >= 2:2.10.9
 BuildRequires:	gtk-doc >= 1.8
 BuildRequires:	intltool >= 0.35.5
+%{?with_gnome:BuildRequires:	libgnomeprint-devel >= 2.18.0}
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel >= 1:2.6.27
+BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,6 +41,7 @@
 Summary(pl.UTF-8):	Dokumentacja API GtkSourceView
 Group:		Documentation
 Requires:	gtk-doc-common
+Conflicts:	gtksourceview-apidocs
 
 %description apidocs
 GtkSourceView API documentation.
@@ -49,7 +55,7 @@
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	gtk+2-devel >= 2:2.10.9
-%{?with_gnome:Requires:	libgnomeprint-devel >= 2.17.92}
+%{?with_gnome:Requires:	libgnomeprint-devel >= 2.18.0}
 Requires:	libxml2-devel >= 1:2.6.27
 
 %description devel
@@ -88,10 +94,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-
 %find_lang gtksourceview-2.0
 
 %clean
@@ -126,8 +132,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/06/02 21:03:15  qboosh
+- BR: pkgconfig, libgnomeprint-devel
+- finished merging gnome bcond from gtksourceview.spec
+- explicit apidocs Conflicts
+
 Revision 1.1  2007/05/28 09:45:41  patrys
 - initial PLD release
 - API/ABI incompatible with 1.x
 - parallel installation supported (apidocs might conflict)
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gtksourceview2.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list