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