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