2024-09-02 06:28:12 +02:00
|
|
|
%define name roundcube-plugin-contextmenu
|
2024-09-02 06:53:52 +02:00
|
|
|
%define version 3.3.1
|
|
|
|
%define release 2
|
|
|
|
Summary: Provides context Menu to Roundcube.
|
2024-09-02 06:28:12 +02:00
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}%{?dist}
|
2024-09-02 06:53:52 +02:00
|
|
|
#https://github.com/johndoh/roundcube-contextmenu
|
|
|
|
Source: roundcube-contextmenu-%{version}.tar.gz
|
|
|
|
License: GNU General Public License Version 3+
|
2024-09-02 06:28:12 +02:00
|
|
|
Group: SMEserver/addon
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
BuildArchitectures: noarch
|
2024-09-02 06:53:52 +02:00
|
|
|
BuildRequires: smeserver-devtools
|
|
|
|
Requires: smeserver-release >= 11.0
|
2024-09-02 06:28:12 +02:00
|
|
|
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 package provide the 'ContextMenu' third-party plugin, which creates
|
|
|
|
context menus for various parts of Roundcube using commands from the toolbars.
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-09-02 06:53:52 +02:00
|
|
|
* Mon Sep 02 2024 Jean-Philippe Pialasse <jpp@koozali.org> 3.3.1-2.sme
|
|
|
|
- initial release for SME 11
|
2024-09-02 06:28:12 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
|
2024-09-02 06:53:52 +02:00
|
|
|
%setup -q -n roundcube-contextmenu-%{version}
|
2024-09-02 06:28:12 +02:00
|
|
|
|
|
|
|
%build
|
2024-09-02 06:53:52 +02:00
|
|
|
#perl createlinks
|
2024-09-02 06:28:12 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2024-09-02 06:53:52 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/roundcubemail/plugins/contextmenu/
|
|
|
|
( find . -depth -print | cpio -dump $RPM_BUILD_ROOT/usr/share/roundcubemail/plugins/contextmenu/)
|
2024-09-02 06:28:12 +02:00
|
|
|
rm -f %{name}-%{version}-filelist
|
|
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
|
|
|
> %{name}-%{version}-filelist
|
|
|
|
#echo "%doc COPYING" >> %{name}-%{version}-filelist
|
|
|
|
#--dir <dir> 'attr(755,user,grp)' \
|
|
|
|
#--file <file> 'attr(755,root,root)' \
|
|
|
|
|
|
|
|
%clean
|
|
|
|
cd ..
|
2024-09-02 06:53:52 +02:00
|
|
|
rm -rf roundcube-contextmenu-%{version}
|
2024-09-02 06:28:12 +02:00
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
#uninstall
|
|
|
|
%files -f %{name}-%{version}-filelist
|
|
|
|
%defattr(-,root,root)
|