File lsb-appchk-webui.spec of Package lsb-appchk-webui
#
# spec file for package lsb-appchk-webui (Version 2.0.99)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define bzrdate 20081008
Name: lsb-appchk-webui
Version: 2.0.99
Release: 1
Url: http://www.linuxbase.org/
License: GPL v2 or later
Group: Development/Tools/Other
Summary: Web user interface for the LSB application checker
Source: app-checker-bzr%{bzrdate}.tar.bz2
Patch0: %{name}-%{version}-nospace.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: lsb perl
%description
Web user interface for the LSB application checker. Contains a small
embedded Web server and allows to control the checker either remotely
or locally.
%prep
%setup -q -n app-checker
mv "utils/interpreted languages" utils/interpreted_languages
%patch0
chmod 644 webui/public_html/css/* webui/public_html/images/*.png
rm -rf package
%build
%install
mkdir -p $RPM_BUILD_ROOT/opt/lsb/lsb-appchk-webui
cp -r * $RPM_BUILD_ROOT/opt/lsb/lsb-appchk-webui
rm -f $RPM_BUILD_ROOT/opt/lsb/lsb-appchk-webui/{LICENSE,README,README.local,utils/VERSION}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc LICENSE README README.local utils/VERSION
%dir /opt/lsb
%dir /opt/lsb/lsb-appchk-webui
%dir /opt/lsb/lsb-appchk-webui/bin
/opt/lsb/lsb-appchk-webui/bin/app-checker-start.pl
/opt/lsb/lsb-appchk-webui/bin/app-checker-stop.pl
%dir /opt/lsb/lsb-appchk-webui/config
/opt/lsb/lsb-appchk-webui/config/app-checker-server.conf.default
%dir /opt/lsb/lsb-appchk-webui/utils
/opt/lsb/lsb-appchk-webui/utils/*.pl
/opt/lsb/lsb-appchk-webui/utils/*.pm
%dir /opt/lsb/lsb-appchk-webui/utils/interpreted_languages
/opt/lsb/lsb-appchk-webui/utils/interpreted_languages/perldeps.pl
/opt/lsb/lsb-appchk-webui/utils/interpreted_languages/analyze_perl.pl
/opt/lsb/lsb-appchk-webui/utils/interpreted_languages/analyze_python.py
%dir /opt/lsb/lsb-appchk-webui/webui
/opt/lsb/lsb-appchk-webui/webui/app-checker-server.pl
/opt/lsb/lsb-appchk-webui/webui/mime.types
%dir /opt/lsb/lsb-appchk-webui/webui/public_html
/opt/lsb/lsb-appchk-webui/webui/public_html/*.pl
/opt/lsb/lsb-appchk-webui/webui/public_html/*.pm
/opt/lsb/lsb-appchk-webui/webui/public_html/*.tpl
/opt/lsb/lsb-appchk-webui/webui/public_html/favicon.ico
%dir /opt/lsb/lsb-appchk-webui/webui/public_html/css
/opt/lsb/lsb-appchk-webui/webui/public_html/css/*.css
/opt/lsb/lsb-appchk-webui/webui/public_html/css/*.js
/opt/lsb/lsb-appchk-webui/webui/public_html/css/*.gif
/opt/lsb/lsb-appchk-webui/webui/public_html/css/*.png
%dir /opt/lsb/lsb-appchk-webui/webui/public_html/images
/opt/lsb/lsb-appchk-webui/webui/public_html/images/*.png
/opt/lsb/lsb-appchk-webui/webui/public_html/images/*.gif
/opt/lsb/lsb-appchk-webui/webui/public_html/images/*.jpg
%dir /opt/lsb/lsb-appchk-webui/webui/public_html/images/distros
/opt/lsb/lsb-appchk-webui/webui/public_html/images/distros/*.png
%dir /opt/lsb/lsb-appchk-webui/webui/public_html/images/vendors
/opt/lsb/lsb-appchk-webui/webui/public_html/images/vendors/*.png
%changelog
* Wed Oct 08 2008 prusnak@suse.cz
- updated to 2.1 beta aka 2.0.99 (bzr checkout from 20081008)
* Fri Sep 19 2008 prusnak@suse.cz
- created package
* version 2.0 beta 3 aka 1.99.3 (bzr checkout from 20080919)
* based on package from Jiri Dluhos