1 |
%define rel 1 |
%define oname %{name}-%{version}-dep |
|
%define beta 0 |
|
|
%if %beta |
|
|
%define release %mkrel 0.%beta.%rel |
|
|
%define distname %name-%version-%beta-dep.tar.gz |
|
|
%define dirname %name-%version-%beta-dep |
|
|
%else |
|
|
%define release %mkrel %rel |
|
|
%define distname %name-%version-dep.tar.gz |
|
|
%define dirname %name-%version-dep |
|
|
%endif |
|
2 |
|
|
3 |
Name: roundcubemail |
Name: roundcubemail |
4 |
Version: 0.7.2 |
Version: 0.8.1 |
5 |
Release: %{release} |
Release: %mkrel 1 |
6 |
Summary: A PHP-based webmail server |
Summary: A PHP-based webmail server |
7 |
Group: System/Servers |
Group: System/Servers |
8 |
License: GPLv3 |
License: GPLv3 |
10 |
# rather than including them, which is better for our purposes. |
# rather than including them, which is better for our purposes. |
11 |
# - AdamW 2007/07 |
# - AdamW 2007/07 |
12 |
URL: http://www.roundcube.net/ |
URL: http://www.roundcube.net/ |
13 |
Source0: http://downloads.sourceforge.net/roundcubemail/%{distname} |
Source0: http://downloads.sourceforge.net/%{name}/%{oname}.tar.gz |
14 |
|
Patch0: roundcubemail-0.8.1-strict.patch |
15 |
Epoch: 1 |
Epoch: 1 |
16 |
#BuildRequires: apache-devel pcre-devel rpm-helper |
#BuildRequires: apache-devel pcre-devel rpm-helper |
17 |
Requires: apache-mod_php |
Requires: apache-mod_php |
35 |
# Most people will probably use mysql, but you can use sqlite or |
# Most people will probably use mysql, but you can use sqlite or |
36 |
# pgsql, so not a hard require - AdamW 2008/10 |
# pgsql, so not a hard require - AdamW 2008/10 |
37 |
Suggests: php-pear-MDB2_Driver_mysql |
Suggests: php-pear-MDB2_Driver_mysql |
|
|
|
38 |
BuildArch: noarch |
BuildArch: noarch |
39 |
|
|
40 |
%description |
%description |
46 |
The user interface is fully skinnable using XHTML and CSS 2. |
The user interface is fully skinnable using XHTML and CSS 2. |
47 |
|
|
48 |
%prep |
%prep |
49 |
%setup -q -n %{dirname} |
%setup -q -n %{oname} |
50 |
|
%apply_patches |
51 |
|
|
52 |
%build |
%build |
53 |
|
|
54 |
%install |
%install |
|
rm -rf %{buildroot} |
|
55 |
# tell it that we're moving the configuration files |
# tell it that we're moving the configuration files |
56 |
for i in installer/index.php program/include/iniset.php; do \ |
for i in installer/index.php program/include/iniset.php; do \ |
57 |
sed -i \ |
sed -i \ |
135 |
EOF |
EOF |
136 |
|
|
137 |
%files |
%files |
138 |
%doc CHANGELOG README UPGRADING |
%doc CHANGELOG LICENSE README.md SQL UPGRADING |
139 |
%{_datadir}/%{name} |
%{_datadir}/%{name} |
140 |
%dir %{_sysconfdir}/%{name} |
%dir %{_sysconfdir}/%{name} |
141 |
%{_logdir}/%{name} |
%{_logdir}/%{name} |