File irssi-extra.spec of Package irssi-extra
#
# spec file for package irssi-extra
#
# Copyright (c) 2016 SUSE LINUX 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: irssi-extra
Version: 2009.6.17
Release: 0
Summary: Scripts and Themes for the irssi IRC Client
License: BSD-3-Clause and GPL-2.0+ and SUSE-Public-Domain
Group: Productivity/Networking/IRC
Url: http://www.irssi.org
Source: irssi-scripts.tar.bz2
Source1: irssi-themes.tar.bz2
BuildRequires: irssi
Requires: figlet
Requires: irssi
Requires: perl-Compress-Zlib
Requires: perl-Crypt-Blowfish
Requires: perl-Crypt-CBC
Requires: perl-Crypt-DES
Requires: perl-DBI
Requires: perl-Text-Iconv
Requires: perl-TimeDate
Requires: perl-libwww-perl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Perl scripts and theme files for the irssi IRC client. You can
customize the look and feel and add extra functionality with this
package.
%prep
%setup -q -n irssi-scripts
%setup -q -b 1 -T -n irssi-themes
%build
%install
mkdir -p %{buildroot}%{_datadir}/irssi/{themes,scripts}
cd ..
install -m 644 irssi-themes/* %{buildroot}%{_datadir}/irssi/themes/
install -m 644 irssi-scripts/* %{buildroot}%{_datadir}/irssi/scripts/
%files
%defattr(-, root, root)
%{_datadir}/irssi/themes/*
%{_datadir}/irssi/scripts/*
%changelog