File checkbashisms.spec of Package checkbashisms

#
# spec file for package checkbashisms (Version 20100326git)
#
# Copyright (c) 2010 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:           checkbashisms
Version:        20100326git
Release:        2
Summary:        Tool for Checking /bin/sh Scripts for Possible Bashisms
Group:          Development/Tools/Other
License:        GPLv2+
Url:            http://git.debian.org/?p=devscripts/devscripts.git
Requires:       perl = %{perl_version}
Source:         checkbashisms-20100326git.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  perl

%description
checkbashisms performs basic checks on /bin/sh shell scripts for the possible
presence of bashisms.  It takes the names of the shell scripts on the command
line, and outputs warnings if possible bashisms are detected.

Authors:
--------
    Richard Braakman
    Josip Rodin
    Julian Gilbey <jdg@debian.org>


%prep
%setup -q

%build

%install
install -D -m 0755 checkbashisms.pl %{buildroot}%{_bindir}/checkbashisms
install -D -m 0644 checkbashisms.1 %{buildroot}%{_mandir}/man1/checkbashisms.1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc %{_mandir}/man1/checkbashisms.1*
%{_bindir}/checkbashisms

%changelog
openSUSE Build Service is sponsored by