diff options
author | kraxel <kraxel> | 2004-06-08 12:51:57 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2004-06-08 12:51:57 +0000 |
commit | 996cd0bab7bfff049402fe3eb3ca5de88d69ab41 (patch) | |
tree | 79d9e47fe25645bec085a0fecd1d7dda50a95918 /webfs.spec | |
download | webfs-996cd0bab7bfff049402fe3eb3ca5de88d69ab41.tar.gz |
Initial revision
Diffstat (limited to 'webfs.spec')
-rw-r--r-- | webfs.spec | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/webfs.spec b/webfs.spec new file mode 100644 index 0000000..2616371 --- /dev/null +++ b/webfs.spec @@ -0,0 +1,39 @@ +Name: webfs +Summary: lightweight http server for static content +Version: 1.20 +Release: 0 +Source0: %{name}_%{version}.tar.gz +Copyright: GPL +Group: Network/Daemons +Buildroot: %{_tmppath}/root-%{name}-%{version} + +%description +This is a simple http server for purely static content. You +can use it to serve the content of a ftp server via http for +example. It is also nice to export some files the quick way +by starting a http server in a few seconds, without editing +some config file first. + +%prep +%setup -q + +%build +export CFLAGS="$RPM_OPT_FLAGS" +make prefix=/usr + +%install +if test "%{buildroot}" != ""; then + rm -rf "%{buildroot}" +fi +make prefix=/usr DESTDIR=%{buildroot} install + +%files +%defattr(-,root,root) +/usr/bin/webfsd +/usr/share/man/man1/webfsd.1* +%doc README COPYING webfsd.redhat + +%clean +if test "%{buildroot}" != ""; then + rm -rf "%{buildroot}" +fi |