Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lrupp:roundcube
roundcubemail-plugin-rcmcarddav
roundcubemail-plugin-rcmcarddav.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File roundcubemail-plugin-rcmcarddav.spec of Package roundcubemail-plugin-rcmcarddav
# # spec file for package roundcubemail-plugin-rcmcarddav # # Copyright (c) 2020 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/ # Name: roundcubemail-plugin-rcmcarddav %define plugin_name carddav Version: 5.1.0 Release: 0 Summary: CardDAV plugin for RoundCube Webmailer License: GPL-2.0 Group: Productivity/Networking/Other Url: https://www.benjamin-schieder.de/carddav.html Source: rcmcarddav-%{version}.tar.gz Source1: README.openSUSE # # zypper install php-composer # tar -xf carddav-*.gz # cd carddav # composer install --no-dev --no-scripts --ignore-platform-reqs # => check "scripts" section in composer.json # export version=%%{version}; tar -cvJf ../carddav-${version}-vendor.tar.xz vendor # Source2: %{plugin_name}-%{version}-vendor.tar.xz Requires: roundcubemail >= 1.4 Requires: mod_php_any >= 7.4 Requires: php-mbstring Requires: php-curl Provides: roundcubemail-plugin-carddav = 4.4.4 Obsoletes: roundcubemail-plugin-carddav <= 4.4.4 BuildRequires: apache2-devel BuildRequires: fdupes BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define apache_serverroot %(/usr/sbin/apxs2 -q DATADIR) %define roundcubepath %{apache_serverroot}/roundcubemail %define roundcubepath_plugins %{roundcubepath}/plugins %description CardDAV adapter for connecting to CardDAV-enabled addressbooks. %prep %setup -q -n rcmcarddav-%{version} -a2 install -m0644 %{SOURCE1} . for file in .gitignore .travis.yml .github .php_cs.dist .gitattributes .empty .php_cs .php-cs-fixer.dist.php; do find . -name $file -print0 | xargs -0 rm -rf done for file in $(grep -lr '/usr/bin/env php'); do sed -i "s|/usr/bin/env php|%{_bindir}/php|g" "$file" done %build # %install install -d %{buildroot}%{roundcubepath_plugins}/%{plugin_name} cp -pr . %{buildroot}%{roundcubepath_plugins}/%{plugin_name}/ rm -rf %{buildroot}%{roundcubepath_plugins}/%{plugin_name}/{*.md,composer.json,README.openSUSE,LICENSE} %{fdupes %{buildroot}%{roundcubepath_plugins}/%{plugin_name}} %files %defattr(-,root,root) %doc *.md README.openSUSE composer.json %license LICENSE %dir %{roundcubepath} %dir %{roundcubepath_plugins} %dir %{roundcubepath_plugins}/%{plugin_name} %{roundcubepath_plugins}/%{plugin_name} %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