%{!?_initrddir:%define _initrddir /etc/rc.d/init.d}
%{!?version:%define version 1.9}
-%{!?release:%define release 5}
+%{!?release:%define release 6}
Summary: Freeside ISP Billing System
Name: freeside
Requires: mod_ssl
%endif
Requires: perl-Apache-DBI
-Conflicts: %{name}-apacheasp
Provides: %{name}-frontend = %{version}
BuildArch: noarch
%package selfservice
Summary: Self-service interface for %{name}
Group: Applications/Internet
-Conflicts: %{name}
Requires: %{name}-selfservice-cgi
%description selfservice
%package selfservice-core
Summary: Core Perl libraries for the self-service interface for %{name}
Group: Applications/Internet
-Conflicts: %{name}
%description selfservice-core
This package installs the Perl modules and client daemon for the self-service interface for %{name}. It does not install the CGI interface and can be used with a different front-end.
%package selfservice-cgi
Summary: CGI scripts for the self-service interface for %{name}
Group: Applications/Internet
-Conflicts: %{name}
Requires: %{name}-selfservice-core
Prefix: %{freeside_selfservice_document_root}
%package selfservice-php
Summary: Sample PHP files for the self-service interface for %{name}
Group: Applications/Internet
-Conflicts: %{name}
Prefix: %{freeside_selfservice_document_root}
%description selfservice-php