]> git.pld-linux.org Git - packages/telepathy-glib.git/blob - telepathy-glib.spec
- static-only libtelepathy-glib-unstable.a moved to -devel
[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.5.13
9 Release:        2
10 License:        LGPL
11 Group:          Libraries
12 Source0:        http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
13 # Source0-md5:  61b16101b6164ae495c765c2d09a0899
14 URL:            http://telepathy.freedesktop.org/wiki/
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake >= 1:1.8
17 BuildRequires:  dbus-glib-devel >= 0.61
18 BuildRequires:  glib2-devel >= 1:2.4.0
19 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.7}
20 BuildRequires:  libtelepathy-devel
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.61
45 Requires:       glib2-devel >= 1:2.4.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
80 %build
81 %{__libtoolize}
82 %{__aclocal} -I m4
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure \
87         --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
88         --with-html-dir=%{_gtkdocdir}
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %files
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog README
108 %attr(755,root,root) %{_libdir}/libtelepathy-glib.so.*.*.*
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 %{_libdir}/libtelepathy-glib-unstable.la
115 %{_libdir}/libtelepathy-glib-unstable.a
116 %dir %{_includedir}/telepathy-1.0
117 %dir %{_includedir}/telepathy-unstable
118 %dir %{_includedir}/telepathy-1.0/telepathy-glib
119 %dir %{_includedir}/telepathy-unstable/telepathy-glib
120 %dir %{_includedir}/telepathy-1.0/telepathy-glib/_gen
121 %dir %{_includedir}/telepathy-unstable/telepathy-glib/_gen
122 %{_includedir}/telepathy-1.0/telepathy-glib/*.h
123 %{_includedir}/telepathy-1.0/telepathy-glib/_gen/*.h
124 %{_includedir}/telepathy-unstable/telepathy-glib/*.h
125 %{_includedir}/telepathy-unstable/telepathy-glib/_gen/*.h
126 %{_pkgconfigdir}/telepathy-glib.pc
127 %{_pkgconfigdir}/telepathy-glib-unstable.pc
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/libtelepathy-glib.a
132
133 %if %{with apidocs}
134 %files apidocs
135 %defattr(644,root,root,755)
136 %{_gtkdocdir}/telepathy-glib
137 %endif
This page took 0.362465 seconds and 4 git commands to generate.