Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
gnome-online-accounts
gnome-online-accounts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-online-accounts.spec of Package gnome-online-accounts
# # spec file for package gnome-online-accounts # # Copyright (c) 2014 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 with_twitter 0 Name: gnome-online-accounts Version: 3.10.5 Release: 0 Summary: GNOME service to access online accounts License: LGPL-2.0+ Group: System/GUI/GNOME Url: http://www.gnome.org Source: http://download.gnome.org/sources/gnome-online-accounts/3.10/%{name}-%{version}.tar.xz Source99: baselibs.conf BuildRequires: docbook-xsl-stylesheets BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: krb5-mini-devel %if 0%{?with_twitter} # libsocialweb-branding-openSUSE is a package that already contains the right API keys. Instead of # duplicating them in the .spec file here, we include them from libsocialweb-branding. BuildRequires: libsocialweb-branding-openSUSE %endif BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(gcr-3) BuildRequires: pkgconfig(gio-unix-2.0) >= 2.35 BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.5.1 BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libsoup-2.4) >= 2.41 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(rest-0.7) BuildRequires: pkgconfig(telepathy-glib) BuildRequires: pkgconfig(webkitgtk-3.0) >= 2.1.90 # p11-kit is not 'strictly' seen a requirement, but without it none of the SSL/TLS # Certificates are considered valid, which results in a really bad experience. Requires: p11-kit >= 0.16 Recommends: %{name}-lang 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 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 typelib-1_0-Goa-1_0 Summary: GNOME service to access online accounts -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-Goa-1_0 gnome-online-accounts provides interfaces so applications and libraries in GNOME can access the user's online accounts. This package provides the GObject Introspection bindings for the libgoa client library. %package -n libgoa-backend-1_0-1 Summary: GNOME service to access online accounts -- Backend Library Group: System/Libraries Recommends: %{name} %description -n libgoa-backend-1_0-1 gnome-online-accounts provides interfaces so applications and libraries in GNOME can access the user's online accounts. %package devel Summary: GNOME service to access online accounts -- Development Files Group: Development/Libraries/GNOME Requires: libgoa-1_0-0 = %{version} Requires: libgoa-backend-1_0-1 = %{version} Requires: typelib-1_0-Goa-1_0 = %{version} %description devel gnome-online-accounts provides interfaces so applications and libraries in GNOME can access the user's online accounts. %lang_package %prep %setup -q translation-update-upstream %build %if 0%{?with_twitter} TWITTER=$(cat %{_datadir}/libsocialweb/keys/twitter) if test "x$TWITTER" = "x"; then echo "No API keys for twitter." false fi TWITTER_KEY=$(echo $TWITTER | awk '{print $1}') TWITTER_SECRET=$(echo $TWITTER | awk '{print $2}') %endif %configure \ --disable-static \ --enable-gtk-doc \ %if 0%{?with_twitter} --enable-twitter \ --with-twitter-consumer-key=$TWITTER_KEY \ --with-twitter-consumer-secret=$TWITTER_SECRET \ %endif --enable-facebook \ --enable-google \ --enable-windows-live \ --enable-kerberos \ --enable-exchange \ --enable-flickr \ --enable-owncloud \ --enable-imap-smtp make %{?_smp_mflags} %install %make_install find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %find_lang %{name} %{?no_lang_C} %find_lang gnome-online-accounts-tpaw %{name}.lang %{?no_lang_C} %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-1 -p /sbin/ldconfig %postun -n libgoa-backend-1_0-1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING NEWS %{_libexecdir}/goa-daemon %{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service %{_datadir}/gnome-online-accounts/ %{_datadir}/icons/hicolor/*/apps/goa-account*.png %{_datadir}/icons/hicolor/*/apps/im-*.* %{_mandir}/man8/goa-daemon.8%{?ext_man} %files -n libgoa-1_0-0 %defattr(-,root,root) %{_libdir}/libgoa-1.0.so.* %files -n typelib-1_0-Goa-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/Goa-1.0.typelib %files -n libgoa-backend-1_0-1 %defattr(-,root,root) %{_libdir}/libgoa-backend-1.0.so.* %files devel %defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/goa/ %{_includedir}/goa-1.0/ %dir %{_libdir}/goa-1.0 %{_libdir}/goa-1.0/include/ %{_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 %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor