c78a29d
Name:           dh-autoreconf
94299d4
Version:        11
94299d4
Release:        1%{?dist}
c78a29d
Summary:        debhelper add-on to call autoreconf and clean up after the build
c78a29d
c78a29d
BuildArch:      noarch
c78a29d
License:        GPLv2+
c78a29d
URL:            http://packages.debian.org/unstable/dh-autoreconf
5d5917d
Source0:        http://ftp.de.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.tar.xz
c78a29d
c78a29d
BuildRequires:  perl(Pod::Text)
c78a29d
c78a29d
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
c78a29d
Requires:       debhelper
c78a29d
Requires:       autoconf
c78a29d
Requires:       automake
c78a29d
Requires:       libtool
c78a29d
Requires:       cdbs
c78a29d
# For /usr/bin/autopoint
c78a29d
Requires:       gettext-devel
c78a29d
c78a29d
%description
c78a29d
dh-autoreconf provides a debhelper sequence addon named 'autoreconf' and two
c78a29d
commands, dh_autoreconf and dh_autoreconf_clean. 
c78a29d
 * The dh_autoreconf command creates a list of the files and their checksums,
c78a29d
   calls autoreconf and then creates a second list for the new files.
c78a29d
 * The dh_autoreconf_clean command compares these two lists and removes all
c78a29d
   files which have been added or changed (files may be excluded if needed).
c78a29d
For CDBS users, a rule is provided to call the dh-autoreconf programs at the
c78a29d
right time. 
c78a29d
c78a29d
c78a29d
%prep
c78a29d
%setup -q -n %{name}-%{version}
c78a29d
c78a29d
c78a29d
%build
c78a29d
# Build manpages
c78a29d
pod2man --section=1 dh_autoreconf dh_autoreconf.1
c78a29d
pod2man --section=1 dh_autoreconf_clean dh_autoreconf_clean.1
c78a29d
pod2man --section=7 dh-autoreconf.pod dh-autoreconf.7
c78a29d
c78a29d
c78a29d
c78a29d
%install
c78a29d
install -Dpm 0755 dh_autoreconf %{buildroot}%{_bindir}/dh_autoreconf
c78a29d
install -Dpm 0755 dh_autoreconf_clean %{buildroot}%{_bindir}/dh_autoreconf_clean
c78a29d
install -Dpm 0644 autoreconf.pm %{buildroot}%{perl_vendorlib}/Debian/Debhelper/Sequence/autoreconf.pm
c78a29d
install -Dpm 0644 autoreconf.mk %{buildroot}%{_datadir}/cdbs/1/rules/autoreconf.mk
c78a29d
install -Dpm 0644 ltmain-as-needed.diff %{buildroot}%{_datadir}/%{name}/ltmain-as-needed.diff
c78a29d
install -Dpm 0644 dh_autoreconf.1 %{buildroot}%{_mandir}/man1/dh_autoreconf.1
c78a29d
install -Dpm 0644 dh_autoreconf_clean.1 %{buildroot}%{_mandir}/man1/dh_autoreconf_clean.1
c78a29d
install -Dpm 0644 dh-autoreconf.7 %{buildroot}%{_mandir}/man7/dh-autoreconf.7
c78a29d
c78a29d
c78a29d
%files
c78a29d
%doc debian/copyright
c78a29d
%{_bindir}/dh_autoreconf
c78a29d
%{_bindir}/dh_autoreconf_clean
c78a29d
%{perl_vendorlib}/*
c78a29d
%{_datadir}/cdbs/1/rules/autoreconf.mk
c78a29d
%{_datadir}/%{name}/
c78a29d
%{_mandir}/man1/dh_autoreconf.1*
c78a29d
%{_mandir}/man1/dh_autoreconf_clean.1*
c78a29d
%{_mandir}/man7/dh-autoreconf.7*
c78a29d
c78a29d
c78a29d
%changelog
94299d4
* Tue Feb 09 2016 Sandro Mani <manisandro@gmail.com> - 11-1
94299d4
- Update to 11
94299d4
2417f1a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 10-4
2417f1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2417f1a
4813b09
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-3
4813b09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4813b09
12d51f1
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 10-2
12d51f1
- Perl 5.22 rebuild
12d51f1
5d5917d
* Fri Sep 26 2014 Sandro Mani <manisandro@gmail.com> - 10-1
5d5917d
- Update to 10
5d5917d
5f6c50f
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 9-4
5f6c50f
- Perl 5.20 rebuild
5f6c50f
6f8dd8e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9-3
6f8dd8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6f8dd8e
c78a29d
* Thu Feb 13 2014 Sandro Mani <manisandro@gmail.com> - 9-2
c78a29d
- Fix %%{perl_vendorlib} directory ownership
c78a29d
c78a29d
* Sun Feb 9 2014 Sandro Mani <manisandro@gmail.com> - 9-1
c78a29d
- Initial package