/[smecontribs]/rpms/nextcloud/contribs9/nextcloud.spec
ViewVC logotype

Contents of /rpms/nextcloud/contribs9/nextcloud.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download)
Fri Dec 21 03:49:14 2018 UTC (5 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: nextcloud-15_0_0-3_el6_sme
Changes since 1.6: +4 -2 lines
* Fri Dec 21 2018 Jean-Philipe Pialasse <tests@pialasse.com> 15.0.0-3.sme
- Update to release 15.0.0 [SME: 10669]

1 %define version 15.0.0
2 %define release 3
3
4 %define apache_serverroot /usr/share
5 %define apache_confdir /etc/httpd/conf.d
6 %define nc_dir %{apache_serverroot}/nextcloud
7 %define nc_config_dir %{nc_dir}/config
8 %define nc_data_dir %{nc_dir}/data
9
10 %define nc_user www
11 %define nc_group www
12
13 # Turn off the brp-python-bytecompile script
14 %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
15
16
17 Summary: Nextcloud package
18 Name: nextcloud
19 Version: %{version}
20 Release: %{release}%{?dist}
21 License: GPL
22 Source: https://download.nextcloud.com/server/releases/nextcloud-%{version}.tar.bz2
23 Source1: nextcloud.conf
24 BuildArch: noarch
25 URL: https://nextcloud.com/
26
27 BuildRequires: httpd
28
29 Requires: httpd
30 # Required php packages
31 Requires: php71
32 Requires: php71-php-fpm
33 Requires: php71-php-gd
34 Requires: php71-php-pdo
35 Requires: php71-php-mbstring
36 Requires: php71-php-pecl-zip
37 Requires: php71-php-imagick
38
39 # Recommended php packages
40 Requires: php71-php-intl
41 Requires: php71-php-mcrypt
42
43 # Required php packages for specific apps
44 Requires: php71-php-ldap
45
46 # Required php packages for MariaDB
47 Requires: php71-php-mysqlnd
48 #rh-php71-php-pdo_mysql
49
50
51 %description
52 Nextcloud files and configuration.
53
54 This package installs as follows:
55 nc_dir: %{nc_dir}
56 nc_data_dir: %{nc_data_dir}
57 nc_config_dir: %{nc_config_dir}
58
59
60 %install
61 rm -rf %{buildroot}
62 mkdir -p %{buildroot}/%{nc_data_dir}
63 mkdir -p %{buildroot}/usr/share
64 tar xf %{SOURCE0} -C %{buildroot}/usr/share
65
66 mkdir -p %{buildroot}/%{nc_dir}
67 mkdir -p %{buildroot}/%{nc_dir}/etc
68 mkdir -p %{buildroot}/%{nc_data_dir}
69 mkdir -p %{buildroot}/%{nc_config_dir}
70 # mkdir -p %{buildroot}/%{nc_dir}/assets
71 mkdir -p %{buildroot}/%{nc_dir}/updater
72
73 mkdir -p %{buildroot}/etc/httpd/conf.d
74 cp %{SOURCE1} %{buildroot}/etc/httpd/conf.d
75
76
77 %files
78 %defattr(0640,root,%{nc_group},0750)
79 %dir %attr(0775,root,%{nc_group}) %{nc_dir}
80 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/occ
81 %attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/apps
82 # %attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/assets
83 %attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/updater
84 %attr(0775,%{nc_user},%{nc_group}) %{nc_data_dir}
85 %attr(0775,%{nc_user},%{nc_group}) %{nc_config_dir}
86 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/lib
87 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/ocm-provider
88 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/core
89 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/settings
90 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/3rdparty
91 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/resources
92 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/themes
93 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/ocs*
94 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/*.php
95 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/AUTHORS
96 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/COPYING
97 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/index.html
98 %attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/robots.txt
99 %attr(0644,%{nc_user},%{nc_group}) %{nc_dir}/.htaccess
100
101 %config(noreplace) %attr(0644,%{nc_user},%{nc_group}) %{nc_dir}/.user.ini
102 %config(noreplace) %attr(0644,root,root) /etc/httpd/conf.d/nextcloud.conf
103
104 %defattr(0644,%{nc_user},%{nc_group},0755)
105
106
107 %changelog
108 * Fri Dec 21 2018 Jean-Philipe Pialasse <tests@pialasse.com> 15.0.0-3.sme
109 - Update to release 15.0.0 [SME: 10669]
110
111 * Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13.0.1-5.sme
112 - fix failure to update [SME: 10596]
113 remove assets folder before 13.0.4 update
114
115 * Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13.0.1-4.sme
116 - missing dependency for php71-php-pecl-zip [SME: 10554]
117
118 * Wed Mar 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13.0.1-3.sme
119 - import for SME9 using remi scl
120
121 * Mon Mar 19 2018 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 13.0.1-1
122 - Update to release 13.0.1
123
124 * Tue Mar 06 2018 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 13.0.0-1
125 - Update to release 13.0.0
126
127 * Thu Jan 25 2018 Alessandro Polidori <alessandro.polidori@nethesis.it> - 12.0.5-1
128 - Update to release 12.0.5
129
130 * Mon Jan 15 2018 Alessandro Polidori <alessandro.polidori@nethesis.it> - 12.0.4-2
131 - Spec: remove "config" sign from .htaccess
132
133 * Thu Dec 14 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 12.0.4-1
134 - Update to release 12.0.4
135
136 * Wed Sep 27 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 12.0.3
137 - Update to release 12.0.3
138
139 * Tue Aug 29 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 12.0.2-2
140 - Avoid security warnings on python compiled files
141
142 * Wed Aug 23 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 12.0.2
143 - Update to release 12.0.2
144
145 * Wed May 24 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 12.0.0
146 - Update to release 12.0.0
147 - Fix spec warnings - Thanks to @mbevc1
148
149 * Wed May 17 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 11.0.3-2
150 - Fix WebDAV authentication - Thanks to Davide Principi
151
152 * Wed May 17 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 11.0.3
153 - Update to release 11.0.3
154
155 * Wed Mar 15 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 11.0.2
156 - Update to release 11.0.2
157 - Move installation inside /usr/share/nextcloud
158 - Switch to php-fpm
159
160 * Thu Dec 15 2016 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 10.0.2
161 - Bump release: 10.0.2
162
163 * Mon Aug 01 2016 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 9.0.53-2
164 - First Nextcloud release - NethServer/dev#5055
165

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed