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