]> git.pld-linux.org Git - packages/empathy.git/blobdiff - empathy.spec
- use %glib_compile_schemas
[packages/empathy.git] / empathy.spec
index a6a8c1de616b4f9509b4ec6389f0ed3a8a21b90b..41aebd1c76f4dc38bb87f7c071ecae929381ee18 100644 (file)
@@ -1,44 +1,69 @@
 Summary:       Very easy to use GNOME Telepathy client
 Summary(pl.UTF-8):     Bardzo łatwy w użyciu klient Telepathy dla GNOME
 Name:          empathy
-Version:       0.21.91
-Release:       1
-License:       GPL
+Version:       2.32.1
+Release:       2
+License:       GPL v2
 Group:         Applications/Communications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/empathy/0.21/%{name}-%{version}.tar.bz2
-# Source0-md5: e25d4bfd0c91b53bff498c6bbfd1bfc1
-Patch0:                %{name}-python2.5.patch
-URL:           http://empathy.imendio.org/
-BuildRequires: GConf2-devel
-BuildRequires: aspell-devel
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/empathy/2.32/%{name}-%{version}.tar.bz2
+# Source0-md5: 09e7d72cd58a5f776b5097e7d5596095
+Patch0:                configure.patch
+URL:           http://live.gnome.org/Empathy
+BuildRequires: GConf2-devel >= 2.26.0
+BuildRequires: NetworkManager-devel >= 0.7.0
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.9
-BuildRequires: dbus-glib-devel
-BuildRequires: esound-devel
-BuildRequires: evolution-data-server-devel
-BuildRequires: gnome-panel-devel
-BuildRequires: gnome-vfs2-devel
-BuildRequires: gtk+2-devel >= 2:2.12.0
-BuildRequires: intltool >= 0.36.2
-BuildRequires: iso-codes
-BuildRequires: libglade2-devel >= 1:2.6.2
-BuildRequires: libtelepathy-devel >= 0.3.1
+BuildRequires: clutter-gtk-devel >= 0.10.0
+BuildRequires: dbus-glib-devel >= 0.74
+BuildRequires: docbook-dtd412-xml
+BuildRequires: enchant-devel >= 1.2.0
+BuildRequires: evolution-data-server-devel >= 2.24.0
+BuildRequires: farsight2-devel
+BuildRequires: folks-devel >= 0.1.5
+BuildRequires: geoclue-devel >= 0.11
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gnome-doc-utils >= 0.18.0
+BuildRequires: gnome-keyring-devel >= 2.26.0
+BuildRequires: gnutls-devel >= 2.8.5
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-plugins-base-devel
+BuildRequires: gtk+2-devel >= 2:2.22.0
+BuildRequires: gtk-webkit-devel >= 1.1.15
+BuildRequires: intltool >= 0.40.0
+BuildRequires: iso-codes >= 0.35
+BuildRequires: libcanberra-gtk-devel >= 0.4
+BuildRequires: libchamplain-devel >= 0.8.0
+BuildRequires: libgnome-keyring-devel >= 2.26.0
+BuildRequires: libnotify-devel >= 0.4.4
 BuildRequires: libtool
+BuildRequires: libunique-devel >= 1.1.2
 BuildRequires: libxml2-devel >= 1:2.6.28
+BuildRequires: nautilus-sendto-devel >= 2.32.0
 BuildRequires: pkgconfig
-BuildRequires: python-pygtk-devel
-BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: telepathy-glib-devel >= 0.7.1
-BuildRequires: telepathy-mission-control-devel >= 4.53
+BuildRequires: rpmbuild(find_lang) >= 1.23
+BuildRequires: rpmbuild(macros) >= 1.592
+BuildRequires: sed >= 4.0
+BuildRequires: telepathy-farsight-devel >= 0.0.14
+BuildRequires: telepathy-glib-devel >= 0.12.0
+BuildRequires: telepathy-logger-devel >= 0.1.5
+Requires(post,postun): glib2 >= 1:2.26.0
 Requires(post,postun): gtk+2 >= 2:2.12.0
 Requires(post,postun): hicolor-icon-theme
-Requires(post,preun):  GConf2
-Requires:      %{name}-libs = %{version}-%{release}
+Requires:      telepathy-logger >= 0.1.5
+Requires:      telepathy-mission-control
 Suggests:      telepathy-butterfly
 Suggests:      telepathy-gabble
+Suggests:      telepathy-haze
 Suggests:      telepathy-idle
 Suggests:      telepathy-salut
+Suggests:      telepathy-sofiasip
+Obsoletes:     empathy-apidocs < 2.29.1
+Obsoletes:     empathy-devel < 2.29.1
+Obsoletes:     empathy-libs < 2.29.1
 Obsoletes:     gnome-jabber
+Obsoletes:     python-empathy < 2.29.1
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -51,84 +76,43 @@ possible.
 Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
 jak to tylko możliwe.
 
-%package libs
-Summary:       Libraries for empathy
-Summary(pl.UTF-8):     Biblioteki dla empathy
-Group:         Libraries
+%package -n nautilus-sendto-empathy
+Summary:       Empathy support for sending files in Nautilus
+Summary(pl.UTF-8):     Wsparcie Empathy przy wysyłaniu plików z Nautilusa
+Group:         X11/Applications
+Requires:      %{name} = %{version}-%{release}
+Requires:      nautilus-sendto >= 2.32.0
 
-%description libs
-Libraries for empathy.
+%description -n nautilus-sendto-empathy
+Enables sending files from Nautilus to your Empathy contacts.
 
-%description libs -l pl.UTF-8
-Biblioteki dla empathy.
-
-%package devel
-Summary:       empathy header files
-Summary(pl.UTF-8):     Pliki nagłówkowe empathy
-Group:         X11/Development/Libraries
-Requires:      %{name}-libs = %{version}-%{release}
-
-%description devel
-empathy header files.
-
-%description devel -l pl.UTF-8
-Pliki nagłówkowe empathy.
-
-%package static
-Summary:       empathy static libraries
-Summary(pl.UTF-8):     Statyczne biblioteki empathy
-Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}-%{release}
-
-%description static
-empathy static libraries.
-
-%description static -l pl.UTF-8
-Statyczne biblioteki empathy.
-
-%package apidocs
-Summary:       empathy API documentation
-Summary(pl.UTF-8):     Dokumentacja API empathy
-Group:         Documentation
-Requires:      gtk-doc-common
-
-%description apidocs
-empathy API documentation.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API empathy.
-
-%package -n python-%{name}
-Summary:       Python module for Empathy
-Summary(pl.UTF-8):     Moduł Pythona dla Empathy
-Group:         Development/Libraries
-Requires:      %{name}-libs = %{version}-%{release}
-
-%description -n python-%{name}
-Python module for Empathy.
-
-%description -n python-%{name} -l pl.UTF-8
-Moduł Pythona dla Empathy.
+%description -n nautilus-sendto-empathy -l pl.UTF-8
+Pozwala na przesyłanie z Nautilusa plików do kontaktów Empathy.
 
 %prep
 %setup -q
 %patch0 -p1
 
-sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
-mv po/sr\@{Latn,latin}.po
+rm po/en@shaw.po
+sed -i 's/^en@shaw//' po/LINGUAS
 
 %build
-%{__glib_gettextize}
-%{__libtoolize}
 %{__intltoolize}
-%{__aclocal}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
 %{__autoheader}
 %{__automake}
-%{__autoconf}
 %configure \
+       --with-connectivity=nm \
        --disable-schemas-install \
-       --with-html-dir=%{_gtkdocdir}
-%{__make}
+       --disable-silent-rules \
+       --disable-static \
+       --enable-favourite-contacts \
+       --enable-location \
+       --enable-nautilus-sendto
+
+%{__make} -j 1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -137,72 +121,43 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus-sendto/plugins/*.la
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
 
-%find_lang %{name} --with-gnome --all-name
+%find_lang %{name} --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install empathy.schemas
-%gconf_schema_install GNOME_Megaphone_Applet.schemas
+%glib_compile_schemas
 %update_icon_cache hicolor
 
-%preun
-%gconf_schema_uninstall empathy.schemas
-%gconf_schema_uninstall GNOME_Megaphone_Applet.schemas
-
 %postun
+%glib_compile_schemas
 %update_icon_cache hicolor
 
-%post  libs -p /sbin/ldconfig
-%postun        libs -p /sbin/ldconfig
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/empathy
+%attr(755,root,root) %{_bindir}/empathy-accounts
+%attr(755,root,root) %{_bindir}/empathy-debugger
+%attr(755,root,root) %{_libexecdir}/empathy-auth-client
+%attr(755,root,root) %{_libexecdir}/empathy-av
 %{_datadir}/%{name}
+%{_datadir}/GConf/gsettings/empathy.convert
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.service
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Auth.service
+%{_datadir}/glib-2.0/schemas/org.gnome.Empathy.gschema.xml
+%{_datadir}/telepathy/clients/Empathy.client
+%{_datadir}/telepathy/clients/Empathy.AudioVideo.client
+%{_datadir}/telepathy/clients/Empathy.Auth.client
 %{_iconsdir}/hicolor/*/apps/*
-%{_sysconfdir}/gconf/schemas/empathy.schemas
-%{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas
-%{_sysconfdir}/xdg/autostart/empathy.desktop
-#%attr(755,root,root) %{_libdir}/empathy-call-chandler
-%attr(755,root,root) %{_libdir}/empathy-chat-chandler
-%attr(755,root,root) %{_libdir}/megaphone-applet
-%{_libdir}/bonobo/servers/GNOME_Megaphone_Applet.server
-%{_datadir}/dbus-1/services/*.service
-%{_datadir}/mission-control/profiles/*.profile
-%{_datadir}/telepathy/managers/empathy-chat.chandler
-
-%files libs
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libempathy.so.*.*.*
-%attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.*
-
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libempathy.so
-%attr(755,root,root) %{_libdir}/libempathy-gtk.so
-%{_libdir}/libempathy.la
-%{_libdir}/libempathy-gtk.la
-%{_includedir}/libempathy
-%{_includedir}/libempathy-gtk
-%{_pkgconfigdir}/libempathy.pc
-%{_pkgconfigdir}/libempathy-gtk.pc
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libempathy.a
-%{_libdir}/libempathy-gtk.a
-
-%files apidocs
-%defattr(644,root,root,755)
-%{_gtkdocdir}/libempathy
-%{_gtkdocdir}/libempathy-gtk
+%{_mandir}/man1/empathy*.1*
+%{_desktopdir}/*.desktop
 
-%files -n python-%{name}
+%files -n nautilus-sendto-empathy
 %defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/empathy.so
-%attr(755,root,root) %{py_sitedir}/empathygtk.so
+%attr(755,root,root) %{_libdir}/nautilus-sendto/plugins/libnstempathy.so
This page took 0.073224 seconds and 4 git commands to generate.