Package apache2-mod_flvx: Specfile

%define program_name mod_flvx
%define program_version	0
%define program_release	alt0.1
 
Name: apache2-%program_name
Version: %program_version
Release: %program_release
Summary: Apache 2.2 module for Flash Video Streaming
License: Apache Software License
Url: http://people.apache.org/~pquerna/modules/mod_flvx.c
Group: System/Servers
Packager: Ivan Fedorov <ns@altlinux.ru>

Source0: %program_name.c
Source1: apache2-%program_name-load.conf
Source2: apache2-%program_name.conf

PreReq: apache2 >= %apache_version-%apache_release

BuildRequires: apache2-devel

%description
%summary

%prep
%setup -c -n %program_name -T
cp %SOURCE0 .
%build
%apache_apxs -c %program_name.c

%install 
mkdir -p %buildroot/{%apache_moduledir,%apache_addonconfdir,%apache_confdir/modules.d}

%__install -p -m 0644 %SOURCE1 %buildroot/%apache_confdir/modules.d/A.500_flvx.conf
%__install -p -m 0644 %SOURCE2 %buildroot/%apache_addonconfdir/A.%program_name.conf
%__install -p -m 0755 .libs/%program_name.so %buildroot/%apache_moduledir/%program_name.so

%files
%config(noreplace) %apache_confdir/modules.d/A.500_flvx.conf
%config(noreplace) %apache_addonconfdir/A.%program_name.conf
%apache_moduledir/%program_name.so

%changelog
* Tue Mar 06 2007 Ivan Fedorov <ns@altlinux.ru> 0-alt0.1
- Initial build for ALT Linux.