File jwchat.spec of Package jwchat
#
# spec file for package jwchat
#
# Copyright (c) 2012 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/
#
Name: jwchat
Version: 1.0beta2
Release: 0
#apache perl-module-Encode-compat perl-module-Locale-Maketext perl-module-Locale-Maketext-Fuzzy perl-module-Locale-Maketext-Lexicon perl-module-Regexp-Common perl-module-Text-Iconv
Url: http://jwchat.sourceforge.net/
Summary: JWChat - Jabber Web Chat
License: GNU General Public License (GPL)
Group: Productivity/Networking/Instant Messenger/Clients
%define sqm_path /srv/www/htdocs/jwchat
%define b_sqm_path $RPM_BUILD_ROOT/%{sqm_path}
%define sqm_doc /%{_defaultdocdir}/jwchat
%define b_sqm_doc $RPM_BUILD_ROOT/%{sqm_doc}
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
JWChat aims to be a full featured, web based jabber client. It uses
only JavaScript and HTML on the client-side. Currently it supports
basic jabber instant messaging, roster management and muc-based
groupchats.
%prep
%setup -q
rm -rf `find . -name CVS`
%build
%install
install -d -m 0755 %{b_sqm_path}
cp -a * %{b_sqm_path}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc %attr(- root root) AUTHORS COPYING ChangeLog README
%dir %{sqm_path}
%dir %{sqm_path}/images
%dir %{sqm_path}/sounds
#%dir %{sqm_path}/config
%config(noreplace) %{sqm_path}/config.js
%{sqm_path}/*.html*
%{sqm_path}/*.js.*
%{sqm_path}/images/*
%{sqm_path}/sounds/*
/srv/www/htdocs/jwchat/JSJa*.js
/srv/www/htdocs/jwchat/AUTHORS
/srv/www/htdocs/jwchat/COPYING
/srv/www/htdocs/jwchat/ChangeLog
/srv/www/htdocs/jwchat/Debugger.js
/srv/www/htdocs/jwchat/README
/srv/www/htdocs/jwchat/jwchat.css
/srv/www/htdocs/jwchat/sha1.js
/srv/www/htdocs/jwchat/xmlextras.js
%changelog