2011-06-16 08:46:30 +00:00
|
|
|
#
|
|
|
|
# spec file for package gnome-contacts
|
|
|
|
#
|
2013-03-13 22:56:37 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-06-16 08:46:30 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-23 12:16:04 +00:00
|
|
|
|
2011-06-16 08:46:30 +00:00
|
|
|
Name: gnome-contacts
|
2013-10-16 14:27:23 +00:00
|
|
|
Version: 3.10.1
|
2011-12-21 04:50:31 +00:00
|
|
|
Release: 0
|
2011-06-16 08:46:30 +00:00
|
|
|
Summary: Contacts Manager for GNOME
|
2011-12-21 04:50:31 +00:00
|
|
|
License: GPL-2.0+
|
2011-06-16 08:46:30 +00:00
|
|
|
Group: Productivity/Office/Other
|
2011-12-21 04:50:31 +00:00
|
|
|
Url: http://www.gnome.org
|
2013-09-24 20:05:35 +00:00
|
|
|
Source: http://download.gnome.org/sources/gnome-contacts/3.10/%{name}-%{version}.tar.xz
|
2012-09-07 16:32:25 +00:00
|
|
|
# For directory ownership
|
|
|
|
BuildRequires: gnome-shell
|
2011-06-16 08:46:30 +00:00
|
|
|
BuildRequires: intltool
|
2013-03-20 18:15:04 +00:00
|
|
|
BuildRequires: translation-update-upstream
|
2011-06-16 08:46:30 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2013-09-07 13:16:20 +00:00
|
|
|
BuildRequires: vala
|
2012-09-21 19:37:42 +00:00
|
|
|
BuildRequires: pkgconfig(cheese)
|
|
|
|
BuildRequires: pkgconfig(cheese-gtk) >= 3.3.91
|
2013-08-21 21:06:36 +00:00
|
|
|
BuildRequires: pkgconfig(folks) >= 0.9.5
|
2012-01-17 13:39:22 +00:00
|
|
|
BuildRequires: pkgconfig(folks-eds)
|
2011-06-16 08:46:30 +00:00
|
|
|
BuildRequires: pkgconfig(folks-telepathy)
|
2013-03-13 22:56:37 +00:00
|
|
|
BuildRequires: pkgconfig(gee-0.8)
|
2013-08-21 21:06:36 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.37.6
|
2012-02-08 10:58:23 +00:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
2011-09-21 15:55:33 +00:00
|
|
|
BuildRequires: pkgconfig(goa-1.0)
|
2013-03-13 22:56:37 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2013-08-21 21:06:36 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.11
|
2012-09-07 15:54:50 +00:00
|
|
|
BuildRequires: pkgconfig(libebook-1.2) >= 3.5.3
|
|
|
|
BuildRequires: pkgconfig(libedataserver-1.2) >= 3.5.3
|
2011-07-02 11:27:17 +00:00
|
|
|
BuildRequires: pkgconfig(libnotify)
|
2012-03-11 17:45:05 +00:00
|
|
|
BuildRequires: pkgconfig(telepathy-glib) >= 0.17.5
|
2011-06-16 08:46:30 +00:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-02-08 10:58:23 +00:00
|
|
|
%glib2_gsettings_schema_requires
|
2011-06-16 08:46:30 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Contacts Manager for GNOME
|
|
|
|
|
2012-09-07 16:32:25 +00:00
|
|
|
%package -n gnome-shell-search-provider-contacts
|
|
|
|
Summary: Contacts Manager for GNOME -- Search Provider for GNOME Shell
|
|
|
|
Group: Productivity/Office/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: gnome-shell
|
|
|
|
Supplements: packageand(%{name}:gnome-shell)
|
|
|
|
|
|
|
|
%description -n gnome-shell-search-provider-contacts
|
|
|
|
The Contacts Manager for GNOME
|
|
|
|
|
|
|
|
This package contains a search provider to enable GNOME Shell to get
|
|
|
|
search results from contacts.
|
|
|
|
|
2011-06-16 08:46:30 +00:00
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-03-20 18:15:04 +00:00
|
|
|
translation-update-upstream
|
2011-06-16 08:46:30 +00:00
|
|
|
|
|
|
|
%build
|
2013-03-13 22:56:37 +00:00
|
|
|
#A Harsh workaround for bgo#682526 - The casts are 'accepted'
|
|
|
|
export CFLAGS="%{optflags} -w"
|
2011-06-16 08:46:30 +00:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%suse_update_desktop_file %{name}
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
2012-02-08 10:58:23 +00:00
|
|
|
%glib2_gsettings_schema_post
|
2011-06-16 08:46:30 +00:00
|
|
|
%desktop_database_post
|
|
|
|
|
|
|
|
%postun
|
2012-02-08 10:58:23 +00:00
|
|
|
%glib2_gsettings_schema_postun
|
2011-06-16 08:46:30 +00:00
|
|
|
%desktop_database_postun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
|
%{_bindir}/gnome-contacts
|
2013-09-19 19:24:58 +00:00
|
|
|
%dir %{_datadir}/appdata
|
|
|
|
%{_datadir}/appdata/gnome-contacts.appdata.xml
|
2011-06-16 08:46:30 +00:00
|
|
|
%{_datadir}/applications/gnome-contacts.desktop
|
2012-02-08 10:58:23 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Contacts.gschema.xml
|
2013-03-13 22:56:37 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Contacts.enums.xml
|
2012-09-07 16:32:25 +00:00
|
|
|
|
|
|
|
%files -n gnome-shell-search-provider-contacts
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Contacts.SearchProvider.service
|
2012-09-07 15:54:50 +00:00
|
|
|
%{_datadir}/gnome-shell/search-providers/gnome-contacts-search-provider.ini
|
|
|
|
%{_libexecdir}/gnome-contacts-search-provider
|
2011-06-16 08:46:30 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|