/[packages]/cauldron/owncloud/current/SPECS/owncloud.spec
ViewVC logotype

Contents of /cauldron/owncloud/current/SPECS/owncloud.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 203600 - (show annotations) (download)
Tue Jan 31 00:29:17 2012 UTC (10 years, 8 months ago) by dmorgan
File size: 1335 byte(s)
New version 3.0.0
1 %define name owncloud
2 %define version 3.0.0
3 %define prerel alpha1
4 %define date 20110818
5 %define release %mkrel 1
6
7 Summary: Open personal cloud
8 Name: %{name}
9 Version: %{version}
10 Release: %{release}
11 Source0: http://owncloud.org/releases/%{name}-%version.tar.bz2
12 License: AGPLv3
13 Group: Monitoring
14 Url: http://owncloud.org/
15 BuildRequires: apache
16 Requires: php >= 4.1
17 Requires: apache
18 Requires: apache-mod_php
19 Requires: php-zip
20 Requires: php-mbstring
21 Suggests: php-pear-MDB2_Driver_sqlite
22 BuildArch: noarch
23
24 %description
25 A personal cloud server which runs on you personal server
26 and enables accessing your data from everywhere and sharing
27 with other people.
28
29 %files
30 %attr(-,apache,apache) %_datadir/%name
31 %config(noreplace) %_sysconfdir/httpd/conf/webapps.d/%{name}.conf
32
33 #--------------------------------------------------------------------
34
35
36 %prep
37 %setup -q -n %name
38
39 %install
40 mkdir -p %buildroot%_datadir/owncloud
41 (
42 cd %buildroot%_datadir
43 tar xjf %{SOURCE0}
44 )
45
46
47 mkdir -p %buildroot%_sysconfdir/httpd/conf/webapps.d
48 cat > %buildroot%_sysconfdir/httpd/conf/webapps.d/%{name}.conf <<EOF
49 # %{name} configuration
50 Alias /%name %_datadir/%name
51 <Directory %_datadir/%name>
52 Order allow,deny
53 Allow from all
54 </Directory>
55
56 EOF
57

  ViewVC Help
Powered by ViewVC 1.1.28