commit 7bc4defd13077ab985aba697e8b5f19017aae9cc Author: Jean-Philippe Pialasse Date: Wed Sep 11 22:40:51 2024 -0400 first diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a3b625f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.tar.xz filter=lfs diff=lfs merge=lfs -text diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d358271 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +NAME := roundcube-plugin-message_highlight +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md new file mode 100644 index 0000000..89203ab --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# roundcube-plugin-message_highlight + +SMEServer Koozali local git repo for roundcube-plugin-message_highlight + +## Source +https://github.com/texxasrulez/message_highlight + +## Bugzilla +Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=roundcube-plugin-message_highlight&product=SME%20Server%2011.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## Description + +With this plugin you can colorize the message index rows based on specific criteria like sender, recipient and subject. diff --git a/roundcube-message_highlight-1.0.1.tar.gz b/roundcube-message_highlight-1.0.1.tar.gz new file mode 100644 index 0000000..9083d62 --- /dev/null +++ b/roundcube-message_highlight-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d05a7d0dd2f68cf759958a5590448f5bdb6540e23d53eb6a351ce2c62a392b9 +size 31262 diff --git a/roundcube-plugin-message_highlight.spec b/roundcube-plugin-message_highlight.spec new file mode 100644 index 0000000..5732ec6 --- /dev/null +++ b/roundcube-plugin-message_highlight.spec @@ -0,0 +1,62 @@ +%define name roundcube-plugin-message_highlight +%define version 1.0.1 +%define release 1 +Summary: Provides context Menu to Roundcube. +Name: %{name} +Version: %{version} +Release: %{release}%{?dist} +#https://github.com/corbosman/message_highlight +Source: roundcube-message_highlight-%{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. + +With this plugin you can colorize the message index rows based on specific criteria like sender, recipient and subject. + +%changelog +* Wed Sep 11 2024 Jean-Philippe Pialasse 1.0.1-1.sme +- initial release for SME 11 + +%prep + +%setup -q -n message_highlight-%{version} + +%build +#perl createlinks + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/usr/share/roundcubemail/plugins/message_highlight/ +( find . -depth -print | cpio -dump $RPM_BUILD_ROOT/usr/share/roundcubemail/plugins/message_highlight/) +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-message_highlight-%{version} + +%pre + +%preun + +%post + +%postun +#uninstall +%files -f %{name}-%{version}-filelist +%defattr(-,root,root)