]> git.pld-linux.org Git - packages/webapps.git/blob - webapps.spec
- fully canonicalize webapp link when displaying list; rel 5
[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:        5
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 Conflicts:      apache < 2.0.55-2.2
13 Conflicts:      apache1 < 1.3.34-3.2
14 Conflicts:      lighttpd < 1.4.7-2.1
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _sysconfdir     /etc/webapps
19 %define         _bashcompletiondir      /etc/bash_completion.d
20
21 %description
22 webapps is a package for having web applications configuration files
23 and webserver config fragments in unified place.
24
25 %description -l pl.UTF-8
26 webapps to pakiet pozwalający trzymać pliki konfiguracyjne aplikacji
27 WWW i fragmenty konfiguracji serwera WWW w jednym miejscu.
28
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}
34 Requires:       bash-completion
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
42 %prep
43 %setup -qcT
44 cp -p %{SOURCE0} README
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_bashcompletiondir}}
49 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/webapp
50 install -p %{SOURCE2} $RPM_BUILD_ROOT%{_bashcompletiondir}/webapp
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}
59 %attr(755,root,root) %{_sbindir}/*
60
61 %files -n bash-completion-webapps
62 %defattr(644,root,root,755)
63 %{_bashcompletiondir}/webapp
This page took 0.069916 seconds and 4 git commands to generate.