gnome-contacts/gnome-contacts.spec

71 lines
1.8 KiB
RPMSpec

#
# spec file for package gnome-contacts
#
# Copyright (c) 2011 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: 0.1.3
Release: 1
License: GPLv2+
Summary: Contacts Manager for GNOME
Url: http://www.gnome.org
Group: Productivity/Office/Other
Source: http://download.gnome.org/sources/gnome-contacts/0.1/%{name}-%{version}.tar.bz2
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: vala
BuildRequires: pkgconfig(folks) >= 0.6.1
BuildRequires: pkgconfig(folks-telepathy)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libnotify)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%desktop_database_post
%postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/gnome-contacts
%{_datadir}/applications/gnome-contacts.desktop
%{_datadir}/gnome-contacts/
%files lang -f %{name}.lang
%changelog