Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:potyl
midgard-apache2
midgard-apache2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File midgard-apache2.spec of Package midgard-apache2
Name: midgard-apache2 Version: 1.8.8 Release: 5 Summary: Midgard httpd module Packager: %{packager} License: GPL Group: Networking/Daemons URL: http://www.midgard-project.org/ Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot # # NOTE: Apache2 is packaged differently in SUSE and RedHat. # SUSE packages is as "apache2". # RedHat packages is as "httpd". # %if 0%{?suse_version} BuildRequires: apache2-devel >= 2.0.46 Requires: apache2 >= 2.0.46 Requires: apache2-mmn %define my_apxs %{_sbindir}/apxs2 %else BuildRequires: httpd-devel >= 2.0.46 Requires: httpd >= 2.0.46 Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn) %define my_apxs %{_sbindir}/apxs %endif BuildRequires: midgard-core-devel = %{version} BuildRequires: glib2-devel BuildRequires: libxml2-devel BuildRequires: mysql-devel BuildRequires: mysql Requires: midgard-core = %{version} Obsoletes: mod_midgard mod_midgard2 Provides: mod_midgard mod_midgard2 %description Midgard Apache2 is part of the Midgard Framework, a free platform for web application development, providing the glue between the popular LAMP components, giving you the freedom to create your solutions in an open environment. Midgard Apache2 contains the Midgard module, providing resource handling, URI parsing, Virtual Host configuration and more. %prep %setup -n %{name}-%{version} %build %{my_apxs} -c \ -DAPACHE2 \ -DHAVE_LIBMIDGARD=1 \ -DHAVE_MIDGARD_H=1 \ -I%{_includedir}/glib-2.0 \ -I%{_includedir} \ -I%{_libdir}/glib-2.0/include \ -L%{_libdir}/mysql \ -lgobject-2.0 \ -lglib-2.0 \ -lxml2 \ -lcrypt \ -lmysqlclient \ -lmidgard \ %{name}.c %{__mv} .libs/%{name}.so . %{__strip} -g %{name}.so %install %{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/httpd/modules %{__install} -m755 %{name}.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules # Install the config file %{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d %{__install} -m 644 midgard-root.php \ $RPM_BUILD_ROOT%{_libdir}/httpd/modules/midgard-root.php %{__install} -m 644 midgard-root-nommp.php \ $RPM_BUILD_ROOT%{_libdir}/httpd/modules/midgard-root-nommp.php %post # Maybe we need to restart httpd if [ -f /var/lock/subsys/httpd ]; then /etc/init.d/httpd restart > /dev/null 2>&1 || : fi %postun # Maybe we need to restart httpd if [ -f /var/lock/subsys/httpd ]; then /etc/init.d/httpd restart > /dev/null 2>&1 || : fi %clean #[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS %doc README %{_libdir}/httpd/modules/*.so %config %{_libdir}/httpd/modules/midgard-root.php %config %{_libdir}/httpd/modules/midgard-root-nommp.php %changelog * Wed Jul 02 2008 Emmanuel Rodriguez <emmanuel.rodriguez@gmail.com> 1.8.8-1.ent - The SPEC is now CentOS 5.2 compatible * Wed Aug 04 2004 Daniel S. Reichenbach <dsr@best-off.org> 1.6.0-5 - rebuilt * Mon May 10 2004 Daniel S. Reichenbach <dsr@best-off.org> 1.6.0-4 - More SPEC cleaning - Explicitly name every included file * Sat Apr 24 2004 Daniel S. Reichenbach <dsr@best-off.org> 1.6.0-3 - Build requires midgard-core-devel package * Tue Apr 13 2004 Daniel S. Reichenbach <dsr@best-off.org> 1.6.0-2 - Require midgard-core instead of midgard-lib - Use available RPM macros * Mon Mar 22 2004 Daniel S. Reichenbach <dsr@best-off.org> 1.6.0-1 - Rebuild for RHEL - Update package name to midgard-apache2 to follow new cvs struct - Install doesn't require httpd-devel packages anymore - Added non-mmp root file for PHP * Sun Mar 07 2004 Daniel S. Reichenbach <dsr@best-off.org> - Rebuild for 1.6.0-CVS - Remove deprecated midgard-root.php3 file * Tue Jul 01 2003 Anders Karlsson <anders@noddle.net> - Update to version 1.5.0 and rebuild for RHL 9. * Fri Feb 14 2003 Anders Karlsson <anders@noddle.net> - Uninstall now removes mod_midgard from /etc/http/conf/httpd.conf * Sun Jan 5 2003 Anders Karlsson <anders@noddle.net> - Initial release
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