3 %bcond_with tests # build with tests
5 Summary: Helper programs for debian/rules
6 Summary(pl.UTF-8): Programy pomocnicze dla debian/rules
11 Group: Development/Tools
12 Source0: ftp://ftp.debian.org/debian/pool/main/d/debhelper/%{name}_%{version}.tar.gz
13 # Source0-md5: 10e53fc2d752bddc5bb66bfeaba7582e
14 URL: http://joeyh.name/code/debhelper/
16 BuildRequires: fakeroot
17 BuildRequires: perl-tools-pod
19 # uses man-db specific --recode option in dh_installman
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 A collection of programs that can be used in a debian/rules file to
26 automate common tasks related to building Debian packages. Programs
27 are included to install various files into your package, compress
28 files, fix file permissions, integrate your package with the Debian
29 menu system, debconf, doc-base, etc.
31 Most Debian packages use debhelper as part of their build process.
33 %description -l pl.UTF-8
34 Zestaw programów, których można używać w pliku debian/rules do
35 automatyzacji często wykonywanych zadań związanych z budowaniem
36 pakietów Debiana. Zawiera programy do instalowania różnych plików
37 pakietu, kompresji plików, poprawiania uprawnień plików, integracji
38 pakietu z systemem menu Debiana, debconfem, doc-base itp.
45 %{!?with_tests:DEB_BUILD_OPTIONS=nocheck} \
46 fakeroot debian/rules binary
47 mv debian/debhelper%{_docdir}/debhelper doc
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT
52 cp -a debian/debhelper/* $RPM_BUILD_ROOT
54 %{__rm} -r $RPM_BUILD_ROOT/DEBIAN
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_bindir}/dh
63 %attr(755,root,root) %{_bindir}/dh_*
66 %dir %{perl_vendorlib}/Debian
67 %dir %{perl_vendorlib}/Debian/Debhelper
68 %{perl_vendorlib}/Debian/Debhelper/Dh_Buildsystems.pm
69 %{perl_vendorlib}/Debian/Debhelper/Dh_Getopt.pm
70 %{perl_vendorlib}/Debian/Debhelper/Dh_Lib.pm
71 %{perl_vendorlib}/Debian/Debhelper/Dh_Version.pm
72 %{perl_vendorlib}/Debian/Debhelper/Sequence
73 %{perl_vendorlib}/Debian/Debhelper/Buildsystem
74 %{perl_vendorlib}/Debian/Debhelper/Buildsystem.pm
77 %{_mandir}/man1/dh_*.1*
78 %lang(de) %{_mandir}/de/man1/dh.1*
79 %lang(de) %{_mandir}/de/man1/dh_*.1*
80 %lang(es) %{_mandir}/es/man1/dh.1*
81 %lang(es) %{_mandir}/es/man1/dh_*.1*
82 %lang(fr) %{_mandir}/fr/man1/dh.1*
83 %lang(fr) %{_mandir}/fr/man1/dh_*.1*
84 %{_mandir}/man7/debhelper.7*
85 %lang(de) %{_mandir}/de/man7/debhelper.7*
86 %lang(es) %{_mandir}/es/man7/debhelper.7*
87 %lang(fr) %{_mandir}/fr/man7/debhelper.7*