]> git.pld-linux.org Git - packages/telepathy-glib.git/blame - telepathy-glib.spec
Update to 0.20.4
[packages/telepathy-glib.git] / telepathy-glib.spec
CommitLineData
8e1f9134
MB
1#
2# Conditional build:
3%bcond_without apidocs # disable gtk-doc
f6dc4bde 4%bcond_without vala # do not build Vala API
8e1f9134 5#
6797b577 6Summary: A GLib library to ease writing telepathy clients
7Summary(pl.UTF-8): Biblioteka oparta na GLib dla aplikacji służących do komunikacji
8Name: telepathy-glib
9ae8c72c 9# NOTE: 0.20.x is stable, 0.21.x will be unstable
6549fa7b 10Version: 0.20.4
a4e827e1 11Release: 1
f6eb4cf0 12License: LGPL v2.1+
6797b577 13Group: Libraries
14Source0: http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
6549fa7b 15# Source0-md5: 78be56307d2da7c580cf6df33a225ba0
6797b577 16URL: http://telepathy.freedesktop.org/wiki/
17BuildRequires: autoconf >= 2.59
1a30df50 18BuildRequires: automake >= 1:1.11
f2566bc9 19BuildRequires: dbus-devel >= 0.95
65fd07c8 20BuildRequires: dbus-glib-devel >= 0.90
808b0975 21BuildRequires: docbook-dtd412-xml
f6eb4cf0 22BuildRequires: glib2-devel >= 1:2.32.0
65fd07c8
MB
23BuildRequires: gobject-introspection-devel >= 1.30.0
24%{?with_apidocs:BuildRequires: gtk-doc >= 1.17}
8e1f9134 25BuildRequires: libtool
6797b577 26BuildRequires: libxslt-progs
f6eb4cf0 27BuildRequires: pkgconfig >= 1:0.21
c08dac42 28BuildRequires: python-modules >= 1:2.5
f6eb4cf0
JB
29%{?with_vala:BuildRequires: vala >= 2:0.16.0}
30Requires: dbus-libs >= 0.95
31Requires: dbus-glib >= 0.90
68a39445 32Requires: glib2 >= 1:2.32.0
6797b577 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36telepathy-glib is a D-Bus framework for unifying real time
37communication, including instant messaging, voice calls and video
38calls. It abstracts differences between protocols to provide a unified
39interface for applications.
40
41%description -l pl.UTF-8
42telepathy-glib jest szkieletem opartym na D-Bus ujednolicającym
8e1f9134
MB
43komunikację w czasie rzeczywistym, włączając w to komunikatory oraz
44komunikację głosową i za pośrednictwem wideo. Zasłania warstwą
45abstrakcji różnice pomiędzy protokołami dostarczając jednolity
46interfejs dla aplikacji.
6797b577 47
48%package devel
49Summary: Header files for telepathy-glib library
50Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-glib
51Group: Development/Libraries
52Requires: %{name} = %{version}-%{release}
f6eb4cf0 53Requires: dbus-devel >= 0.95
65fd07c8 54Requires: dbus-glib-devel >= 0.90
f6eb4cf0 55Requires: glib2-devel >= 1:2.32.0
6797b577 56
57%description devel
58Header files for telepathy-glib library.
59
60%description devel -l pl.UTF-8
61Pliki nagłówkowe biblioteki telepathy-glib.
62
63%package static
64Summary: Static telepathy-glib library
65Summary(pl.UTF-8): Statyczna biblioteka telepathy-glib
66Group: Development/Libraries
67Requires: %{name}-devel = %{version}-%{release}
68
69%description static
70Static telepathy-glib library.
71
72%description static -l pl.UTF-8
73Statyczna biblioteka telepathy-glib.
74
8e1f9134
MB
75%package apidocs
76Summary: telepathy-glib API documentation
77Summary(pl.UTF-8): Dokumentacja API telepathy-glib
78Group: Documentation
79Requires: gtk-doc-common
80
81%description apidocs
82telepathy-glib API documentation.
83
84%description apidocs -l pl.UTF-8
85Dokumentacja API telepathy-glib.
86
f6dc4bde
ŁK
87%package -n vala-telepathy-glib
88Summary: telepathy-glib API for Vala language
89Summary(pl.UTF-8): API telepathy-glib dla języka Vala
90Group: Development/Libraries
91Requires: %{name}-devel = %{version}-%{release}
f6eb4cf0 92Requires: vala >= 2:0.16.0
f6dc4bde
ŁK
93
94%description -n vala-telepathy-glib
95telepathy-glib API for Vala language.
96
97%description -n vala-telepathy-glib -l pl.UTF-8
98API telepathy-glib dla języka Vala.
99
6797b577 100%prep
101%setup -q
102
103%build
104%{__libtoolize}
105%{__aclocal} -I m4
106%{__autoconf}
107%{__autoheader}
108%{__automake}
8e1f9134 109%configure \
f2566bc9
AF
110 --disable-silent-rules \
111 %{__enable_disable apidocs gtk-doc} \
c1045f6a 112 --enable-introspection \
f6dc4bde 113 %{__enable_disable vala vala-bindings} \
8e1f9134 114 --with-html-dir=%{_gtkdocdir}
6797b577 115%{__make}
116
117%install
118rm -rf $RPM_BUILD_ROOT
119
120%{__make} install \
8e1f9134
MB
121 DESTDIR=$RPM_BUILD_ROOT
122
123%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
6797b577 124
125%clean
126rm -rf $RPM_BUILD_ROOT
127
128%post -p /sbin/ldconfig
129%postun -p /sbin/ldconfig
130
131%files
132%defattr(644,root,root,755)
68a39445 133%doc AUTHORS ChangeLog NEWS README
6797b577 134%attr(755,root,root) %{_libdir}/libtelepathy-glib.so.*.*.*
a40eb8a9 135%attr(755,root,root) %ghost %{_libdir}/libtelepathy-glib.so.0
f6eb4cf0 136%{_libdir}/girepository-1.0/TelepathyGLib-0.12.typelib
6797b577 137
138%files devel
139%defattr(644,root,root,755)
140%attr(755,root,root) %{_libdir}/libtelepathy-glib.so
38e523c1 141%{_libdir}/libtelepathy-glib.la
6797b577 142%dir %{_includedir}/telepathy-1.0
143%dir %{_includedir}/telepathy-1.0/telepathy-glib
8e1f9134 144%dir %{_includedir}/telepathy-1.0/telepathy-glib/_gen
6797b577 145%{_includedir}/telepathy-1.0/telepathy-glib/*.h
8e1f9134 146%{_includedir}/telepathy-1.0/telepathy-glib/_gen/*.h
6797b577 147%{_pkgconfigdir}/telepathy-glib.pc
f6eb4cf0 148%{_datadir}/gir-1.0/TelepathyGLib-0.12.gir
6797b577 149
150%files static
151%defattr(644,root,root,755)
152%{_libdir}/libtelepathy-glib.a
8e1f9134
MB
153
154%if %{with apidocs}
155%files apidocs
156%defattr(644,root,root,755)
157%{_gtkdocdir}/telepathy-glib
158%endif
f6dc4bde
ŁK
159
160%if %{with vala}
161%files -n vala-telepathy-glib
162%defattr(644,root,root,755)
163%{_datadir}/vala/vapi/telepathy-glib.deps
164%{_datadir}/vala/vapi/telepathy-glib.vapi
165%endif
This page took 0.098836 seconds and 4 git commands to generate.