%define name roundcube-plugin-globaladdressbook %define version 2.1 %define release 2 Summary: Provides context Menu to Roundcube. Name: %{name} Version: %{version} Release: %{release}%{?dist} #https://github.com/johndoh/roundcube-globaladdressbook Source: roundcube-globaladdressbook-%{version}.tar.gz License: GNU General Public License Version 3+ Group: SMEserver/addon BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} BuildArchitectures: noarch BuildRequires: smeserver-devtools Requires: smeserver-release >= 11.0 AutoReqProv: no %description Roundcube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality expected from an e-mail client, including MIME support, address book, folder manipulation and message filters. This plugin adds global SQL based address books to Roundcube. It can be global per installation, per IMAP host or per domain. %changelog * Mon Sep 02 2024 Jean-Philippe Pialasse 2.1-2.sme - initial release for SME 11 %prep %setup -q -n roundcube-globaladdressbook-%{version} %build #perl createlinks %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/share/roundcubemail/plugins/globaladdressbook/ ( find . -depth -print | cpio -dump $RPM_BUILD_ROOT/usr/share/roundcubemail/plugins/globaladdressbook/) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ > %{name}-%{version}-filelist #echo "%doc COPYING" >> %{name}-%{version}-filelist #--dir 'attr(755,user,grp)' \ #--file 'attr(755,root,root)' \ %clean cd .. rm -rf roundcube-globaladdressbook-%{version} %pre %preun %post %postun #uninstall %files -f %{name}-%{version}-filelist %defattr(-,root,root)