File apache2-mod_macro.spec of Package apache2-mod_macro
#
# spec file for package apache2-mod_macro (Version 1.1.8)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: apache2-mod_macro
BuildRequires: apache2-devel pcre-devel
%define modname mod_macro
%define apxs /usr/sbin/apxs2
%define apache apache2
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
%define apache_includedir %(%{apxs} -q INCLUDEDIR)
%define apache_serverroot %(%{apxs} -q PREFIX)
%define apache_localstatedir %(%{apxs} -q LOCALSTATEDIR)
%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
Version: 1.1.8
Release: 193
License: BSD 3-Clause
Group: Productivity/Networking/Web/Servers
Requires: apache2 %{apache_mmn}
AutoReqProv: on
Summary: Define and Use Macros within the Apache Configuration
Url: http://www.coelho.net/mod_macro/
Source: http://www.coelho.net/mod_macro/%{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#Docdir: %{_defaultdocdir}/%{apache}
%description
mod_macro is a third-party module for the Apache HTTP Server. It is
distributed with a BSD-style license similar to Apache. It allows the
definition and use of macros within Apache runtime configuration files.
To load the module into Apache, run the command "a2enmod macro" as
root.
To learn about the configuration, refer to
/usr/share/doc/packages/apache2-mod_macro/mod_macro.html
Authors:
--------
Fabien Coelho <fabien@coelho.net>
%prep
%setup -n %{modname}-%{version}
%build
%{apxs} -c mod_macro.c
%install
mkdir -p $RPM_BUILD_ROOT/%{apache_libexecdir}
cp -p .libs/mod_macro.so $RPM_BUILD_ROOT/%{apache_libexecdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
%doc INSTALL
%doc CHANGES
%doc LICENSE
%doc mod_macro.html
%{apache_libexecdir}/%{modname}.so
%changelog
* Wed Aug 30 2006 mrueckert@suse.de
- update to 1.1.8
* remove useless function.
* Fri Jun 16 2006 poeml@suse.de
- update to 1.1.7
* port to apache 2.2. Macro directives are
handled while reading the configuration file. A few casts to
avoid warnings.
* Mon Jan 30 2006 poeml@suse.de
- removed libapr-util1-devel from BuildRequires (apache2-devel does
require it)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 dmueller@suse.de
- add norootforbuild
* Tue Jan 25 2005 poeml@suse.de
- move usage hints from %%post into package description
* Tue Sep 07 2004 poeml@suse.de
- update to 1.1.6. Changes:
- license fixed to match apache's license evolutions wrt the
'advertising clause'
* Mon Jul 28 2003 poeml@suse.de
- initial package (1.1.4)