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