]> git.pld-linux.org Git - packages/ORBit2.git/commitdiff
- add automake br in devel, remove without apidocs backend as i'd have to break half
authordjurban <djurban@pld-linux.org>
Wed, 1 Feb 2006 17:30:16 +0000 (17:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  of the configure.ac.

Changed files:
    ORBit2.spec -> 1.87

ORBit2.spec

index 6d99c8f0eee8b04270468a1c5a7e1a44f460342e..8ec25d26883778678666335b71cff7f6ab0c05fb 100644 (file)
@@ -1,4 +1,3 @@
-%bcond_without  apidocs         # disable gtk-doc
 Summary:       High-performance CORBA Object Request Broker
 Summary(fr):   Requète d'Objects CORBA
 Summary(pl):   Wysoko wydajny CORBA Object Request Broker
@@ -17,11 +16,7 @@ BuildRequires:       autoconf >= 2.12
 BuildRequires: automake
 BuildRequires: flex
 BuildRequires: glib2-devel >= 1:2.6.3
-%if %{with apidocs}
 BuildRequires: gtk-doc >= 1.3
-%else
-BuildRequires: gtk-doc-automake
-%endif
 BuildRequires: indent
 BuildRequires: libIDL-devel >= 0.8.5
 BuildRequires: libtool
@@ -64,6 +59,7 @@ Group:                Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      glib2-devel >= 1:2.6.3
 Requires:      indent
+Requires:      %{name}-automake = %{epoch}:%{version}-%{release}
 Requires:      libIDL-devel >= 0.8.5
 Provides:      linc-devel = 1.1.1
 Obsoletes:     libORBit2_0-devel
@@ -132,18 +128,16 @@ Makra dla automake do ORBit2.
 %patch1 -p1
 
 %build
-# workaround a bug that prevents regenaration without gtk-doc, will need to fix it one day
-%if %{with apidocs}
 %{__gtkdocize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%endif
+
 %configure \
-       %{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
-       --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
+       --with-html-dir=%{_gtkdocdir} \
+       --enable-gtk-doc \
        --enable-http
 %{__make}
 
@@ -183,7 +177,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libname-server-2.a
 %{_pkgconfigdir}/*.pc
 %{_includedir}/orbit-*
-%{?with_apidocs:%{_gtkdocdir}/%{name}}
+%{_gtkdocdir}/%{name}
 
 %files static
 %defattr(644,root,root,755)
This page took 0.085854 seconds and 4 git commands to generate.