]>
Commit | Line | Data |
---|---|---|
fe90d53a ER |
1 | Summary: helper programs for debian/rules |
2 | Name: debhelper | |
3 | Version: 5.0.62 | |
4 | Release: 0.1 | |
5 | License: GPL v2 | |
6 | Group: Applications | |
7 | Source0: ftp://ftp.debian.org/debian/pool/main/d/debhelper/%{name}_%{version}.tar.gz | |
8 | # Source0-md5: 7c611f49e95db3638f0bdef2458677ed | |
9 | URL: http://kitenet.net/~joey/code/debhelper/ | |
10 | BuildRequires: dpkg | |
11 | BuildRequires: fakeroot | |
12 | BuildRequires: perl-tools-pod | |
13 | BuildRequires: po4a | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | A collection of programs that can be used in a debian/rules file to | |
19 | automate common tasks related to building Debian packages. Programs | |
20 | are included to install various files into your package, compress | |
21 | files, fix file permissions, integrate your package with the Debian | |
22 | menu system, debconf, doc-base, etc. | |
23 | ||
24 | Most Debian packages use debhelper as part of their build process. | |
25 | ||
26 | %prep | |
27 | %setup -q -n %{name} | |
28 | ||
29 | %build | |
30 | fakeroot debian/rules binary | |
31 | mv debian/debhelper/usr/share/doc/debhelper doc | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT | |
36 | cp -a debian/debhelper/* $RPM_BUILD_ROOT | |
37 | ||
38 | rm -rf $RPM_BUILD_ROOT/DEBIAN | |
39 | rm -rf $RPM_BUILD_ROOT%{_docdir}/debhelper | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc doc/* examples debian/changelog | |
47 | %attr(755,root,root) %{_bindir}/dh_* | |
48 | %{_datadir}/%{name} | |
49 | ||
50 | %dir %{perl_vendorlib}/Debian | |
51 | %dir %{perl_vendorlib}/Debian/Debhelper | |
52 | %{perl_vendorlib}/Debian/Debhelper/Dh_Getopt.pm | |
53 | %{perl_vendorlib}/Debian/Debhelper/Dh_Lib.pm | |
54 | %{perl_vendorlib}/Debian/Debhelper/Dh_Version.pm | |
55 | ||
56 | %{_mandir}/man1/dh_*.1* | |
57 | %lang(es) %{_mandir}/es/man1/dh_*.1* | |
58 | %lang(fr) %{_mandir}/fr/man1/dh_*.1* | |
59 | %{_mandir}/man7/debhelper.7* | |
60 | %lang(es) %{_mandir}/es/man7/debhelper.7* | |
61 | %lang(fr) %{_mandir}/fr/man7/debhelper.7* |