]> git.pld-linux.org Git - packages/telepathy-glib.git/blame - telepathy-glib.spec
- 0.9.1
[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
1a30df50 8Version: 0.9.1
2a590e16 9Release: 1
6797b577 10License: LGPL
11Group: Libraries
12Source0: http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
1a30df50 13# Source0-md5: fa82a4474b3a5436b5b3cb44cbc9a9b4
6797b577 14URL: http://telepathy.freedesktop.org/wiki/
15BuildRequires: autoconf >= 2.59
1a30df50 16BuildRequires: automake >= 1:1.11
f7691ece 17BuildRequires: dbus-glib-devel >= 0.74
1a30df50 18BuildRequires: glib2-devel >= 1:2.20.0
f7691ece 19%{?with_apidocs:BuildRequires: gtk-doc >= 1.10}
8e1f9134 20BuildRequires: libtool
6797b577 21BuildRequires: libxslt-progs
22BuildRequires: pkgconfig
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26telepathy-glib is a D-Bus framework for unifying real time
27communication, including instant messaging, voice calls and video
28calls. It abstracts differences between protocols to provide a unified
29interface for applications.
30
31%description -l pl.UTF-8
32telepathy-glib jest szkieletem opartym na D-Bus ujednolicającym
8e1f9134
MB
33komunikację w czasie rzeczywistym, włączając w to komunikatory oraz
34komunikację głosową i za pośrednictwem wideo. Zasłania warstwą
35abstrakcji różnice pomiędzy protokołami dostarczając jednolity
36interfejs dla aplikacji.
6797b577 37
38%package devel
39Summary: Header files for telepathy-glib library
40Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-glib
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
f7691ece
MB
43Requires: dbus-glib-devel >= 0.74
44Requires: glib2-devel >= 1:2.16.0
6797b577 45
46%description devel
47Header files for telepathy-glib library.
48
49%description devel -l pl.UTF-8
50Pliki nagłówkowe biblioteki telepathy-glib.
51
52%package static
53Summary: Static telepathy-glib library
54Summary(pl.UTF-8): Statyczna biblioteka telepathy-glib
55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59Static telepathy-glib library.
60
61%description static -l pl.UTF-8
62Statyczna biblioteka telepathy-glib.
63
8e1f9134
MB
64%package apidocs
65Summary: telepathy-glib API documentation
66Summary(pl.UTF-8): Dokumentacja API telepathy-glib
67Group: Documentation
68Requires: gtk-doc-common
69
70%description apidocs
71telepathy-glib API documentation.
72
73%description apidocs -l pl.UTF-8
74Dokumentacja API telepathy-glib.
75
6797b577 76%prep
77%setup -q
78
79%build
80%{__libtoolize}
81%{__aclocal} -I m4
82%{__autoconf}
83%{__autoheader}
84%{__automake}
8e1f9134 85%configure \
1a30df50 86 --enable-silent-rules \
8e1f9134
MB
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.*.*.*
a40eb8a9 109%attr(755,root,root) %ghost %{_libdir}/libtelepathy-glib.so.0
6797b577 110
111%files devel
112%defattr(644,root,root,755)
113%attr(755,root,root) %{_libdir}/libtelepathy-glib.so
38e523c1 114%{_libdir}/libtelepathy-glib.la
6797b577 115%dir %{_includedir}/telepathy-1.0
116%dir %{_includedir}/telepathy-1.0/telepathy-glib
8e1f9134 117%dir %{_includedir}/telepathy-1.0/telepathy-glib/_gen
6797b577 118%{_includedir}/telepathy-1.0/telepathy-glib/*.h
8e1f9134 119%{_includedir}/telepathy-1.0/telepathy-glib/_gen/*.h
6797b577 120%{_pkgconfigdir}/telepathy-glib.pc
6797b577 121
122%files static
123%defattr(644,root,root,755)
124%{_libdir}/libtelepathy-glib.a
8e1f9134
MB
125
126%if %{with apidocs}
127%files apidocs
128%defattr(644,root,root,755)
129%{_gtkdocdir}/telepathy-glib
130%endif
This page took 0.044257 seconds and 4 git commands to generate.