gnome-contacts/gnome-contacts.spec

83 lines
2.3 KiB
RPMSpec

#
# spec file for package gnome-contacts
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: gnome-contacts
Version: 3.4.0
Release: 0
Summary: Contacts Manager for GNOME
License: GPL-2.0+
Group: Productivity/Office/Other
Url: http://www.gnome.org
Source: http://download.gnome.org/sources/gnome-contacts/3.4/%{name}-%{version}.tar.xz
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.14.0
BuildRequires: pkgconfig(folks) >= 0.6.1.1
BuildRequires: pkgconfig(folks-eds)
BuildRequires: pkgconfig(folks-telepathy)
BuildRequires: pkgconfig(gee-1.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.31.10
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(goa-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libebook-1.2) >= 3.2
BuildRequires: pkgconfig(libedataserver-1.2) >= 3.2
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(telepathy-glib) >= 0.17.5
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
The Contacts Manager for GNOME
%lang_package
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}
%clean
rm -rf %{buildroot}
%post
%glib2_gsettings_schema_post
%desktop_database_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/gnome-contacts
%{_datadir}/applications/gnome-contacts.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.Contacts.gschema.xml
%files lang -f %{name}.lang
%changelog