forked from NethServer/nethserver-nextcloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnethserver-nextcloud.spec
More file actions
43 lines (30 loc) · 993 Bytes
/
nethserver-nextcloud.spec
File metadata and controls
43 lines (30 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Summary: NethServer Nextcloud configuration
Name: nethserver-nextcloud
Version: 1.0.0
Release: 1%{?dist}
License: GPL
Source: %{name}-%{version}.tar.gz
BuildArch: noarch
URL: %{url_prefix}/%{name}
BuildRequires: nethserver-devtools
Requires: nextcloud
Requires: nethserver-httpd, nethserver-mysql
%description
NethServer Nextcloud files and configuration.
%prep
%setup
%build
perl createlinks
%install
rm -rf %{buildroot}
(cd root; find . -depth -print | cpio -dump %{buildroot})
mkdir -p %{buildroot}/var/lib/nethserver/nextcloud
%{genfilelist} %{buildroot} --dir /var/lib/nethserver/nextcloud 'attr(0755,apache,apache)' > %{name}-%{version}-filelist
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%doc COPYING
%dir %{_nseventsdir}/%{name}-update
%config %attr (0440,root,root) %{_sysconfdir}/sudoers.d/90_nethserver_nextcloud
%changelog
* Mon Aug 01 2016 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 1.0.0-1
- First Nextcloud release - NethServer/dev#5055