File roundcubemail-plugin-carddav.spec of Package roundcubemail-plugin-carddav
#
# spec file for package roundcubemail-plugin-carddav
#
# Copyright (c) 2019 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 roundcube_plugindir /srv/www/vhosts/roundcubemail/public/plugins/
%define plugin carddav
%define user_group_name _roundcubemail
Name: roundcubemail-plugin-carddav
Version: 3.0.3
Release: 0
Summary: Roundcubemail - carddav plugin
License: AGPL-3.0
Group: Productivity/Networking/Web/Utilities
Url: https://plugins.roundcube.net/packages/roundcube/carddav
Source: https://github.com/blind-coder/rcmcarddav/releases/download/v3.0.3/carddav-3.0.3.tar.bz2
BuildRequires: roundcubemail
BuildRequires: rsync
%requires_ge roundcubemail
%description
CardDAV plugin for the RoundCube Webmailer
%prep
%setup -q -n %{plugin}
%build
%install
install -D -d -m 0755 %{buildroot}%{roundcube_plugindir}/%{plugin}/
rsync -av $PWD/ %{buildroot}%{roundcube_plugindir}/%{plugin}/
%files
%defattr(-,root,%{user_group_name})
%doc README.md
%license LICENSE
%{roundcube_plugindir}/%{plugin}/
%changelog