/[packages]/backports/5/owncloud/current/SPECS/owncloud.spec
ViewVC logotype

Diff of /backports/5/owncloud/current/SPECS/owncloud.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1060818 by zezinho, Fri Oct 14 15:44:56 2016 UTC revision 1060819 by zezinho, Fri Oct 14 20:27:36 2016 UTC
# Line 1  Line 1 
1  %define version 8.1.10  %define version 8.1.10
2  %define rel 1  %define rel 2
3  %define prerel %{nil}  %define prerel %{nil}
4    
5  %if "%{prerel}" != "%{nil}"  %if "%{prerel}" != "%{nil}"
# Line 30  Requires:     php-mbstring Line 30  Requires:     php-mbstring
30  Requires:     php-gd  Requires:     php-gd
31  Requires:     php-curl  Requires:     php-curl
32  Requires:     php-iconv  Requires:     php-iconv
33  Recommends:   php-sqlite3 php-pdo_sqlite  Recommends:   php-sqlite3 php-pdo_sqlite php-opcache
34  BuildArch:    noarch  BuildArch:    noarch
35    
36  %description  %description
# Line 45  with other people. Line 45  with other people.
45  mkdir -p %{buildroot}%{_datadir}/%{name}  mkdir -p %{buildroot}%{_datadir}/%{name}
46  cp -pr * %{buildroot}%{_datadir}/%{name}  cp -pr * %{buildroot}%{_datadir}/%{name}
47    
48    mkdir -p %{buildroot}%{_sysconfdir}/%{name}
49    mv %{buildroot}%{_datadir}/%{name}/config/ca-bundle.crt %{buildroot}%{_sysconfdir}/%{name}
50  rm -rf %{buildroot}%{_datadir}/%{name}/config  rm -rf %{buildroot}%{_datadir}/%{name}/config
51  rm -f %{buildroot}%{_datadir}/%{name}/AUTHORS  rm -f %{buildroot}%{_datadir}/%{name}/AUTHORS
52  rm -f %{buildroot}%{_datadir}/%{name}/COPYING-AGPL  rm -f %{buildroot}%{_datadir}/%{name}/COPYING-AGPL
53  rm -f %{buildroot}/.htaccess  rm -f %{buildroot}/.htaccess
54    
 mkdir -p %{buildroot}%{_sysconfdir}/%{name}  
55  mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}  mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}
56  pushd %{buildroot}%{_datadir}/%{name}  pushd %{buildroot}%{_datadir}/%{name}
57  ln -s ../../..%{_sysconfdir}/%{name} config  ln -s ../../..%{_sysconfdir}/%{name} config
# Line 161  fi Line 162  fi
162  %_datadir/%name/.htaccess  %_datadir/%name/.htaccess
163  %attr(-,root,apache) %{_datadir}/%{name}/apps  %attr(-,root,apache) %{_datadir}/%{name}/apps
164  %attr(-,root,apache) %{_sysconfdir}/%{name}  %attr(-,root,apache) %{_sysconfdir}/%{name}
165    %attr(-,root,apache) %{_sysconfdir}/%{name}/ca-bundle.crt
166  %attr(-,apache,apache) %{_localstatedir}/lib/%{name}  %attr(-,apache,apache) %{_localstatedir}/lib/%{name}
167  %config(noreplace) %{webappconfdir}/%{name}.conf  %config(noreplace) %{webappconfdir}/%{name}.conf

Legend:
Removed from v.1060818  
changed lines
  Added in v.1060819

  ViewVC Help
Powered by ViewVC 1.1.30