X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=empathy.spec;h=8b4e3a5882add790d4db4f4ea78c463f6ac9d91b;hb=44d5ed2f388bb5efc51a2bf2053165725e8ac9ea;hp=4e7b1abe410bd94ddb3df9fae4c79bd7d66778d9;hpb=e47aa049ae160d736d94c1979c796dcf1096477b;p=packages%2Fempathy.git diff --git a/empathy.spec b/empathy.spec index 4e7b1ab..8b4e3a5 100644 --- a/empathy.spec +++ b/empathy.spec @@ -1,40 +1,44 @@ 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.5 +Version: 0.21.4 Release: 1 License: GPL Group: Applications/Communications -Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/%{version}/%{name}-%{version}.tar.bz2 -# Source0-md5: e363689295c78ad62d323111a0176ea5 +Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/0.21/%{name}-%{version}.tar.bz2 +# Source0-md5: 53dc9904ce57778eb2142a576cd22d0e +Patch0: %{name}-python2.5.patch URL: http://empathy.imendio.org/ +BuildRequires: GConf2-devel BuildRequires: aspell-devel -BuildRequires: autoconf -BuildRequires: automake +BuildRequires: autoconf >= 2.59 +BuildRequires: automake >= 1:1.9 BuildRequires: dbus-glib-devel -BuildRequires: gnome-common >= 2.12.0 -BuildRequires: gnome-doc-utils -BuildRequires: gnome-panel-devel >= 2.16.2 -BuildRequires: gnutls-devel >= 1.2.5 -BuildRequires: gtk+2-devel >= 2:2.10.7 -BuildRequires: intltool >= 0.35.0 +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.0 -BuildRequires: libgnomeui-devel >= 2.16.1 -BuildRequires: libnotify-devel >= 0.4.2 +BuildRequires: libglade2-devel >= 1:2.6.2 +BuildRequires: libtelepathy-devel >= 0.3.1 BuildRequires: libtool -BuildRequires: libxml2-devel >= 1:2.6.27 +BuildRequires: libxml2-devel >= 1:2.6.28 +BuildRequires: pkgconfig +BuildRequires: python-pygtk-devel BuildRequires: rpmbuild(macros) >= 1.311 -BuildRequires: telepathy-glib-devel -BuildRequires: telepathy-mission-control-devel -BuildRequires: xorg-lib-libXScrnSaver-devel -Requires(post,postun): gtk+2 >= 2:2.10.7 +BuildRequires: telepathy-mission-control-devel >= 4.37 +Requires(post,postun): gtk+2 >= 2:2.12.0 Requires(post,postun): hicolor-icon-theme -Requires(post,postun): scrollkeeper -Requires(post,preun): GConf2 >= 2.16.0 -Requires: iso-codes -Requires: loudmouth >= 1.0.4 +Requires(post,preun): GConf2 +Requires: %{name}-libs = %{version}-%{release} +Suggests: telepathy-butterfly +Suggests: telepathy-gabble +Suggests: telepathy-idle +Suggests: telepathy-salut Obsoletes: gnome-jabber +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -42,11 +46,74 @@ Empathy aims at making Instant Messaging with Jabber as easy as possible. %description -l pl.UTF-8 -Celem Empathy jets uczynienie komunikowania poprzez Jabbera tak -łatwym jak to tylko możliwe. +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 + +%description libs +Libraries for empathy. + +%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. %prep %setup -q +%patch0 -p1 + +sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS +mv po/sr\@{Latn,latin}.po %build %{__glib_gettextize} @@ -58,10 +125,7 @@ Celem Empathy jets uczynienie komunikowania poprzez Jabbera tak %{__autoconf} %configure \ --disable-schemas-install \ - --disable-scrollkeeper \ - --enable-aspell \ - --enable-dbus \ - --enable-libnotify + --with-html-dir=%{_gtkdocdir} %{__make} %install @@ -71,6 +135,8 @@ rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT \ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 +rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} + %find_lang %{name} --with-gnome --all-name %clean @@ -78,16 +144,19 @@ rm -rf $RPM_BUILD_ROOT %post %gconf_schema_install empathy.schemas -%scrollkeeper_update_post +%gconf_schema_install GNOME_Megaphone_Applet.schemas %update_icon_cache hicolor %preun %gconf_schema_uninstall empathy.schemas +%gconf_schema_uninstall GNOME_Megaphone_Applet.schemas %postun -%scrollkeeper_update_postun %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 @@ -95,7 +164,43 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name} %{_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}/gnome/autostart/empathy.desktop %{_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 + +%files -n python-%{name} +%defattr(644,root,root,755) +%attr(755,root,root) %{py_sitedir}/empathy.so +%attr(755,root,root) %{py_sitedir}/empathygtk.so