]> git.pld-linux.org Git - packages/telepathy-glib.git/blob - telepathy-glib.spec
- 0.7.31
[packages/telepathy-glib.git] / telepathy-glib.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # disable gtk-doc
4 #
5 Summary:        A GLib library to ease writing telepathy clients
6 Summary(pl.UTF-8):      Biblioteka oparta na GLib dla aplikacji służących do komunikacji
7 Name:           telepathy-glib
8 Version:        0.7.31
9 Release:        1
10 License:        LGPL
11 Group:          Libraries
12 Source0:        http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
13 # Source0-md5:  42ceb70aacbe918e64c8f3196afc5c81
14 Patch0:         %{name}-makefile.patch
15 URL:            http://telepathy.freedesktop.org/wiki/
16 BuildRequires:  autoconf >= 2.59
17 BuildRequires:  automake >= 1:1.9
18 BuildRequires:  dbus-glib-devel >= 0.74
19 BuildRequires:  glib2-devel >= 1:2.16.0
20 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.10}
21 BuildRequires:  libtool
22 BuildRequires:  libxslt-progs
23 BuildRequires:  pkgconfig
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 telepathy-glib is a D-Bus framework for unifying real time
28 communication, including instant messaging, voice calls and video
29 calls. It abstracts differences between protocols to provide a unified
30 interface for applications.
31
32 %description -l pl.UTF-8
33 telepathy-glib jest szkieletem opartym na D-Bus ujednolicającym
34 komunikację w czasie rzeczywistym, włączając w to komunikatory oraz
35 komunikację głosową i za pośrednictwem wideo. Zasłania warstwą
36 abstrakcji różnice pomiędzy protokołami dostarczając jednolity
37 interfejs dla aplikacji.
38
39 %package devel
40 Summary:        Header files for telepathy-glib library
41 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki telepathy-glib
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       dbus-glib-devel >= 0.74
45 Requires:       glib2-devel >= 1:2.16.0
46
47 %description devel
48 Header files for telepathy-glib library.
49
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki telepathy-glib.
52
53 %package static
54 Summary:        Static telepathy-glib library
55 Summary(pl.UTF-8):      Statyczna biblioteka telepathy-glib
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 Static telepathy-glib library.
61
62 %description static -l pl.UTF-8
63 Statyczna biblioteka telepathy-glib.
64
65 %package apidocs
66 Summary:        telepathy-glib API documentation
67 Summary(pl.UTF-8):      Dokumentacja API telepathy-glib
68 Group:          Documentation
69 Requires:       gtk-doc-common
70
71 %description apidocs
72 telepathy-glib API documentation.
73
74 %description apidocs -l pl.UTF-8
75 Dokumentacja API telepathy-glib.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80
81 %build
82 %{__libtoolize}
83 %{__aclocal} -I m4
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure \
88         --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
89         --with-html-dir=%{_gtkdocdir}
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc AUTHORS ChangeLog README
109 %attr(755,root,root) %{_libdir}/libtelepathy-glib.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-glib.so.0
111
112 %files devel
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libtelepathy-glib.so
115 %{_libdir}/libtelepathy-glib.la
116 %dir %{_includedir}/telepathy-1.0
117 %dir %{_includedir}/telepathy-1.0/telepathy-glib
118 %dir %{_includedir}/telepathy-1.0/telepathy-glib/_gen
119 %{_includedir}/telepathy-1.0/telepathy-glib/*.h
120 %{_includedir}/telepathy-1.0/telepathy-glib/_gen/*.h
121 %{_pkgconfigdir}/telepathy-glib.pc
122
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/libtelepathy-glib.a
126
127 %if %{with apidocs}
128 %files apidocs
129 %defattr(644,root,root,755)
130 %{_gtkdocdir}/telepathy-glib
131 %endif
This page took 0.108325 seconds and 4 git commands to generate.