Summary: Package that uses webapps configuration Summary(pl): Pakiet używający konfiguracji aplikacji WWW Name: template-webapp Version: 0.2 Release: 0.7 License: GPL Group: Applications/WWW #Source0: %{name}-%{version}.tar.gz # Source0-md5: - #URL: - BuildRequires: rpmbuild(macros) >= 1.268 Requires: webapps %if %{with trigger} Requires(triggerpostun): sed >= 4.0 %endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _webapps /etc/webapps %define _webapp %{name} %define _sysconfdir %{_webapps}/%{_webapp} #%define _appdir %{_datadir}/%{_webapp} # in case _sysconfdir is not in webapps dir, run this replace pattern # before copy-pasting to your spec: :%s#%{_sysconfdir}#%{_webapps}/%{_webapp}#g %description This .spec is for demonstrating triggers used for linking webapp configuration to webserver config dir. %description -l pl Ten plik .spec służy do pokazania triggerów służących do podłączania konfiguracji aplikacji WWW do katalogu konfiguracyjnego serwera WWW. %prep #%setup -q cat > config.conf <