File libsocialweb-branding-openSUSE.spec of Package libsocialweb-branding-openSUSE

#
# spec file for package libsocialweb-branding-openSUSE
#
# Copyright (c) 2018 SUSE LINUX 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 keydir %{_datadir}/libsocialweb/keys
%define libsocialweb_version %(rpm -q --qf '%%{version}' libsocialweb)
Name:           libsocialweb-branding-openSUSE
Version:        42.1
Release:        0
Summary:        A personal social data server -- API keys from openSUSE
License:        SUSE-Public-Domain
Group:          System/Libraries
URL:            http://git.gnome.org/browse/libsocialweb/
Source0:        README-keys.txt
Source1:        facebook
Source2:        facebook.key
Source3:        flickr
Source4:        lastfm
Source5:        twitpic
Source6:        twitter
Source7:        smugmug
Source8:        plurk
BuildRequires:  libsocialweb
Requires:       libsocialweb = %{libsocialweb_version}
Supplements:    packageand(libsocialweb:branding-openSUSE)
Conflicts:      libsocialweb-branding
Provides:       libsocialweb-branding = %{libsocialweb_version}
# Check keys used by Fedora package:
#   http://pkgs.fedoraproject.org/gitweb/?p=libsocialweb.git;a=tree;
BuildArch:      noarch

%description
Libsocialweb is a personal social data server, that can interact with
social web services, like Flickr, Last.fm, Twitter and Vimeo.

This package provides API keys from openSUSE, for the web services
accessible with libsocialweb.

%prep
%setup -q -T -c

%build

%install
mkdir -p %{buildroot}/%{keydir}
cp %{SOURCE1} %{buildroot}/%{keydir}
cp %{SOURCE2} %{buildroot}/%{keydir}
cp %{SOURCE3} %{buildroot}/%{keydir}
cp %{SOURCE4} %{buildroot}/%{keydir}
cp %{SOURCE5} %{buildroot}/%{keydir}
cp %{SOURCE6} %{buildroot}/%{keydir}
cp %{SOURCE7} %{buildroot}/%{keydir}
cp %{SOURCE8} %{buildroot}/%{keydir}

%files
%{keydir}/*

%changelog
openSUSE Build Service is sponsored by