Summary: webapps framework Summary(pl): Szkielet dla aplikacji WWW Name: webapps Version: 0.3 Release: 1 License: GPL Group: Applications/WWW Source0: %{name}.README Source1: %{name}.sh Source2: webapp-bash_completion.sh Requires: coreutils Requires: webserver Conflicts: apache < 2.0.55-2.2 Conflicts: apache1 < 1.3.34-3.2 Conflicts: lighttpd < 1.4.7-2.1 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysconfdir /etc/webapps %define _bashcompletiondir /etc/bash_completion.d %description webapps is a package for having web applications configuration files and webserver config fragments in unified place. %description -l pl webapps to pakiet pozwalający trzymać pliki konfiguracyjne aplikacji WWW i fragmenty konfiguracji serwera WWW w jednym miejscu. %prep %setup -qcT cp %{SOURCE0} README %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_bashcompletiondir}} install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/webapp install %{SOURCE2} $RPM_BUILD_ROOT%{_bashcompletiondir}/webapp %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README %dir %attr(751,root,http) %{_sysconfdir} %attr(755,root,root) %{_sbindir}/* %{_bashcompletiondir}/webapp