SPECS: gtksourceview.spec - added nognome patch and gnome bcond to...
qboosh
qboosh at pld-linux.org
Sun May 27 00:37:29 CEST 2007
Author: qboosh Date: Sat May 26 22:37:29 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added nognome patch and gnome bcond to allow disabling gnomeprint support
---- Files affected:
SPECS:
gtksourceview.spec (1.44 -> 1.45)
---- Diffs:
================================================================
Index: SPECS/gtksourceview.spec
diff -u SPECS/gtksourceview.spec:1.44 SPECS/gtksourceview.spec:1.45
--- SPECS/gtksourceview.spec:1.44 Sun Mar 11 17:34:13 2007
+++ SPECS/gtksourceview.spec Sun May 27 00:37:24 2007
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without gnome # disable gnomeprint support, don't build tests
+#
Summary: Text widget that extends the standard GTK+ 2.x
Summary(pl.UTF-8): Widget tekstowy rozszerzający standardowy z GTK+ 2.x
Name: gtksourceview
@@ -8,15 +12,16 @@
Group: X11/Libraries
Source0: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/1.8/%{name}-%{version}.tar.bz2
# Source0-md5: de67df2944c1cccbc2d0b4a738e11050
+Patch0: %{name}-nognome.patch
URL: http://www.gnome.org/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
BuildRequires: gnome-common >= 2.12.0
-BuildRequires: gnome-vfs2-devel >= 2.17.91
+%{?with_gnome:BuildRequires: gnome-vfs2-devel >= 2.17.91}
BuildRequires: gtk+2-devel >= 2:2.10.9
BuildRequires: gtk-doc >= 1.8
BuildRequires: intltool >= 0.35.5
-BuildRequires: libgnomeprintui-devel >= 2.17.92
+%{?with_gnome:BuildRequires: libgnomeprintui-devel >= 2.17.92}
BuildRequires: libtool
BuildRequires: libxml2-devel >= 1:2.6.27
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,7 +55,7 @@
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gtk+2-devel >= 2:2.10.9
-Requires: libgnomeprintui-devel >= 2.17.92
+%{?with_gnome:Requires: libgnomeprint-devel >= 2.17.92}
Requires: libxml2-devel >= 1:2.6.27
%description devel
@@ -73,6 +78,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%{__gtkdocize}
@@ -82,9 +88,10 @@
%{__autoconf}
%{__automake}
%configure \
- --with-html-dir=%{_gtkdocdir} \
+ %{!?with_gnome:--disable-gnomeprint} \
+ --enable-gtk-doc \
--enable-static \
- --enable-gtk-doc
+ --with-html-dir=%{_gtkdocdir}
%{__make}
%install
@@ -103,7 +110,7 @@
%files -f %{name}-1.0.lang
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libgtksourceview-1.0.so.*.*.*
%{_datadir}/%{name}-1.0
%files apidocs
@@ -112,14 +119,14 @@
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libgtksourceview-1.0.so
+%{_libdir}/libgtksourceview-1.0.la
%{_includedir}/%{name}-1.0
-%{_pkgconfigdir}/*
+%{_pkgconfigdir}/gtksourceview-1.0.pc
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libgtksourceview-1.0.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -127,6 +134,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2007/05/26 22:37:24 qboosh
+- added nognome patch and gnome bcond to allow disabling gnomeprint support
+
Revision 1.44 2007/03/11 16:34:13 megabajt
- updated to 1.8.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gtksourceview.spec?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list