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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30