]> git.pld-linux.org Git - packages/empathy.git/blob - empathy.spec
41aebd1c76f4dc38bb87f7c071ecae929381ee18
[packages/empathy.git] / empathy.spec
1 Summary:        Very easy to use GNOME Telepathy client
2 Summary(pl.UTF-8):      Bardzo łatwy w użyciu klient Telepathy dla GNOME
3 Name:           empathy
4 Version:        2.32.1
5 Release:        2
6 License:        GPL v2
7 Group:          Applications/Communications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/empathy/2.32/%{name}-%{version}.tar.bz2
9 # Source0-md5:  09e7d72cd58a5f776b5097e7d5596095
10 Patch0:         configure.patch
11 URL:            http://live.gnome.org/Empathy
12 BuildRequires:  GConf2-devel >= 2.26.0
13 BuildRequires:  NetworkManager-devel >= 0.7.0
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake >= 1:1.9
16 BuildRequires:  clutter-gtk-devel >= 0.10.0
17 BuildRequires:  dbus-glib-devel >= 0.74
18 BuildRequires:  docbook-dtd412-xml
19 BuildRequires:  enchant-devel >= 1.2.0
20 BuildRequires:  evolution-data-server-devel >= 2.24.0
21 BuildRequires:  farsight2-devel
22 BuildRequires:  folks-devel >= 0.1.5
23 BuildRequires:  geoclue-devel >= 0.11
24 BuildRequires:  gettext-devel
25 BuildRequires:  glib2-devel >= 1:2.26.0
26 BuildRequires:  gnome-common >= 2.24.0
27 BuildRequires:  gnome-doc-utils >= 0.18.0
28 BuildRequires:  gnome-keyring-devel >= 2.26.0
29 BuildRequires:  gnutls-devel >= 2.8.5
30 BuildRequires:  gstreamer-devel
31 BuildRequires:  gstreamer-plugins-base-devel
32 BuildRequires:  gtk+2-devel >= 2:2.22.0
33 BuildRequires:  gtk-webkit-devel >= 1.1.15
34 BuildRequires:  intltool >= 0.40.0
35 BuildRequires:  iso-codes >= 0.35
36 BuildRequires:  libcanberra-gtk-devel >= 0.4
37 BuildRequires:  libchamplain-devel >= 0.8.0
38 BuildRequires:  libgnome-keyring-devel >= 2.26.0
39 BuildRequires:  libnotify-devel >= 0.4.4
40 BuildRequires:  libtool
41 BuildRequires:  libunique-devel >= 1.1.2
42 BuildRequires:  libxml2-devel >= 1:2.6.28
43 BuildRequires:  nautilus-sendto-devel >= 2.32.0
44 BuildRequires:  pkgconfig
45 BuildRequires:  rpmbuild(find_lang) >= 1.23
46 BuildRequires:  rpmbuild(macros) >= 1.592
47 BuildRequires:  sed >= 4.0
48 BuildRequires:  telepathy-farsight-devel >= 0.0.14
49 BuildRequires:  telepathy-glib-devel >= 0.12.0
50 BuildRequires:  telepathy-logger-devel >= 0.1.5
51 Requires(post,postun):  glib2 >= 1:2.26.0
52 Requires(post,postun):  gtk+2 >= 2:2.12.0
53 Requires(post,postun):  hicolor-icon-theme
54 Requires:       telepathy-logger >= 0.1.5
55 Requires:       telepathy-mission-control
56 Suggests:       telepathy-butterfly
57 Suggests:       telepathy-gabble
58 Suggests:       telepathy-haze
59 Suggests:       telepathy-idle
60 Suggests:       telepathy-salut
61 Suggests:       telepathy-sofiasip
62 Obsoletes:      empathy-apidocs < 2.29.1
63 Obsoletes:      empathy-devel < 2.29.1
64 Obsoletes:      empathy-libs < 2.29.1
65 Obsoletes:      gnome-jabber
66 Obsoletes:      python-empathy < 2.29.1
67 # sr@Latn vs. sr@latin
68 Conflicts:      glibc-misc < 6:2.7
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 %description
72 Empathy aims at making Instant Messaging with Jabber as easy as
73 possible.
74
75 %description -l pl.UTF-8
76 Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
77 jak to tylko możliwe.
78
79 %package -n nautilus-sendto-empathy
80 Summary:        Empathy support for sending files in Nautilus
81 Summary(pl.UTF-8):      Wsparcie Empathy przy wysyłaniu plików z Nautilusa
82 Group:          X11/Applications
83 Requires:       %{name} = %{version}-%{release}
84 Requires:       nautilus-sendto >= 2.32.0
85
86 %description -n nautilus-sendto-empathy
87 Enables sending files from Nautilus to your Empathy contacts.
88
89 %description -n nautilus-sendto-empathy -l pl.UTF-8
90 Pozwala na przesyłanie z Nautilusa plików do kontaktów Empathy.
91
92 %prep
93 %setup -q
94 %patch0 -p1
95
96 rm po/en@shaw.po
97 sed -i 's/^en@shaw//' po/LINGUAS
98
99 %build
100 %{__intltoolize}
101 %{__libtoolize}
102 %{__aclocal} -I m4
103 %{__autoconf}
104 %{__autoheader}
105 %{__automake}
106 %configure \
107         --with-connectivity=nm \
108         --disable-schemas-install \
109         --disable-silent-rules \
110         --disable-static \
111         --enable-favourite-contacts \
112         --enable-location \
113         --enable-nautilus-sendto
114
115 %{__make} -j 1
116
117 %install
118 rm -rf $RPM_BUILD_ROOT
119
120 %{__make} install \
121         DESTDIR=$RPM_BUILD_ROOT \
122         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
123
124 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus-sendto/plugins/*.la
125 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
126
127 %find_lang %{name} --with-gnome --with-omf
128
129 %clean
130 rm -rf $RPM_BUILD_ROOT
131
132 %post
133 %glib_compile_schemas
134 %update_icon_cache hicolor
135
136 %postun
137 %glib_compile_schemas
138 %update_icon_cache hicolor
139
140 %files -f %{name}.lang
141 %defattr(644,root,root,755)
142 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README
143 %attr(755,root,root) %{_bindir}/empathy
144 %attr(755,root,root) %{_bindir}/empathy-accounts
145 %attr(755,root,root) %{_bindir}/empathy-debugger
146 %attr(755,root,root) %{_libexecdir}/empathy-auth-client
147 %attr(755,root,root) %{_libexecdir}/empathy-av
148 %{_datadir}/%{name}
149 %{_datadir}/GConf/gsettings/empathy.convert
150 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.service
151 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service
152 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Auth.service
153 %{_datadir}/glib-2.0/schemas/org.gnome.Empathy.gschema.xml
154 %{_datadir}/telepathy/clients/Empathy.client
155 %{_datadir}/telepathy/clients/Empathy.AudioVideo.client
156 %{_datadir}/telepathy/clients/Empathy.Auth.client
157 %{_iconsdir}/hicolor/*/apps/*
158 %{_mandir}/man1/empathy*.1*
159 %{_desktopdir}/*.desktop
160
161 %files -n nautilus-sendto-empathy
162 %defattr(644,root,root,755)
163 %attr(755,root,root) %{_libdir}/nautilus-sendto/plugins/libnstempathy.so
This page took 0.091387 seconds and 2 git commands to generate.