summaryrefslogtreecommitdiff
path: root/kolab-webadmin.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'kolab-webadmin.spec.in')
-rw-r--r--kolab-webadmin.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/kolab-webadmin.spec.in b/kolab-webadmin.spec.in
index d85edf7..9ece2a7 100644
--- a/kolab-webadmin.spec.in
+++ b/kolab-webadmin.spec.in
@@ -48,11 +48,15 @@ PreReq: php-smarty >= 2.6.3
AutoReq: no
AutoReqProv: no
+%option kolab_version snapshot
+
%description
Web based administration interface for The Kolab Groupware Server
%prep
%setup -q
+ %{l_shtool} subst -e 's;@kolab_version@;%{kolab_version};g' \
+ www/admin/kolab/versions.php
%build
./configure -prefix=%{l_prefix}