Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
vhcs2
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 130
[-]
[+]
Added
_service:set_version:vhcs2.spec
@@ -0,0 +1,962 @@ +#!BuildIgnore: post-build-checks +%define stable stable +%define svnrelease 20110911 +Name: vhcs2 +Version: 2.4.8.rev876 +Release: 0%{svnrelease}.<CI_CNT>.<B_CNT> +Summary: VHCS -- virtual hosting control system +Summary(de): VHCS -- Virtuelles Hosting Kontrollsystem +Group: System/Management +License: GPL +URL: http://www.vhcs.net +Source0: %{name}-%{version}.tar +Source1: %{name}_sysconfig_named.diff +Source2: %{name}_run_mysql_update.sh +Source3: 2.4.7.1_suse_master_cf.diff +Source4: 2.4.7.1_crontab.diff +Source5: smtpd.conf + +Source10: awstats-dist.tar.bz2 +Source11: vhcs2awstats +Source12: awstats.model.conf +Source13: awstats-apache.conf +Source14: awstats-index.php +Source50: %{name}-rpmlintrc +Patch0: %{name}-rpl.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-%{svnrelease} +#BuildRoot: /tmp/vhcs-%{version} +#define vhcstmp /tmp/vhcs-%{version} +%define vhcstmp %{buildroot} + +Provides: perl(vhcs2-db-keys.pl) +Provides: perl(vhcs2_common_code.pl) + +%if 0%{?suse_version} +%define vhcsroot /srv/www +%define _vhcsroot srv/www +%define _disttag suse +%define _distversion %{suse_version} +%define apa apache2 +%define apa_vh_dir vhosts.d +%define vhcs_awstatsdir %{vhcsroot}/vhcs2 + +%if 0%{?sles_version} +%define _disttag sles +%define _distversion %{sles_version} +%endif + +%endif + +%if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} +%define vhcsroot /var/www +%define _vhcsroot var/www +%define apa httpd +%define apa_vh_dir conf.d +%define vhcs_awstatsdir %{vhcsroot}/vhcs2 + +%if 0%{?centos_version} +%define _disttag centos +%define _distversion %{centos_version} +%endif + +%if 0%{?fedora_version} +%define _disttag fedora +%define _distversion "" +%endif + +%if 0%{?rhel_version} +%define _disttag centos +%define _distversion 5 +%endif + +%endif + + +# perl requirements +Requires: perl-Archive-Tar +Requires: perl-Archive-Zip +Requires: perl-BerkeleyDB +Requires: perl-Compress-Raw-Zlib +Requires: perl-Compress-Zlib +Requires: perl-Convert-BinHex +Requires: perl-Convert-TNEF +Requires: perl-Convert-UUlib +Requires: perl-Crypt-Blowfish +Requires: perl-Crypt-CBC +Requires: perl-Crypt-DH +Requires: perl-Crypt-PasswdMD5 +Requires: perl-IO-Compress-Base +Requires: perl-IO-Compress-Zlib +Requires: perl-IO-stringy +Requires: perl-MailTools +Requires: perl-MIME-tools +Requires: perl-Net-CIDR-Lite +Requires: perl-Net-IP +Requires: perl-Net-Netmask +Requires: perl-Net-Server +Requires: perl-TermReadKey +Requires: perl-Term-ReadPassword +Requires: perl-TimeDate +Requires: perl-Unix-Syslog + +%if 0%{?sles_version} == 9 +Requires: perl-Term-ReadLine-Gnu +%else +Requires: perl(Term::ReadLine::Gnu) +%endif +Requires: perl-Crypt-DES + +%if 0%{?centos_version} == 4 +Requires: perl-DBD-MySQL +%else +Requires: perl-DBD-mysql +%endif + +Requires: perl-DBI +Requires: perl-Date-Calc +Requires: perl-DateManip +Requires: perl-Net-DNS +Requires: perl-Net-SNMP +%if 0%{?suse_version} +Requires: perl-SNMP +%endif + +%if 0%{?suse_version} >= 930 && 0%{?suse_version} <= 1100 && 1%{?sles_version} == 0 +Requires: perl-Net-ext +%endif +Requires: perl-Mcrypt +Requires: perl-libwww-perl +Requires: perl-Bit-Vector +%if 0%{?suse_version} > 930 +Requires: perl-Carp-Clan +Requires: perl-PlRPC +%endif +Requires: perl-Data-ShowTable +Requires: perl-Digest-HMAC +Requires: perl-HTML-Parser +Requires: perl-HTML-Tagset +#Requires: perl-Net-Daemon +Requires: perl-Tie-IxHash +Requires: perl-URI + +# system tools & daemons +Requires: proftpd proftpd-sql-mysql +Requires: iptables +Requires: postfix +Requires: logrotate + +%if 0%{?suse_version} +Requires: mysql-client +Requires: cron +%endif + +%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?redhat_version} +Requires: mysql +Requires: vixie-cron +%endif + +%if 0%{?suse_version} && 1%{?sles_version} == 9 && 1%{?fedora_version} && 1%{?centos_version} && 1%{?rhel_version} +Requires: cyrus-sasl-saslauthd mod_php_any +%endif + +Requires: bind bind-utils +Requires: courier-imap libauthuserdb +Requires: tar +Requires: gzip bzip2 +Requires: wget +Requires: libmcrypt +Requires: cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain + +%if 0%{?sles_version} == 9 +Requires: mod_php +%endif + +%if 0%{?suse_version} +Requires: cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-otp php mysql +%endif +%if 0%{?fedora_version} > 5 || 0%{?centos_version} > 4 || 0%{?rhel_version} +Requires: cyrus-sasl-md5 mod_php php-cli mysql-server +%endif + +%if 0%{?sles_version} == 9 +Requires: php4-mysql +Requires: php4-mcrypt +Requires: php4-gd +Requires: php4 +Requires: mysql +Requires: mod_php +Requires: cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-otp +%else +Requires: php-mysql +Requires: php-mcrypt +Requires: php-gd +%endif + +%if 0%{?suse_version} + +%if 0%{?suse_version} == 1000 +Requires: php5-pear +%endif
Added
_service:tar_scm:vhcs2-2.4.8.rev876.tar
^