]> git.pld-linux.org Git - packages/debhelper.git/blame - debhelper.spec
- updated to 9.20160814
[packages/debhelper.git] / debhelper.spec
CommitLineData
a0da0f0a
ER
1#
2# Conditional build:
3%bcond_with tests # build with tests
4
195bf4ff
JB
5Summary: Helper programs for debian/rules
6Summary(pl.UTF-8): Programy pomocnicze dla debian/rules
fe90d53a 7Name: debhelper
cf1d9746 8Version: 9.20160814
a0da0f0a 9Release: 1
6f2f9554
JB
10License: GPL v2+
11Group: Development/Tools
d159e4cd 12Source0: ftp://ftp.debian.org/debian/pool/main/d/debhelper/%{name}_%{version}.tar.xz
cf1d9746 13# Source0-md5: 2e6a77d0f969d2421260f3f75a2cf1ff
ae3f1202 14URL: http://joeyh.name/code/debhelper/
fe90d53a
ER
15BuildRequires: dpkg
16BuildRequires: fakeroot
a0da0f0a
ER
17# uses man-db specific --recode option in dh_installman
18BuildRequires: man-db
d159e4cd
JB
19BuildRequires: perl-tools-pod
20BuildRequires: po4a
21BuildRequires: tar >= 1:1.22
22BuildRequires: xz
fe90d53a
ER
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27A collection of programs that can be used in a debian/rules file to
28automate common tasks related to building Debian packages. Programs
29are included to install various files into your package, compress
30files, fix file permissions, integrate your package with the Debian
31menu system, debconf, doc-base, etc.
32
33Most Debian packages use debhelper as part of their build process.
34
195bf4ff
JB
35%description -l pl.UTF-8
36Zestaw programów, których można używać w pliku debian/rules do
37automatyzacji często wykonywanych zadań związanych z budowaniem
38pakietów Debiana. Zawiera programy do instalowania różnych plików
39pakietu, kompresji plików, poprawiania uprawnień plików, integracji
40pakietu z systemem menu Debiana, debconfem, doc-base itp.
41
fe90d53a 42%prep
ae3f1202
ER
43%setup -qc
44mv %{name}/* .
fe90d53a
ER
45
46%build
a0da0f0a 47%{!?with_tests:DEB_BUILD_OPTIONS=nocheck} \
fe90d53a 48fakeroot debian/rules binary
a0da0f0a 49mv debian/debhelper%{_docdir}/debhelper doc
fe90d53a
ER
50
51%install
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT
54cp -a debian/debhelper/* $RPM_BUILD_ROOT
55
a0da0f0a 56%{__rm} -r $RPM_BUILD_ROOT/DEBIAN
fe90d53a
ER
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
6f2f9554 63%doc doc/*
a0da0f0a 64%attr(755,root,root) %{_bindir}/dh
fe90d53a
ER
65%attr(755,root,root) %{_bindir}/dh_*
66%{_datadir}/%{name}
67
68%dir %{perl_vendorlib}/Debian
69%dir %{perl_vendorlib}/Debian/Debhelper
a0da0f0a 70%{perl_vendorlib}/Debian/Debhelper/Dh_Buildsystems.pm
fe90d53a
ER
71%{perl_vendorlib}/Debian/Debhelper/Dh_Getopt.pm
72%{perl_vendorlib}/Debian/Debhelper/Dh_Lib.pm
73%{perl_vendorlib}/Debian/Debhelper/Dh_Version.pm
a0da0f0a
ER
74%{perl_vendorlib}/Debian/Debhelper/Sequence
75%{perl_vendorlib}/Debian/Debhelper/Buildsystem
76%{perl_vendorlib}/Debian/Debhelper/Buildsystem.pm
fe90d53a 77
a0da0f0a 78%{_mandir}/man1/dh.1*
fe90d53a 79%{_mandir}/man1/dh_*.1*
6f2f9554
JB
80%lang(de) %{_mandir}/de/man1/dh.1*
81%lang(de) %{_mandir}/de/man1/dh_*.1*
a0da0f0a 82%lang(es) %{_mandir}/es/man1/dh.1*
fe90d53a 83%lang(es) %{_mandir}/es/man1/dh_*.1*
a0da0f0a 84%lang(fr) %{_mandir}/fr/man1/dh.1*
fe90d53a 85%lang(fr) %{_mandir}/fr/man1/dh_*.1*
b1286bc1
JB
86%lang(pt) %{_mandir}/pt/man1/dh.1*
87%lang(pt) %{_mandir}/pt/man1/dh_*.1*
fe90d53a 88%{_mandir}/man7/debhelper.7*
6f2f9554 89%lang(de) %{_mandir}/de/man7/debhelper.7*
fe90d53a 90%lang(fr) %{_mandir}/fr/man7/debhelper.7*
b1286bc1 91%lang(pt) %{_mandir}/pt/man7/debhelper.7*
This page took 0.070903 seconds and 4 git commands to generate.