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