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

New package: will be needed for next release of control-center

OBS-URL: https://build.opensuse.org/request/show/75208
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-online-accounts?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2011-07-04 14:15:15 +00:00 committed by Git OBS Bridge
commit 28dc860c67
5 changed files with 173 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:87bc89f0f23e3241fa2c088abba1ff18c4de5a40334a752e8b8de7b6e6ac2d1c
size 487197

View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Jul 3 12:39:36 CEST 2011 - vuntz@opensuse.org
- Initial package (version 3.1.1).

141
gnome-online-accounts.spec Normal file
View File

@ -0,0 +1,141 @@
#
# spec file for package gnome-online-accounts
#
# 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/
#
%define have_lang 0
Name: gnome-online-accounts
Version: 3.1.1
Release: 1
License: LGPLv2+
Summary: GNOME service to access online accounts
Url: http://www.gnome.org
Group: System/GUI/GNOME
Source: http://download.gnome.org/sources/gnome-online-accounts/3.1/%{name}-%{version}.tar.bz2
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnome-keyring-1)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(rest-0.7)
BuildRequires: pkgconfig(webkitgtk-3.0)
%if %{have_lang}
Recommends: %{name}-lang
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.
%package -n libgoa-1_0-0
License: LGPLv2+
Summary: GNOME service to access online accounts -- Client Library
Group: System/Libraries
Recommends: %{name}
%description -n libgoa-1_0-0
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.
%package -n libgoa-backend-1_0-0
License: LGPLv2+
Summary: GNOME service to access online accounts -- Backend Library
Group: System/Libraries
Recommends: %{name}
%description -n libgoa-backend-1_0-0
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.
%package devel
License: LGPLv2+
Summary: GNOME service to access online accounts -- Development Files
Group: Development/Libraries/GNOME
Requires: libgoa-1_0-0 = %{version}
Requires: libgoa-backend-1_0-0 = %{version}
%description devel
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.
%if %{have_lang}
%lang_package
%endif
%prep
%setup -q
%build
%configure \
--disable-static \
--enable-gtk-doc
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%if %{have_lang}
%find_lang %{name} %{?no_lang_C}
%endif
%clean
rm -rf %{buildroot}
%post -n libgoa-1_0-0 -p /sbin/ldconfig
%postun -n libgoa-1_0-0 -p /sbin/ldconfig
%post -n libgoa-backend-1_0-0 -p /sbin/ldconfig
%postun -n libgoa-backend-1_0-0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING NEWS
%{_libdir}/girepository-1.0/Goa-1.0.typelib
%{_libexecdir}/goa-daemon
%{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service
%{_datadir}/icons/hicolor/*/apps/goa-account*.png
%{_mandir}/man8/goa-daemon.8%{?ext_man}
%files -n libgoa-1_0-0
%defattr(-,root,root)
%{_libdir}/libgoa-1.0.so.*
%files -n libgoa-backend-1_0-0
%defattr(-,root,root)
%{_libdir}/libgoa-backend-1.0.so.*
%files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/goa/
%{_includedir}/goa-1.0/
%{_libdir}/libgoa-1.0.so
%{_libdir}/libgoa-backend-1.0.so
%{_libdir}/pkgconfig/goa-1.0.pc
%{_libdir}/pkgconfig/goa-backend-1.0.pc
%{_datadir}/gir-1.0/*.gir
%if %{have_lang}
%files lang -f %{name}.lang
%endif
%changelog