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

Diff of /cauldron/roundcubemail/current/SPECS/roundcubemail.spec

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

revision 184800 by dams, Tue Dec 20 09:10:57 2011 UTC revision 188735 by dams, Thu Dec 29 18:08:51 2011 UTC
# Line 1  Line 1 
1  %define rel             1  %define rel             2
2  %define beta            0  %define beta            0
3  %if %beta  %if %beta
4  %define release         %mkrel 0.%beta.%rel  %define release         %mkrel 0.%beta.%rel
# Line 21  License:       GPLv3 Line 21  License:       GPLv3
21  # - AdamW 2007/07  # - AdamW 2007/07
22  URL:            http://www.roundcube.net/  URL:            http://www.roundcube.net/
23  Source0:        http://downloads.sourceforge.net/roundcubemail/%{distname}  Source0:        http://downloads.sourceforge.net/roundcubemail/%{distname}
24    Source1:        README.urpmi
25  Epoch:          1  Epoch:          1
26  #BuildRequires: apache-devel pcre-devel rpm-helper  #BuildRequires: apache-devel pcre-devel rpm-helper
27  Requires:       apache-mod_php  Requires:       apache-mod_php
# Line 56  folder manipulation, message searching a Line 57  folder manipulation, message searching a
57  Webmail is written in PHP and requires a MySQL or PostgreSQL database.  Webmail is written in PHP and requires a MySQL or PostgreSQL database.
58  The user interface is fully skinnable using XHTML and CSS 2.  The user interface is fully skinnable using XHTML and CSS 2.
59    
60    If upgading an existing installation, please read instructions under
61    %{docdir}/README.urpmi for upgrading your MySQL/PostgreSQL/SQLite
62    database.
63    
64  %prep  %prep
65  %setup -q -n %{dirname}  %setup -q -n %{dirname}
66    
# Line 90  pushd %{buildroot}%{_datadir}/%{name} Line 95  pushd %{buildroot}%{_datadir}/%{name}
95  rm -f CHANGELOG INSTALL UPGRADING LICENSE README  rm -f CHANGELOG INSTALL UPGRADING LICENSE README
96  popd  popd
97    
98    mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
99  cat <<EOF > README.urpmi  install -p %{SOURCE1} %{buildroot}%{_defaultdocdir}/%{name}/README.urpmi
   
 It therefore differs from a standard installation in the following  
 ways:  
   
 * Logs are stored to /var/log/roundcubemail  
 * Temporary files are placed in /tmp  
 * Configuration files (main.inc.php and db.inc.php) are placed in  
   /etc/roundcubemail  
   
 You will need to edit /etc/roundcubemail/main.inc.php and  
 /etc/roundcubemail/db.inc.php appropriately for your site before you  
 can use Roundcube. You must at least configure an appropriate mail  
 server and port in main.inc.php, and change the  
 $rcmail_config['des_key'] setting. In db.inc.php you must configure  
 an appropriate database location and user; in the most simple  
 configuration, you would create a new user and database both named  
 'roundcubemail' on a MySQL server running on the same machine, give  
 the roundcubemail user full read/write access to the roundcubemail  
 database, and set db.inc.php appropriately. Roundcubemail ships with  
 an installer which can help you do all this, but it is disabled by  
 default for security reasons. You can enable it in main.inc.php by  
 setting the 'enable_installer' variable to 'true'. Then browse to  
 http://server/roundcubemail/installer to use the installer.  
 EOF  
100    
101  mkdir -p %{buildroot}%{_webappconfdir}  mkdir -p %{buildroot}%{_webappconfdir}
102  cat > %{buildroot}%{_webappconfdir}/%{name}.conf <<EOF  cat > %{buildroot}%{_webappconfdir}/%{name}.conf <<EOF
# Line 134  Alias /%{name} %{_datadir}/%{name} Line 115  Alias /%{name} %{_datadir}/%{name}
115  php_value suhosin.session.encrypt Off  php_value suhosin.session.encrypt Off
116  EOF  EOF
117    
 %clean  
 rm -rf %{buildroot}  
   
118  %files  %files
119  %doc CHANGELOG README README.urpmi UPGRADING  %doc CHANGELOG README UPGRADING
120  %{_datadir}/%{name}  %{_datadir}/%{name}
121  %dir %{_sysconfdir}/%{name}  %dir %{_sysconfdir}/%{name}
122  %{_logdir}/%{name}  %{_logdir}/%{name}

Legend:
Removed from v.184800  
changed lines
  Added in v.188735

  ViewVC Help
Powered by ViewVC 1.1.30