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

Annotation of /rpms/smeserver-nextcloud/contribs9/smeserver-nextcloud.spec

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


Revision 1.1 - (hide annotations) (download)
Mon Apr 2 02:54:53 2018 UTC (6 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-nextcloud-1_1_0-1_el6_sme
* Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme
- initial release

1 jpp 1.1 %define release 1
2     %define version 1.1.0
3    
4     Summary: Koozali SME Server Nextcloud configuration
5     Name: smeserver-nextcloud
6     Version: %{version}
7     Release: %{release}%{?dist}
8     License: GPL
9     Source: %{name}-%{version}.tar.gz
10     BuildArch: noarch
11     URL: %{url_prefix}/%{name}
12    
13     BuildRequires: e-smith-devtools
14    
15     Requires: nextcloud >= 13.0.1
16     Requires: e-smith-apache
17     Requires: e-smith-mysql
18     Requires: smeserver-webapps-common
19     Requires: smeserver-php-fpm
20     Requires: samba-client
21     Requires: php71-php-smbclient
22     Requires: php71-php-opcache
23     Requires: php71-php-pecl-apcu
24     Requires: perl-JSON
25    
26     %description
27     Koozali SME Server Nextcloud files and configuration.
28    
29    
30     %prep
31     %setup
32    
33    
34     %build
35     perl createlinks
36    
37     %install
38     rm -rf %{buildroot}
39     (cd root; find . -depth -print | cpio -dump %{buildroot})
40     /sbin/e-smith/genfilelist %{buildroot} \
41     --dir /var/lib/php/nextcloud 'attr(0755,www,www)' \
42     --dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \
43     --dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \
44     --dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \
45     --dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \
46     --dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \
47     > %{name}-%{version}-filelist
48    
49     cat %{name}-%{version}-filelist
50     %files -f %{name}-%{version}-filelist
51     %defattr(-,root,root)
52     %doc COPYING
53    
54    
55     %changelog
56     * Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme
57     - initial release
58    

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