SPECS: libgda.spec - moved scrollkeeper stuff to -apidocs as .omf ...

qboosh qboosh at pld-linux.org
Sat Jun 2 12:32:23 CEST 2007


Author: qboosh                       Date: Sat Jun  2 10:32:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- moved scrollkeeper stuff to -apidocs as .omf file refers to gtk-doc only

---- Files affected:
SPECS:
   libgda.spec (1.114 -> 1.115) 

---- Diffs:

================================================================
Index: SPECS/libgda.spec
diff -u SPECS/libgda.spec:1.114 SPECS/libgda.spec:1.115
--- SPECS/libgda.spec:1.114	Fri Jun  1 00:22:16 2007
+++ SPECS/libgda.spec	Sat Jun  2 12:32:18 2007
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+# TODO: fix gtk-doc path in .omf file
 #
 # Conditional build:
 %bcond_without	firebird	# build without firebird plugin
@@ -11,8 +12,7 @@
 %bcond_without	pgsql		# build without PostgreSQL plugin
 %bcond_without	sqlite		# build without sqlite plugin
 %bcond_without	xbase		# build without xbase plugin
-
-
+#
 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
 %undefine	with_firebird
 %endif
@@ -61,8 +61,6 @@
 %{?with_sqlite:BuildRequires:	sqlite3-devel}
 %{?with_odbc:BuildRequires:	unixODBC-devel}
 %{?with_xbase:BuildRequires:	xbase-devel >= 2.0.0}
-Requires(post,postun):	scrollkeeper
-Requires:	scrollkeeper
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -118,6 +116,20 @@
 %description static -l pl.UTF-8
 Statyczne biblioteki GNU Data Access.
 
+%package apidocs
+Summary:	libgda API documentation
+Summary(pl.UTF-8):	Dokumentacja API libgda
+Group:		Documentation
+Requires(post,postun):	scrollkeeper
+Requires:	gtk-doc-common
+Requires:	scrollkeeper
+
+%description apidocs
+libgda API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API libgda.
+
 %package -n gda-db
 Summary:	GDA Berkeley DB provider
 Summary(pl.UTF-8):	Źródło danych Berkeley DB dla GDA
@@ -242,18 +254,6 @@
 %description -n gda-xbase -l pl.UTF-8
 Pakiet dostarczający dane z xBase (dBase, Clippera, FoxPro) dla GDA.
 
-%package apidocs
-Summary:	libgda API documentation
-Summary(pl.UTF-8):	Dokumentacja API libgda
-Group:		Documentation
-Requires:	gtk-doc-common
-
-%description apidocs
-libgda API documentation.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API libgda.
-
 %prep
 %setup -q
 %if %{with mdb05}
@@ -302,12 +302,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%post apidocs
 %scrollkeeper_update_post
 
-%postun
-/sbin/ldconfig
+%postun apidocs
 %scrollkeeper_update_postun
 
 %files -f %{name}.lang
@@ -321,7 +322,6 @@
 %dir %{_libdir}/libgda/providers
 %attr(755,root,root) %{_libdir}/libgda/providers/libgda-xml.so
 %{_datadir}/libgda
-%{_omf_dest_dir}/%{name}
 %dir %{_sysconfdir}/libgda
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/libgda/config
 %{_mandir}/man1/gda-config-tool.1*
@@ -350,6 +350,7 @@
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/libgda
+%{_omf_dest_dir}/%{name}
 
 %files -n gda-db
 %defattr(644,root,root,755)
@@ -415,6 +416,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.115  2007/06/02 10:32:18  qboosh
+- moved scrollkeeper stuff to -apidocs as .omf file refers to gtk-doc only
+
 Revision 1.114  2007/05/31 22:22:16  qboosh
 - added versioned deps to -mdb package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libgda.spec?r1=1.114&r2=1.115&f=u



More information about the pld-cvs-commit mailing list