]>
Commit | Line | Data |
---|---|---|
0300405b | 1 | Summary: webapps framework |
98b093bd | 2 | Summary(pl.UTF-8): Szkielet dla aplikacji WWW |
bd80ec15 | 3 | Name: webapps |
8c4d9d9a ER |
4 | Version: 0.3.2 |
5 | Release: 1 | |
bd80ec15 ER |
6 | License: GPL |
7 | Group: Applications/WWW | |
a99f5a30 | 8 | Source0: README |
bdae0545 | 9 | Source1: %{name}.sh |
a99f5a30 | 10 | Source2: bash_completion.sh |
bd02ead4 | 11 | BuildRequires: rpmbuild(macros) >= 1.673 |
be24cd56 | 12 | Requires: coreutils |
b3a539a8 | 13 | Conflicts: apache < 2.0.55-2.2 |
be24cd56 | 14 | Conflicts: apache1 < 1.3.34-3.2 |
395a00a5 | 15 | Conflicts: lighttpd < 1.4.7-2.1 |
bd80ec15 ER |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define _sysconfdir /etc/webapps | |
20 | ||
21 | %description | |
22 | webapps is a package for having web applications configuration files | |
23 | and webserver config fragments in unified place. | |
24 | ||
b52e3d22 JR |
25 | %description -l pl.UTF-8 |
26 | webapps to pakiet pozwalający trzymać pliki konfiguracyjne aplikacji | |
0300405b JB |
27 | WWW i fragmenty konfiguracji serwera WWW w jednym miejscu. |
28 | ||
e6a109d8 AM |
29 | %package -n bash-completion-webapps |
30 | Summary: bash completion for webapps | |
31 | Summary(pl.UTF-8): Dopełnienia basha dla webapps | |
32 | Group: Applications/Shells | |
33 | Requires: %{name} = %{version}-%{release} | |
bd02ead4 | 34 | Requires: bash-completion >= 2.0 |
e6a109d8 AM |
35 | |
36 | %description -n bash-completion-webapps | |
37 | Bash completion for webapps. | |
38 | ||
39 | %description -n bash-completion-webapps -l pl.UTF-8 | |
40 | Dopełnienia basha dla webapps. | |
41 | ||
bd80ec15 | 42 | %prep |
ade0eb71 | 43 | %setup -qcT |
4b5bfdc4 | 44 | cp -p %{SOURCE0} README |
bd80ec15 ER |
45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
bd02ead4 | 48 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{bash_compdir}} |
4b5bfdc4 | 49 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/webapp |
bd02ead4 | 50 | install -p %{SOURCE2} $RPM_BUILD_ROOT%{bash_compdir}/webapp |
bd80ec15 ER |
51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc README | |
58 | %dir %attr(751,root,http) %{_sysconfdir} | |
e5faa308 | 59 | %attr(755,root,root) %{_sbindir}/* |
e6a109d8 AM |
60 | |
61 | %files -n bash-completion-webapps | |
62 | %defattr(644,root,root,755) | |
bd02ead4 | 63 | %{bash_compdir}/webapp |