File bootstrap-debhelper.spec of Package bootstrap-debhelper

Name:           bootstrap-debhelper
License:        GNU General Public License (GPL)
Version:        7.0.16
Release:        1
Group:          Development/Tools
Summary:        helper programs for debian/rules
BuildRequires:  perl
Requires:	coreutils file dpkg-devel html2text binutils
# po-debconf
BuildArch:	noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        debhelper_%{version}.tar.gz

%description
A collection of programs that can be used in a debian/rules file to
automate common tasks related to building debian packages. Programs
are included to install various files into your package, compress
files, fix file permissions, integrate your package with the debian
menu system, debconf, doc-base, etc. Most debian packages use debhelper
as part of their build process.


%prep 
%setup -q -n debhelper

%build
# generate Dh_Version.pm
./debian/rules version

%install
install -d $RPM_BUILD_ROOT/%{_bindir}
install dh_* $RPM_BUILD_ROOT/%{_bindir}
install -d $RPM_BUILD_ROOT/%{_prefix}/lib/perl5/vendor_perl/Debian/Debhelper
install Debian/Debhelper/*.pm $RPM_BUILD_ROOT/%{_prefix}/lib/perl5/vendor_perl/Debian/Debhelper
install -d $RPM_BUILD_ROOT/%{_prefix}/share/debhelper/autoscripts
install autoscripts/* $RPM_BUILD_ROOT/%{_prefix}/share/debhelper/autoscripts

%files
%defattr(-,root,root)
/

%changelog

openSUSE Build Service is sponsored by