]> git.pld-linux.org Git - packages/webapps.git/commitdiff
- add webapp script
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 20 Nov 2005 17:26:32 +0000 (17:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    webapps.spec -> 1.4

webapps.spec

index 62c3539fa9e2ed1381c2156ea700e4e45970b1da..f76e367e5d4e3f3293b893c2129a591b0673eaf4 100644 (file)
@@ -1,10 +1,11 @@
 Summary:       webapps
 Name:          webapps
 Version:       0.1
-Release:       0.2
+Release:       0.4
 License:       GPL
 Group:         Applications/WWW
-Source0:       %{name}.README
+Source0:       %{name}.sh
+Source1:       %{name}.README
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -16,10 +17,12 @@ and webserver config fragments in unified place.
 
 %prep
 cp %{SOURCE0} README
+cp %{SOURCE1} webapps
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}}
+install %{SOURCE0} $RPM_BUILD_ROOT%{_sbindir}/webapp
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -28,3 +31,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README
 %dir %attr(751,root,http) %{_sysconfdir}
+%attr(755,root,root) %{_sbindir}/*
This page took 0.077902 seconds and 4 git commands to generate.