98 lines
3.4 KiB
RPMSpec
98 lines
3.4 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
%define minver %(echo %version | cut -d. -f3)
|
|
Name: groupoffice
|
|
Version: 6.5.40
|
|
Release: 1mamba
|
|
Summary: Group-Office is a powerful modular Internet/Intranet application framework
|
|
Group: Applications/Web
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Fabio Giani <fabio.giani@gmail.com>
|
|
URL: https://www.group-office.com/
|
|
Source: https://sourceforge.net/projects/group-office/files/%{majver}/groupoffice-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libperl
|
|
BuildRequires: perl-DBI
|
|
BuildRequires: perl-Email-Valid
|
|
BuildRequires: perl-Mail-Sendmail
|
|
BuildRequires: perl-MIME-EncWords
|
|
BuildRequires: perl-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildArch: noarch
|
|
#Requires: apache >= 2.0.50
|
|
#Requires: apache-mod_php
|
|
Requires: php-mysqli
|
|
Requires: libwbxml2
|
|
Requires: tnef
|
|
|
|
%description
|
|
Group-Office is a powerful modular Internet/Intranet application framework. It features a calendar, project management, e-mail, tasks, addressbook, file management. Everything is designed to collaborate online
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/var/www/html/groupoffice
|
|
cp -R * %{buildroot}/var/www/html/groupoffice
|
|
#touch %{buildroot}/var/www/html/groupoffice/config.php
|
|
mkdir %{buildroot}/var/www/html/groupoffice/local/
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
#%post
|
|
#mkdir /home/groupoffice
|
|
#chown apache:apache /home/groupoffice
|
|
|
|
%files
|
|
%defattr(-,apache,apache)
|
|
%dir %{_localstatedir}/www/html/groupoffice
|
|
%{_localstatedir}/www/html/groupoffice/*.php
|
|
%{_localstatedir}/www/html/groupoffice/composer.*
|
|
%{_localstatedir}/www/html/groupoffice/config.php.example
|
|
%{_localstatedir}/www/html/groupoffice/groupoffice*
|
|
%{_localstatedir}/www/html/groupoffice/robots.txt
|
|
%{_localstatedir}/www/html/groupoffice/api
|
|
%{_localstatedir}/www/html/groupoffice/favicon.ico
|
|
%{_localstatedir}/www/html/groupoffice/controller
|
|
%{_localstatedir}/www/html/groupoffice/go
|
|
%{_localstatedir}/www/html/groupoffice/install
|
|
%{_localstatedir}/www/html/groupoffice/language
|
|
%{_localstatedir}/www/html/groupoffice/modules
|
|
%{_localstatedir}/www/html/groupoffice/vendor
|
|
%{_localstatedir}/www/html/groupoffice/views
|
|
|
|
%changelog
|
|
* Sat Apr 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.5.40-1mamba
|
|
- update to 6.5.40
|
|
|
|
* Fri Jun 17 2011 Automatic Build System <autodist@mambasoft.it> 3.5.40-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Aug 16 2010 Automatic Build System <autodist@mambasoft.it> 3.5.21-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Jul 12 2010 Automatic Build System <autodist@mambasoft.it> 3.5.9-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Jun 28 2010 Automatic Build System <autodist@mambasoft.it> 3.5.8-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 3.5.5-1mamba
|
|
- update to 3.5.5
|
|
3.02.9-1mamba
|
|
- update to 3.02.9
|
|
- removed unsecure post script (don't create any /home directory and/or set permissions there), needs new testing
|
|
- added requirement for php-mysqli and tnef
|
|
* Mon Jul 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
* Sat Jun 06 2009 Fabio Giani <fabio.giani@gmail.com> 3.01-2mamba
|
|
- Added requirements
|
|
* Sat Jun 06 2009 Fabio Giani <fabio.giani@gmail.com> 3.01-1mamba
|
|
- update to 3.01
|
|
* Mon Feb 11 2008 Fabio Giani <fabio.giani@gmail.com> 2.18-1mamba
|
|
- package created by autospec
|