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