summaryrefslogtreecommitdiff
path: root/libtelepathy.spec
blob: 1f8621538a7b6ed1b119b1cc2b47d86362537a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Summary:	A GLib library to ease writing telepathy clients
Summary(pl.UTF-8):	Biblioteka oparta na GLib dla aplikacji służących do komunikacji
Name:		libtelepathy
Version:	0.3.3
Release:	2
License:	LGPL
Group:		Libraries
Source0:	http://telepathy.freedesktop.org/releases/libtelepathy/%{name}-%{version}.tar.gz
# Source0-md5:	490ca1a0c614d4466394b72d43bf7370
Patch0:		%{name}-makefile.patch
URL:		http://telepathy.freedesktop.org/wiki/
BuildRequires:	autoconf >= 2.59
BuildRequires:	automake >= 1:1.8
BuildRequires:	dbus-glib-devel >= 0.61
BuildRequires:	glib2-devel >= 2.4.0
BuildRequires:	libtool
BuildRequires:	libxslt-progs
BuildRequires:	pkgconfig
BuildRequires:	python
BuildRequires:	python-modules
BuildRequires:	telepathy-glib-devel >= 0.7.3
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
libtelepathy is a D-Bus framework for unifying real time
communication, including instant messaging, voice calls and video
calls. It abstracts differences between protocols to provide a unified
interface for applications.

%description -l pl.UTF-8
libtelepathy jest szkieletem opartym na D-Bus ujednolicającym
komunikację w czasie rzeczywistym, włączając w to komunikatory
oraz komunikację głosową i za pośrednictwem wideo. Zasłania
warstwą abstrakcji różnice pomiędzy protokołami dostarczając
jednolity interfejs dla aplikacji.

%package devel
Summary:	Header files for libtelepathy library
Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libtelepathy
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	dbus-glib-devel >= 0.61
Requires:	glib2-devel >= 2.4.0

%description devel
Header files for libtelepathy library.

%description devel -l pl.UTF-8
Pliki nagłówkowe biblioteki libtelepathy.

%package static
Summary:	Static libtelepathy library
Summary(pl.UTF-8):	Statyczna biblioteka libtelepathy
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}

%description static
Static libtelepathy library.

%description static -l pl.UTF-8
Statyczna biblioteka libtelepathy.

%prep
%setup -q
%patch0 -p1

%build
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{_datadir}/telepathy/{clients,managers}

%clean
rm -rf $RPM_BUILD_ROOT

%post	-p /sbin/ldconfig
%postun	-p /sbin/ldconfig

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_libdir}/libtelepathy.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libtelepathy.so.2
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/clients
%dir %{_datadir}/telepathy/managers

%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libtelepathy.so
%{_libdir}/libtelepathy.la
%dir %{_includedir}/telepathy-1.0
%dir %{_includedir}/telepathy-1.0/libtelepathy
%{_includedir}/telepathy-1.0/libtelepathy/*.h
%{_pkgconfigdir}/libtelepathy.pc

%files static
%defattr(644,root,root,755)
%{_libdir}/libtelepathy.a