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