groupoffice/groupoffice.spec

96 lines
3.5 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
%define minver %(echo %version | cut -d. -f3)
Name: groupoffice
Version: 3.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: http://www.group-office.com/
Source: http://garr.dl.sourceforge.net/project/group-office/%{majver}/%{name}-com-%{version}.tar.gz
License: GPL
BuildArch: noarch
BuildRequires: apache
BuildRequires: apache-mod_php
Requires: apache >= 2.0.50
Requires: apache-mod_php
Requires: php-mysqli
Requires: libwbxml2
Requires: tnef
BuildRoot: %{_tmppath}/%{name}-com-%{version}-stable-34
%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 -n %{name}-com-%{version}
%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
#%config(noreplace) %attr(0660,apache,apache) %{_localstatedir}/www/html/groupoffice/config.php
%{_localstatedir}/www/html/groupoffice/CHANGELOG.TXT
%{_localstatedir}/www/html/groupoffice/FAQ.TXT
%{_localstatedir}/www/html/groupoffice/favicon.ico
%{_localstatedir}/www/html/groupoffice/INSTALL.TXT
%{_localstatedir}/www/html/groupoffice/LICENSE.AGPL
%{_localstatedir}/www/html/groupoffice/LICENSE.TXT
%{_localstatedir}/www/html/groupoffice/mime.types
%{_localstatedir}/www/html/groupoffice/RELEASE.TXT
%{_localstatedir}/www/html/groupoffice/classes/*
%{_localstatedir}/www/html/groupoffice/controls/*
%{_localstatedir}/www/html/groupoffice/ext/*
%{_localstatedir}/www/html/groupoffice/install/*
%{_localstatedir}/www/html/groupoffice/javascript/*
%{_localstatedir}/www/html/groupoffice/language/*
%{_localstatedir}/www/html/groupoffice/local
%{_localstatedir}/www/html/groupoffice/modules/*
%{_localstatedir}/www/html/groupoffice/themes/*
%changelog
* 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
* Mon Jul 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 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
* 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