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