57f778d
Name:           debbuild
57f778d
Version:        0.10.1
57f778d
Release:        2%{?dist}
57f778d
Summary:        Build Debian-compatible .deb packages from RPM .spec files
57f778d
57f778d
License:        GPLv2+
57f778d
URL:            https://secure.deepnet.cx/trac/%{name}
57f778d
Source0:        https://secure.deepnet.cx/releases/%{name}/%{name}-%{version}.tar.gz
57f778d
57f778d
BuildArch:      noarch
57f778d
BuildRequires:  perl-podlators
57f778d
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
57f778d
Requires:       dpkg
57f778d
57f778d
%if 0%{?fedora} > 21 || 0%{?rhel} >= 8
57f778d
Recommends:     dpkg-dev
57f778d
%else
57f778d
Requires:       dpkg-dev
57f778d
%endif
57f778d
57f778d
Requires:       pax, fakeroot, bash
57f778d
Requires:       patch, bzip2, xz
57f778d
57f778d
%{?perl_default_filter}
57f778d
57f778d
%description
57f778d
debbuild attempts to build Debian-friendly semi-native packages from
57f778d
RPM spec files, RPM-friendly tarballs, and RPM source packages
57f778d
(.src.rpm files).  It accepts most of the options rpmbuild does, and
57f778d
should be able to interpret most spec files usefully.
57f778d
57f778d
%prep
57f778d
%setup -q
57f778d
57f778d
57f778d
%build
57f778d
# Nothing really to build here
57f778d
57f778d
57f778d
%install
57f778d
make install DESTDIR=%{buildroot}
57f778d
%{_fixperms} %{buildroot}/*
57f778d
57f778d
57f778d
%files
57f778d
%{_bindir}/%{name}
57f778d
%license COPYING
57f778d
%{_mandir}/man8/%{name}.8*
57f778d
57f778d
57f778d
%changelog
57f778d
* Sun Jul  5 2015 Neal Gompa <ngompa13{%}gmail{*}com> - 0.10.1-2
57f778d
- Fix dependencies on dpkg-dev and xz
57f778d
- Remove superfluous spec statements (BuildRoot, etc.)
57f778d
- Make variable usage consistent
57f778d
57f778d
* Fri Jun 12 2015 Neal Gompa <ngompa13{%}gmail{*}com> - 0.10.1-1
57f778d
- Initial packaging