]> git.pld-linux.org Git - packages/telepathy-glib.git/blame - telepathy-glib.spec
- 0.7.0
[packages/telepathy-glib.git] / telepathy-glib.spec
CommitLineData
8e1f9134
MB
1#
2# Conditional build:
3%bcond_without apidocs # disable gtk-doc
4#
6797b577 5Summary: A GLib library to ease writing telepathy clients
6Summary(pl.UTF-8): Biblioteka oparta na GLib dla aplikacji służących do komunikacji
7Name: telepathy-glib
85006a24 8Version: 0.7.0
2a590e16 9Release: 1
6797b577 10License: LGPL
11Group: Libraries
12Source0: http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
85006a24 13# Source0-md5: b4cb035a6e235be3179364341843e929
6797b577 14URL: http://telepathy.freedesktop.org/wiki/
15BuildRequires: autoconf >= 2.59
16BuildRequires: automake >= 1:1.8
17BuildRequires: dbus-glib-devel >= 0.61
38e523c1 18BuildRequires: glib2-devel >= 1:2.4.0
8e1f9134 19%{?with_apidocs:BuildRequires: gtk-doc >= 1.7}
85006a24 20#BuildRequires: libtelepathy-devel
8e1f9134 21BuildRequires: libtool
6797b577 22BuildRequires: libxslt-progs
23BuildRequires: pkgconfig
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27telepathy-glib is a D-Bus framework for unifying real time
28communication, including instant messaging, voice calls and video
29calls. It abstracts differences between protocols to provide a unified
30interface for applications.
31
32%description -l pl.UTF-8
33telepathy-glib jest szkieletem opartym na D-Bus ujednolicającym
8e1f9134
MB
34komunikację w czasie rzeczywistym, włączając w to komunikatory oraz
35komunikację głosową i za pośrednictwem wideo. Zasłania warstwą
36abstrakcji różnice pomiędzy protokołami dostarczając jednolity
37interfejs dla aplikacji.
6797b577 38
39%package devel
40Summary: Header files for telepathy-glib library
41Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-glib
42Group: Development/Libraries
43Requires: %{name} = %{version}-%{release}
44Requires: dbus-glib-devel >= 0.61
38e523c1 45Requires: glib2-devel >= 1:2.4.0
6797b577 46
47%description devel
48Header files for telepathy-glib library.
49
50%description devel -l pl.UTF-8
51Pliki nagłówkowe biblioteki telepathy-glib.
52
53%package static
54Summary: Static telepathy-glib library
55Summary(pl.UTF-8): Statyczna biblioteka telepathy-glib
56Group: Development/Libraries
57Requires: %{name}-devel = %{version}-%{release}
58
59%description static
60Static telepathy-glib library.
61
62%description static -l pl.UTF-8
63Statyczna biblioteka telepathy-glib.
64
8e1f9134
MB
65%package apidocs
66Summary: telepathy-glib API documentation
67Summary(pl.UTF-8): Dokumentacja API telepathy-glib
68Group: Documentation
69Requires: gtk-doc-common
70
71%description apidocs
72telepathy-glib API documentation.
73
74%description apidocs -l pl.UTF-8
75Dokumentacja API telepathy-glib.
76
6797b577 77%prep
78%setup -q
79
80%build
81%{__libtoolize}
82%{__aclocal} -I m4
83%{__autoconf}
84%{__autoheader}
85%{__automake}
8e1f9134
MB
86%configure \
87 --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
88 --with-html-dir=%{_gtkdocdir}
6797b577 89%{__make}
90
91%install
92rm -rf $RPM_BUILD_ROOT
93
94%{__make} install \
8e1f9134
MB
95 DESTDIR=$RPM_BUILD_ROOT
96
97%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
6797b577 98
99%clean
100rm -rf $RPM_BUILD_ROOT
101
102%post -p /sbin/ldconfig
103%postun -p /sbin/ldconfig
104
105%files
106%defattr(644,root,root,755)
107%doc AUTHORS ChangeLog README
108%attr(755,root,root) %{_libdir}/libtelepathy-glib.so.*.*.*
109
110%files devel
111%defattr(644,root,root,755)
112%attr(755,root,root) %{_libdir}/libtelepathy-glib.so
38e523c1 113%{_libdir}/libtelepathy-glib.la
6797b577 114%dir %{_includedir}/telepathy-1.0
115%dir %{_includedir}/telepathy-1.0/telepathy-glib
8e1f9134 116%dir %{_includedir}/telepathy-1.0/telepathy-glib/_gen
6797b577 117%{_includedir}/telepathy-1.0/telepathy-glib/*.h
8e1f9134 118%{_includedir}/telepathy-1.0/telepathy-glib/_gen/*.h
6797b577 119%{_pkgconfigdir}/telepathy-glib.pc
6797b577 120
121%files static
122%defattr(644,root,root,755)
123%{_libdir}/libtelepathy-glib.a
8e1f9134
MB
124
125%if %{with apidocs}
126%files apidocs
127%defattr(644,root,root,755)
128%{_gtkdocdir}/telepathy-glib
129%endif
This page took 0.07375 seconds and 4 git commands to generate.