]> git.pld-linux.org Git - packages/webapps.git/blob - webapps.spec
- restore webapp_applist()
[packages/webapps.git] / webapps.spec
1 Summary:        webapps framework
2 Summary(pl.UTF-8):      Szkielet dla aplikacji WWW
3 Name:           webapps
4 Version:        0.3.1
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.UTF-8
27 webapps to pakiet pozwalający trzymać pliki konfiguracyjne aplikacji
28 WWW i fragmenty konfiguracji serwera WWW w jednym miejscu.
29
30 %package -n bash-completion-webapps
31 Summary:        bash completion for webapps
32 Summary(pl.UTF-8):      Dopełnienia basha dla webapps
33 Group:          Applications/Shells
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       bash-completion
36
37 %description -n bash-completion-webapps
38 Bash completion for webapps.
39
40 %description -n bash-completion-webapps -l pl.UTF-8
41 Dopełnienia basha dla webapps.
42
43 %prep
44 %setup -qcT
45 cp %{SOURCE0} README
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_bashcompletiondir}}
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/webapp
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_bashcompletiondir}/webapp
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README
59 %dir %attr(751,root,http) %{_sysconfdir}
60 %attr(755,root,root) %{_sbindir}/*
61
62 %files -n bash-completion-webapps
63 %defattr(644,root,root,755)
64 %{_bashcompletiondir}/webapp
This page took 0.031417 seconds and 3 git commands to generate.