]> git.pld-linux.org Git - packages/checkbashisms.git/commitdiff
- from altlinux src.rpm package AC-branch auto/ac/checkbashisms-2_10_64-1 auto/th/checkbashisms-2_10_64-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 13 May 2010 17:07:38 +0000 (17:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    checkbashisms.spec -> 1.1

checkbashisms.spec [new file with mode: 0644]

diff --git a/checkbashisms.spec b/checkbashisms.spec
new file mode 100644 (file)
index 0000000..5bca0e8
--- /dev/null
@@ -0,0 +1,36 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       Check shell scripts for common bash-specific contructs
+Name:          checkbashisms
+Version:       2.10.64
+Release:       1
+Source0:       %{name}.pl
+Source1:       %{name}.1
+License:       GPL v2+
+Group:         Development
+URL:           http://packages.debian.org/sid/devscripts
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+checkbashisms checks whether a /bin/sh script contains any common
+bash-specific contructs.
+
+It is extracted from the Debian devscripts package.
+
+%prep
+%setup -qcT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name}
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
This page took 0.053536 seconds and 4 git commands to generate.