Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
apache2-mod_macro
apache2-mod_macro.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apache2-mod_macro.spec of Package apache2-mod_macro
# # spec file for package apache2-mod_macro # # Copyright (c) 2012 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/ # Name: apache2-mod_macro BuildRequires: apache2-devel BuildRequires: 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: 0 Requires: apache2 %{apache_mmn} Summary: Define and Use Macros within the Apache Configuration License: BSD-3-Clause Group: Productivity/Networking/Web/Servers 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 %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} %files %defattr(-,root,root) %doc README %doc INSTALL %doc CHANGES %doc LICENSE %doc mod_macro.html %{apache_libexecdir}/%{modname}.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor