SPECS: telepathy-glib.spec - updated to 0.5.13 - added apidocs bco...
megabajt
megabajt at pld-linux.org
Sun Jun 3 00:44:54 CEST 2007
Author: megabajt Date: Sat Jun 2 22:44:54 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.5.13
- added apidocs bcond and subpackage
---- Files affected:
SPECS:
telepathy-glib.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/telepathy-glib.spec
diff -u SPECS/telepathy-glib.spec:1.2 SPECS/telepathy-glib.spec:1.3
--- SPECS/telepathy-glib.spec:1.2 Mon May 14 23:09:38 2007
+++ SPECS/telepathy-glib.spec Sun Jun 3 00:44:48 2007
@@ -1,21 +1,25 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without apidocs # disable gtk-doc
+#
Summary: A GLib library to ease writing telepathy clients
Summary(pl.UTF-8): Biblioteka oparta na GLib dla aplikacji służących do komunikacji
Name: telepathy-glib
-Version: 0.5.11
+Version: 0.5.13
Release: 1
License: LGPL
Group: Libraries
Source0: http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
-# Source0-md5: 5ddba9c6f1620ed27a05e651bebb1800
+# Source0-md5: 61b16101b6164ae495c765c2d09a0899
URL: http://telepathy.freedesktop.org/wiki/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.8
BuildRequires: dbus-glib-devel >= 0.61
BuildRequires: glib2-devel >= 1:2.4.0
-BuildRequires: gtk-doc >= 1.7
-BuildRequires: libtool
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.7}
BuildRequires: libtelepathy-devel
+BuildRequires: libtool
BuildRequires: libxslt-progs
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,10 +32,10 @@
%description -l pl.UTF-8
telepathy-glib jest szkieletem opartym na D-Bus ujednolicającym
-komunikację w czasie rzeczywistym, włączając w to komunikatory
-oraz komunikację głosową i za pośrednictwem wideo. Zasłania
-warstwą abstrakcji różnice pomiędzy protokołami dostarczając
-jednolity interfejs dla aplikacji.
+komunikację w czasie rzeczywistym, włączając w to komunikatory oraz
+komunikację głosową i za pośrednictwem wideo. Zasłania warstwą
+abstrakcji różnice pomiędzy protokołami dostarczając jednolity
+interfejs dla aplikacji.
%package devel
Summary: Header files for telepathy-glib library
@@ -59,6 +63,18 @@
%description static -l pl.UTF-8
Statyczna biblioteka telepathy-glib.
+%package apidocs
+Summary: telepathy-glib API documentation
+Summary(pl.UTF-8): Dokumentacja API telepathy-glib
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+telepathy-glib API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API telepathy-glib.
+
%prep
%setup -q
@@ -68,15 +84,18 @@
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
+ --with-html-dir=%{_gtkdocdir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- HTML_DIR=%{_gtkdocdir}
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -95,20 +114,31 @@
%{_libdir}/libtelepathy-glib.la
%dir %{_includedir}/telepathy-1.0
%dir %{_includedir}/telepathy-1.0/telepathy-glib
+%dir %{_includedir}/telepathy-1.0/telepathy-glib/_gen
%{_includedir}/telepathy-1.0/telepathy-glib/*.h
+%{_includedir}/telepathy-1.0/telepathy-glib/_gen/*.h
%{_pkgconfigdir}/telepathy-glib.pc
-%{_gtkdocdir}/*
%files static
%defattr(644,root,root,755)
%{_libdir}/libtelepathy-glib.a
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/telepathy-glib
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2007/06/02 22:44:48 megabajt
+- updated to 0.5.13
+- added apidocs bcond and subpackage
+
Revision 1.2 2007/05/14 21:09:38 qboosh
- glib2 epoch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/telepathy-glib.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list