smeserver-pydio/smeserver-pydio.spec

213 lines
7.1 KiB
RPMSpec
Raw Normal View History

2012-04-06 17:47:06 +02:00
# Authority: vip-ire
# Name: Daniel Berteaud
2013-10-17 17:30:17 +02:00
%define name smeserver-pydio
2017-07-18 22:52:21 +02:00
%define version 0.3.0
2017-07-26 17:53:58 +02:00
%define release 1
2017-07-18 22:52:21 +02:00
%define phpversion 56
2013-10-17 17:30:17 +02:00
Summary: SME server integration of pydio
2012-04-06 17:47:06 +02:00
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
2014-04-23 09:34:48 +02:00
Epoch: 9
2012-04-06 17:47:06 +02:00
License: GNU GPL version 2
2013-10-17 17:30:17 +02:00
URL: http://pyd.io/
2012-04-06 17:47:06 +02:00
Group: SMEserver/addon
Source: %{name}-%{version}.tar.gz
BuildArchitectures: noarch
BuildRequires: e-smith-devtools
2013-11-18 16:57:59 +01:00
BuildRoot: %{_tmppath}/%{name}-%{version}
2012-04-06 17:47:06 +02:00
Requires: e-smith-base >= 5.2.0-56
2014-02-11 18:17:42 +01:00
Requires: pydio >= 5.2.0
2012-04-06 17:47:06 +02:00
Requires: smeserver-webapps-common
2013-10-23 17:02:12 +02:00
Requires: smeserver-shared-folders >= 0.1-82
2012-04-06 17:47:06 +02:00
Requires: perl(PHP::Serialization)
Requires: perl(File::Path)
2013-09-10 16:25:40 +02:00
Requires: perl(JSON)
2013-10-15 15:27:22 +02:00
Requires: ghostscript
Requires: poppler-utils
2013-10-23 17:02:12 +02:00
Requires: php-pear(VersionControl_Git)
Requires: git
2017-07-26 17:53:58 +02:00
Requires: php%{phpversion}-php-pecl-xattr
2013-10-15 15:27:22 +02:00
#Requires: mod_xsendfile
2012-04-06 17:47:06 +02:00
2013-10-17 17:30:17 +02:00
Obsoletes: smeserver-ajaxplorer
Provides: smeserver-ajaxplorer
2012-04-06 17:47:06 +02:00
%description
2013-10-17 17:30:17 +02:00
SME Server integration of Pydio.
Pydio is a rich-client browser for managing files on a web server
2012-04-06 17:47:06 +02:00
This contrib works with the smeserver-shared-folders addon
%changelog
2017-07-26 17:53:58 +02:00
* Tue Jul 18 2017 Daniel Berteaud <daniel@firewall-services.com> 0.3.0-1
- Switch to php56 using FPM+FastCGI
- Set default max upload size to 2048M
2017-05-23 13:47:46 +02:00
* Tue May 23 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.11-1
- Add /usr/share/php in open_basedir
2014-04-23 09:34:48 +02:00
* Wed Apr 23 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.10-1
- New branch for SME9
- Fix basic auth on SME9
2014-02-19 12:44:11 +01:00
* Wed Feb 19 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1
2014-04-23 09:34:48 +02:00
- Fix path for the feed table creation and also create syncable table
2014-02-19 12:44:11 +01:00
2014-02-18 10:16:22 +01:00
* Tue Feb 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.8-1
- Fix a typo in the indexer cron job
2014-02-18 09:57:27 +01:00
* Tue Feb 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.7-1
- Add the shared role so pydio works even if you have no group
2014-02-13 10:08:15 +01:00
* Thu Feb 13 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.6-1
- Re-introduce stars_rate meta field
2014-02-12 19:00:24 +01:00
* Wed Feb 12 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.5-1
- New prop ManualConf. If set to enable, do not reset custom settings
when expanding templates
2014-02-11 18:17:42 +01:00
* Fri Feb 7 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.4-1
- Compat with 5.2.0
- Enable user dashboard pseudo workspace
- Possibility to permanently enable the Pydio admin interface with
AdminInterface prop
- Enable quicksend plugin
- Enable a slave auth backend (serial)
- Reduce min password length
- Disable fast checks
- Allow globaly disabled indexer while enabling it on specific share
- New prop PydioIndexContent to enable content index (default to disabled)
- New prop ShareCreateUser to allow creating external user on the fly
2013-12-02 17:12:57 +01:00
* Mon Nov 18 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1
- Correctly set permissions on the 'home' repository
2013-11-18 16:57:59 +01:00
* Mon Nov 18 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
- Increase max_execution_time for the indexer cron job
- Don't remove the locales cache on webapps-update (prevent a bug with
the indexer which would create an empty locale cache)
2013-10-31 15:18:22 +01:00
* Thu Oct 31 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
- Fix disabling php output_buffering
2013-10-17 17:30:17 +02:00
* Thu Oct 17 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
- Renamed to smeserver-pydio
2013-10-23 17:02:12 +02:00
- Add core.mailer config
- Enable meta.git if PydioHistory prop is enabled (per share basis)
2013-10-17 17:30:17 +02:00
2013-10-15 15:32:38 +02:00
* Tue Oct 15 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.10-1
- Compatibility with JSON::XS
- Stop removing rights.ser files
2013-10-15 15:27:22 +02:00
* Wed Oct 2 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.9-1
- Enable notifications
- Enable cmd_line
- Enable lucene indexing
- Enable powerfs
2013-09-27 09:19:33 +02:00
* Thu Sep 26 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.8-1
- Correctly update the personal role, which is where Ajaxplorer
Looks for permissions now
2013-09-10 16:25:40 +02:00
* Wed Jul 3 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.7-1
- Compat with AjaXplorer 5
- Enable meta sources on shares
- Flush i18n cache so locales are updated
2012-11-29 16:14:47 +01:00
* Thu Nov 29 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.6-1
- Enable meta.filehasher if metadata is enabled
- Enable publiclets on a default install
2012-10-15 13:48:37 +02:00
* Mon Oct 15 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.5-1
- Add a cron task to delete old files in tmp dir
2012-04-27 13:01:11 +02:00
* Fri Apr 27 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1
- Use sane max_execution_time
2012-04-18 14:13:34 +02:00
* Wed Apr 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.3-1
- Only update homedir ACL if required
2012-04-18 10:25:52 +02:00
* Tue Apr 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1
- Posibility to access home dir (Read Only)
2012-04-18 11:02:40 +02:00
- Fix ACL for rw users
2012-04-18 10:25:52 +02:00
2012-04-06 17:47:06 +02:00
* Fri Apr 06 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.1-1
- Migrate to GIT
- make all shares accessible with open_basedir
- Fix diag_result templates expansion
2012-04-06 17:47:06 +02:00
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-11
- Support user level ACL
* Tue Jan 03 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-10
- Ajaxplorer 4.0 compatibility
- Support publiclets
* Tue Dec 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-9
- turn on JS debug (IE doesn't like compacted JS)
* Mon Dec 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-8
- Rise upload_max_number to 50
* Wed Nov 23 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-7
- Allow access to /usr/share/pear and to /usr/share/doc/ajaxplorer-*/client
- Warn the user after 10min of inactivity (instead of 3)
- Add support for logout URL
- Remove plugin cache files on updates
- Add support for meta.serial
* Thu Nov 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-6
- Fix default Recycle Bin dir
* Thu Oct 27 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-5
- Flush active sessions on privileges updates
* Mon Jul 11 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-4
- Reserve /ajaxplorer location
* Tue Jul 05 2011 Daniel B. <daniel@firewall-services.com> 0.1-3
- Honor Recycle Bin settings
* Tue Jun 28 2011 Daniel B. <daniel@firewall-services.com> 0.1-2
- Call ajaxplorer-user-rights later
- Fix display name of repositories
* Fri Jun 24 2011 Daniel B. <daniel@firewall-services.com> 0.1-1
- initial release
%prep
2013-11-18 16:57:59 +01:00
%setup -q
2012-04-06 17:47:06 +02:00
%build
perl ./createlinks
2017-07-18 22:52:21 +02:00
find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g"
%{__mkdir_p} root/var/log/php/pydio
%{__mkdir_p} root/var/lib/php/pydio/{tmp,opcache,session}
2012-04-06 17:47:06 +02:00
%install
rm -rf $RPM_BUILD_ROOT
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
rm -f %{name}-%{version}-filelist
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
--file /etc/cron.daily/pydio-tmpwatch 'attr(0755,root,root)' \
--file /etc/cron.daily/pydio-indexer 'attr(0700,root,root)' \
--file /usr/bin/pydiopdftotext 'attr(0755,root,root)' \
2017-07-18 22:52:21 +02:00
--dir /var/log/php/pydio 'attr(0770,root,www)' \
--dir /var/lib/php/pydio 'attr(0770,root,www)' \
--dir /var/lib/php/pydio/tmp 'attr(0770,root,www)' \
--dir /var/lib/php/pydio/opcache 'attr(0770,root,www)' \
--dir /var/lib/php/pydio/session 'attr(0770,root,www)' \
> %{name}-%{version}-filelist
2012-04-06 17:47:06 +02:00
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%clean
rm -rf $RPM_BUILD_ROOT
%postun