SPECS: libgsf.spec - Added apidocs bcond - Added no_GConf2_macros....
adgor
adgor at pld-linux.org
Thu Dec 1 17:58:00 CET 2005
Author: adgor Date: Thu Dec 1 16:58:00 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Added apidocs bcond
- Added no_GConf2_macros.patch
- with gnome BR GConf2-devel
---- Files affected:
SPECS:
libgsf.spec (1.39 -> 1.40)
---- Diffs:
================================================================
Index: SPECS/libgsf.spec
diff -u SPECS/libgsf.spec:1.39 SPECS/libgsf.spec:1.40
--- SPECS/libgsf.spec:1.39 Tue Nov 8 10:03:01 2005
+++ SPECS/libgsf.spec Thu Dec 1 17:57:55 2005
@@ -1,7 +1,8 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without gnome # without GNOME extensions packages
+%bcond_without apidocs # disable gtk-doc
+%bcond_without gnome # without GNOME extensions packages
#
Summary: GNOME Structured File library
Summary(pl): Biblioteka plików strukturalnych dla GNOME
@@ -12,14 +13,17 @@
Group: Libraries
Source0: http://ftp.gnome.org/pub/gnome/sources/libgsf/1.13/%{name}-%{version}.tar.bz2
# Source0-md5: b35e95f6bd7b8add9981b6cf6336674a
+Patch0: %{name}-no_GConf2_macros.patch
URL: http://www.gnumeric.org/
+%{?with_gnome:BuildRequires: GConf2-devel}
%{?with_gnome:BuildRequires: ORBit2-devel >= 2.8.1}
BuildRequires: autoconf >= 2.54
BuildRequires: automake
BuildRequires: bzip2-devel
BuildRequires: glib2-devel >= 1:2.6.0
%{?with_gnome:BuildRequires: gnome-vfs2-devel >= 2.4.0}
-BuildRequires: gtk-doc >= 1.0
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.0}
+BuildRequires: gtk-doc-automake
%{?with_gnome:BuildRequires: libbonobo-devel >= 2.4.0}
BuildRequires: libtool
BuildRequires: libxml2-devel >= 2.4.16
@@ -118,6 +122,7 @@
%prep
%setup -q
+%{!?with_gnome:%patch0 -p1}
%build
rm -f acinclude.m4
@@ -126,7 +131,7 @@
%{__autoconf}
%{__automake}
%configure \
- --enable-gtk-doc \
+ %?with_apidocs:--enable-gtk-doc} \
--with-html-dir=%{_gtkdocdir}/%{name} \
%{!?with_gnome:--without-gnome}
%{__make}
@@ -187,13 +192,13 @@
%files gnome-static
%defattr(644,root,root,755)
%{_libdir}/libgsf-gnome-?.a
-%endif
%files -n gsf-office-thumbnailer
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/gsf-office-thumbnailer
%{_sysconfdir}/gconf/schemas/gsf-office-thumbnailer.schemas
%{_mandir}/man1/gsf-office-thumbnailer.1*
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -201,6 +206,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.40 2005/12/01 16:57:55 adgor
+- Added apidocs bcond
+- Added no_GConf2_macros.patch
+- with gnome BR GConf2-devel
+
Revision 1.39 2005/11/08 09:03:01 freetz
- 1.13.3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libgsf.spec?r1=1.39&r2=1.40&f=u
More information about the pld-cvs-commit
mailing list