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