]>
Commit | Line | Data |
---|---|---|
feb9e625 | 1 | Summary: A GLib library to ease writing telepathy clients |
cc66f389 | 2 | Summary(pl.UTF-8): Biblioteka oparta na GLib dla aplikacji służących do komunikacji |
feb9e625 | 3 | Name: libtelepathy |
3cd37750 | 4 | Version: 0.3.3 |
0b22fc1a | 5 | Release: 5 |
c2eac2ac | 6 | License: LGPL v2.1+ |
feb9e625 | 7 | Group: Libraries |
c5657aac | 8 | Source0: https://telepathy.freedesktop.org/releases/libtelepathy/%{name}-%{version}.tar.gz |
3cd37750 | 9 | # Source0-md5: 490ca1a0c614d4466394b72d43bf7370 |
b631ecd2 | 10 | Patch0: %{name}-makefile.patch |
c5657aac | 11 | URL: https://telepathy.freedesktop.org/ |
feb9e625 MB |
12 | BuildRequires: autoconf >= 2.59 |
13 | BuildRequires: automake >= 1:1.8 | |
c5657aac JB |
14 | BuildRequires: dbus-devel >= 0.93 |
15 | BuildRequires: dbus-glib-devel >= 0.73 | |
16 | BuildRequires: glib2-devel >= 1:2.10 | |
feb9e625 MB |
17 | BuildRequires: libtool |
18 | BuildRequires: libxslt-progs | |
19 | BuildRequires: pkgconfig | |
c5657aac JB |
20 | BuildRequires: python >= 2.3 |
21 | BuildRequires: python-modules >= 2.3 | |
34d3bb58 | 22 | BuildRequires: telepathy-glib-devel >= 0.7.3 |
c5657aac JB |
23 | Requires: dbus-libs >= 0.93 |
24 | Requires: dbus-glib >= 0.73 | |
25 | Requires: glib2 >= 1:2.10 | |
26 | Requires: telepathy-glib >= 0.7.3 | |
feb9e625 MB |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | libtelepathy is a D-Bus framework for unifying real time | |
31 | communication, including instant messaging, voice calls and video | |
32 | calls. It abstracts differences between protocols to provide a unified | |
33 | interface for applications. | |
34 | ||
cc66f389 | 35 | %description -l pl.UTF-8 |
36 | libtelepathy jest szkieletem opartym na D-Bus ujednolicającym | |
37 | komunikację w czasie rzeczywistym, włączając w to komunikatory | |
38 | oraz komunikację głosową i za pośrednictwem wideo. Zasłania | |
39 | warstwą abstrakcji różnice pomiędzy protokołami dostarczając | |
40 | jednolity interfejs dla aplikacji. | |
41 | ||
feb9e625 MB |
42 | %package devel |
43 | Summary: Header files for libtelepathy library | |
44 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libtelepathy | |
45 | Group: Development/Libraries | |
cc66f389 | 46 | Requires: %{name} = %{version}-%{release} |
c5657aac JB |
47 | Requires: dbus-devel >= 0.93 |
48 | Requires: dbus-glib-devel >= 0.73 | |
49 | Requires: glib2-devel >= 1:2.10 | |
50 | Requires: telepathy-glib-devel >= 0.7.3 | |
feb9e625 MB |
51 | |
52 | %description devel | |
53 | Header files for libtelepathy library. | |
54 | ||
55 | %description devel -l pl.UTF-8 | |
56 | Pliki nagłówkowe biblioteki libtelepathy. | |
57 | ||
58 | %package static | |
59 | Summary: Static libtelepathy library | |
60 | Summary(pl.UTF-8): Statyczna biblioteka libtelepathy | |
61 | Group: Development/Libraries | |
62 | Requires: %{name}-devel = %{version}-%{release} | |
63 | ||
64 | %description static | |
65 | Static libtelepathy library. | |
66 | ||
67 | %description static -l pl.UTF-8 | |
68 | Statyczna biblioteka libtelepathy. | |
69 | ||
70 | %prep | |
71 | %setup -q | |
b631ecd2 | 72 | %patch0 -p1 |
feb9e625 MB |
73 | |
74 | %build | |
75 | %{__libtoolize} | |
76 | %{__aclocal} -I m4 | |
77 | %{__autoconf} | |
78 | %{__autoheader} | |
79 | %{__automake} | |
80 | %configure | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
c5657aac JB |
89 | # obsoleted by pkg-config |
90 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libtelepathy.la | |
159d6787 | 91 | |
feb9e625 MB |
92 | %clean |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %post -p /sbin/ldconfig | |
96 | %postun -p /sbin/ldconfig | |
97 | ||
98 | %files | |
99 | %defattr(644,root,root,755) | |
c5657aac | 100 | %doc AUTHORS ChangeLog NEWS README |
feb9e625 | 101 | %attr(755,root,root) %{_libdir}/libtelepathy.so.*.*.* |
b631ecd2 | 102 | %attr(755,root,root) %ghost %{_libdir}/libtelepathy.so.2 |
feb9e625 MB |
103 | |
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
106 | %attr(755,root,root) %{_libdir}/libtelepathy.so | |
c5657aac | 107 | %{_includedir}/telepathy-1.0/libtelepathy |
feb9e625 MB |
108 | %{_pkgconfigdir}/libtelepathy.pc |
109 | ||
110 | %files static | |
111 | %defattr(644,root,root,755) | |
112 | %{_libdir}/libtelepathy.a |