/[packages]/cauldron/checkbashisms/current/SPECS/checkbashisms.spec
ViewVC logotype

Annotation of /cauldron/checkbashisms/current/SPECS/checkbashisms.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55860 - (hide annotations) (download)
Mon Feb 21 22:15:10 2011 UTC (13 years, 2 months ago) by blino
File size: 1096 byte(s)
imported package checkbashisms
1 blino 55860 %define name checkbashisms
2     %define version 2.10.39
3     %define release %mkrel 3
4    
5     Summary: Check shell scripts for common bash-specific contructs
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}
9     # svn export svn://svn.debian.org/svn/devscripts/trunk/scripts/checkbashisms.pl
10     Source0: checkbashisms.pl
11     # svn export svn://svn.debian.org/svn/devscripts/trunk/scripts/checkbashisms.1
12     Source1: checkbashisms.1
13     License: GPLv2+
14     Group: Development/Other
15     Url: http://packages.debian.org/sid/devscripts
16     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
17     BuildArch: noarch
18    
19     %description
20     checkbashisms checks whether a /bin/sh script contains any common
21     bash-specific contructs.
22     It is extracted from the Debian devscripts package.
23    
24     %prep
25     %setup -q -T -c
26    
27     %build
28    
29     %install
30     rm -rf %{buildroot}
31     install -d %{buildroot}%{_bindir}
32     install -m755 %{SOURCE0} %{buildroot}%{_bindir}/%{name}.pl
33     install -d %{buildroot}%{_mandir}/man1
34     install -m644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
35    
36     %clean
37     rm -rf %{buildroot}
38    
39     %files
40     %defattr(-,root,root)
41     %{_bindir}/%{name}.pl
42     %{_mandir}/man1/%{name}.1*
43    
44    

  ViewVC Help
Powered by ViewVC 1.1.30