]> git.pld-linux.org Git - packages/webapps.git/blob - webapps.spec
- v0.3.2
[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.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/WWW
8 Source0:        README
9 Source1:        %{name}.sh
10 Source2:        bash_completion.sh
11 BuildRequires:  rpmbuild(macros) >= 1.673
12 Requires:       coreutils
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
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 >= 2.0
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},%{bash_compdir}}
49 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/webapp
50 install -p %{SOURCE2} $RPM_BUILD_ROOT%{bash_compdir}/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 %{bash_compdir}/webapp
This page took 0.072946 seconds and 3 git commands to generate.