File bashrun2.spec of Package bashrun2

#
# spec file for package bashrun2
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# 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:           bashrun2
Version:        0.2.3
Release:        0
Summary:        Launch Applications from Interactive Bash Sessions
License:        GPL-2.0+
Group:          System/X11/Utilities
Url:            http://henning-bekel.de/bashrun2/
Source:         http://henning-bekel.de/download/%{name}/%{name}-%{version}.tar.gz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  bash
BuildRequires:  gcc
BuildRequires:  glibc-devel
BuildRequires:  libtool
BuildRequires:  make
BuildRequires:  pkgconfig
BuildRequires:  xorg-x11-libX11-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Bashrun2 is the second generation version of bashrun, an application launcher
running a modified bash session in a small terminal window, providing all the
well known bash features like tab-completion and history. Additional features
include automatic detection of console applications, rules for running console
applications in dedicated terminals, running commands with a different user id,
regexp based command line rewriting (file associations, web shortcuts, etc),
user-defined actions and extensions, remote control features, and more.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}

%files
%defattr(-,root,root)
%doc COPYING AUTHORS ChangeLog NEWS README
%config %{_sysconfdir}/bash_completion.d/bashrun2
%dir %{_sysconfdir}/xdg/bashrun2
%config(noreplace) %{_sysconfdir}/xdg/bashrun2/bashrun2.rc
%dir %{_sysconfdir}/xdg/bashrun2/plugins
%config(noreplace) %{_sysconfdir}/xdg/bashrun2/plugins/terminal.rc
%{_bindir}/bashrun2
%{_bindir}/brwctl
%{_datadir}/bashrun2
%{_mandir}/man1/bashrun2.1*

%changelog
openSUSE Build Service is sponsored by