Accepting request 73752 from home:vuntz:branches:GNOME:Factory

New package: new gnome contacts manager app, for 3.2; a bit raw right now

OBS-URL: https://build.opensuse.org/request/show/73752
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-contacts?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2011-06-16 08:46:30 +00:00 committed by Git OBS Bridge
commit 7854d3d09a
5 changed files with 119 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28d02ba5ce88e617fe28d75dfa100f2966fbd3939938de47c5c7dee0636ecab9
size 306543

5
gnome-contacts.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Jun 15 15:17:07 CEST 2011 - vuntz@opensuse.org
- Initial package (version 0.1.0).

87
gnome-contacts.spec Normal file
View File

@ -0,0 +1,87 @@
#
# 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/
#
# Remove those defines once the upstream tarball contains a .desktop file and translations
%define have_desktop_file 0
%define have_lang 0
Name: gnome-contacts
Version: 0.1.0
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
%if %{have_desktop_file}
BuildRequires: update-desktop-files
%endif
BuildRequires: vala
BuildRequires: pkgconfig(folks)
BuildRequires: pkgconfig(folks-telepathy)
BuildRequires: pkgconfig(gtk+-3.0)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Contacts Manager for GNOME
%if %{have_lang}
%lang_package
%endif
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%if %{have_desktop_file}
%suse_update_desktop_file %{name}
%endif
%if %{have_lang}
%find_lang %{name} %{?no_lang_C}
%endif
%clean
rm -rf %{buildroot}
%if %{have_desktop_file}
%post
%desktop_database_post
%postun
%desktop_database_postun
%endif
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/gnome-contacts
%if %{have_desktop_file}
%{_datadir}/applications/gnome-contacts.desktop
%endif
%{_datadir}/gnome-contacts/
%if %{have_lang}
%files lang -f %{name}.lang
%endif
%changelog