]> git.pld-linux.org Git - packages/libtelepathy.git/blob - libtelepathy.spec
- LGPL version
[packages/libtelepathy.git] / libtelepathy.spec
1 Summary:        A GLib library to ease writing telepathy clients
2 Summary(pl.UTF-8):      Biblioteka oparta na GLib dla aplikacji służących do komunikacji
3 Name:           libtelepathy
4 Version:        0.3.3
5 Release:        5
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        https://telepathy.freedesktop.org/releases/libtelepathy/%{name}-%{version}.tar.gz
9 # Source0-md5:  490ca1a0c614d4466394b72d43bf7370
10 Patch0:         %{name}-makefile.patch
11 URL:            https://telepathy.freedesktop.org/
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.8
14 BuildRequires:  dbus-devel >= 0.93
15 BuildRequires:  dbus-glib-devel >= 0.73
16 BuildRequires:  glib2-devel >= 1:2.10
17 BuildRequires:  libtool
18 BuildRequires:  libxslt-progs
19 BuildRequires:  pkgconfig
20 BuildRequires:  python >= 2.3
21 BuildRequires:  python-modules >= 2.3
22 BuildRequires:  telepathy-glib-devel >= 0.7.3
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
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
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
42 %package devel
43 Summary:        Header files for libtelepathy library
44 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libtelepathy
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
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
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
72 %patch0 -p1
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
89 # obsoleted by pkg-config
90 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libtelepathy.la
91
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)
100 %doc AUTHORS ChangeLog NEWS README
101 %attr(755,root,root) %{_libdir}/libtelepathy.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libtelepathy.so.2
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libtelepathy.so
107 %{_includedir}/telepathy-1.0/libtelepathy
108 %{_pkgconfigdir}/libtelepathy.pc
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libtelepathy.a
This page took 0.087899 seconds and 3 git commands to generate.