Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ptrommler:eiger
eiger-wordpress
eiger-wordpress.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eiger-wordpress.spec of Package eiger-wordpress
# # spec file for package eiger-wordpress # # Copyright (c) 2017 SUSE LINUX 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/ # # apache macros %define ap_user wwwrun %define ap_group www %define wp_root %{apache_serverroot}/%{name} #%%define wp_config_root %%{_sysconfdir}/%%{name} %define language_date 20151205 %define language_date_formal 20151206 %define themes_date 20150126 %if 0%{?suse_version} >= 1210 %define has_systemd 1 %endif Name: eiger-wordpress Summary: Eiger config for Peter's After Thoughts # ' Help EMACS syntax highlighting License: GPL-2.0 Group: Productivity/Networking/Web/Frontends Version: 1.0 Release: 0 URL: https://www.th-nuernberg.de Source1: %{name}.httpd BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} BuildRequires: apache2-devel BuildRequires: fdupes %else BuildRequires: httpd-devel %endif %if 0%{?has_systemd} BuildRequires: systemd %{?systemd_requires} %else PreReq: %insserv_prereq %endif Requires: wordpress %if 0%{?suse_version} Requires: apache2 Requires: mod_php_any %else # These are Redhat identifiers Requires: httpd Requires: mod_php_any %endif %description This package includes a vhost file for apache to set up PAT %prep %{__cp} -a %{S:1} . %build # no need for build %install # install apache conf %{__install} -D -m0644 %{S:1} %{buildroot}%{apache_sysconfdir}/conf.d/%{name}.conf %{__sed} -i -e "s|@WP_ROOT@|%{wp_root}|" %{buildroot}%{apache_sysconfdir}/conf.d/%{name}.conf %post %if 0%{?has_systemd} %service_add_post apache2.service %else %restart_on_update apache2 %endif %postun %if 0%{?has_systemd} %service_del_postun apache2.service %else %restart_on_update apache2 %endif %files %defattr(-,root,root) %config(noreplace) %{apache_sysconfdir}/conf.d/%{name}.conf %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