]> git.pld-linux.org Git - packages/webapps.git/blob - webapps.spec
- bash completion support; version 0.3
[packages/webapps.git] / webapps.spec
1 Summary:        webapps framework
2 Summary(pl):    Szkielet dla aplikacji WWW
3 Name:           webapps
4 Version:        0.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/WWW
8 Source0:        %{name}.README
9 Source1:        %{name}.sh
10 Source2:        webapp-bash_completion.sh
11 Requires:       coreutils
12 Requires:       webserver
13 Conflicts:      apache < 2.0.55-2.2
14 Conflicts:      apache1 < 1.3.34-3.2
15 Conflicts:      lighttpd < 1.4.7-2.1
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _sysconfdir     /etc/webapps
20 %define         _bashcompletiondir      /etc/bash_completion.d
21
22 %description
23 webapps is a package for having web applications configuration files
24 and webserver config fragments in unified place.
25
26 %description -l pl
27 webapps to pakiet pozwalaj±cy trzymaæ pliki konfiguracyjne aplikacji
28 WWW i fragmenty konfiguracji serwera WWW w jednym miejscu.
29
30 %prep
31 %setup -qcT
32 cp %{SOURCE0} README
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_bashcompletiondir}}
37 install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/webapp
38 install %{SOURCE2} $RPM_BUILD_ROOT%{_bashcompletiondir}/webapp
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README
46 %dir %attr(751,root,http) %{_sysconfdir}
47 %attr(755,root,root) %{_sbindir}/*
48 %{_bashcompletiondir}/webapp
This page took 0.03131 seconds and 4 git commands to generate.