1 %define issnapshot @@ISSNAPSHOT@@
2 %define gitrev @@GITREV@@
5 %define snapshotversionstring .
%{gitrev}git
6 %define snapshotpackagestring
-git
%{gitrev}
10 Summary: CalDAV Server
12 Release: 1%{?snapshotversionstring}%{?dist}
13 Group: System Environment
/Daemons
15 Source: http
://debian.mcmillan.net.nz
/packages
/davical
/davical
-%{version}%{?snapshotpackagestring}.tar.gz
17 URL: http
://davical.org
/
19 BuildRequires
: php
-awl
21 Requires: php php
-gettext php
-pgsql
22 Requires: postgresql postgresql
-server
28 The DAViCal CalDAV Server is designed to trivially store
29 CalDAV calendars
, such as those from Evolution
, Sunbird
/Lightning
,
30 Mulberry
, iCal
, iPhone or SOHO Organizer
, in a central location
,
31 providing shared calendars
, free
/busy publication and a basic
32 administration interface.
36 %setup -q
-n "davical
-%{version}%{?snapshotpackagestring}"
39 sed
-i "s
#set_include_path('../inc:../htdocs:/usr/share/awl/inc');#set_include_path('/usr/share/davical/inc:/usr/share/davical/htdocs:/usr/share/php/awl/inc');#" scripts/sync-remote-caldav.php
40 sed
-i 's
:..
/..
/awl
/inc
:%{_datadir}/php
/awl
/inc
:' htdocs
/always.php
41 sed
-i 's
:AWL_LOCATION
="..
/awl"
:AWL_LOCATION
="
%{_datadir}/php
/awl"
:' scripts
/po
/rebuild
-translations.sh
45 install -D
-p
-m
755 scripts
/sync
-remote
-caldav.php
%{buildroot}/%{_bindir}/sync
-remote
-caldav
47 mkdir -p
%{buildroot}%{_datadir}/%{name}
48 cp
-a dba htdocs locale inc
%{buildroot}/%{_datadir}/%{name}
50 install -D
-p
-m
644 config
/example
-config.php
%{buildroot}/%{_sysconfdir}/%{name}/config.php
52 install -D
-p
-m
644 config
/apache
-davical.conf
%{buildroot}/%{_sysconfdir}/httpd
/conf.d
/davical.conf
57 %config(noreplace
) %{_sysconfdir}/%{name}/config.php
58 %config(noreplace
) %{_sysconfdir}/httpd/conf.d/%{name}.conf
59 %{_bindir}/sync
-remote
-caldav
63 * Tue Feb
22 2011 Felix Möller
<mail@felixmoeller.de
> - 0.9.9.4
64 - Initial
Version of DAViCal package