]>
Commit | Line | Data |
---|---|---|
195bf4ff JB |
1 | Summary: Helper programs for debian/rules |
2 | Summary(pl.UTF-8): Programy pomocnicze dla debian/rules | |
fe90d53a ER |
3 | Name: debhelper |
4 | Version: 5.0.62 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: Applications | |
8 | Source0: ftp://ftp.debian.org/debian/pool/main/d/debhelper/%{name}_%{version}.tar.gz | |
9 | # Source0-md5: 7c611f49e95db3638f0bdef2458677ed | |
10 | URL: http://kitenet.net/~joey/code/debhelper/ | |
11 | BuildRequires: dpkg | |
12 | BuildRequires: fakeroot | |
13 | BuildRequires: perl-tools-pod | |
14 | BuildRequires: po4a | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | A collection of programs that can be used in a debian/rules file to | |
20 | automate common tasks related to building Debian packages. Programs | |
21 | are included to install various files into your package, compress | |
22 | files, fix file permissions, integrate your package with the Debian | |
23 | menu system, debconf, doc-base, etc. | |
24 | ||
25 | Most Debian packages use debhelper as part of their build process. | |
26 | ||
195bf4ff JB |
27 | %description -l pl.UTF-8 |
28 | Zestaw programów, których można używać w pliku debian/rules do | |
29 | automatyzacji często wykonywanych zadań związanych z budowaniem | |
30 | pakietów Debiana. Zawiera programy do instalowania różnych plików | |
31 | pakietu, kompresji plików, poprawiania uprawnień plików, integracji | |
32 | pakietu z systemem menu Debiana, debconfem, doc-base itp. | |
33 | ||
fe90d53a ER |
34 | %prep |
35 | %setup -q -n %{name} | |
36 | ||
37 | %build | |
38 | fakeroot debian/rules binary | |
39 | mv debian/debhelper/usr/share/doc/debhelper doc | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT | |
44 | cp -a debian/debhelper/* $RPM_BUILD_ROOT | |
45 | ||
46 | rm -rf $RPM_BUILD_ROOT/DEBIAN | |
47 | rm -rf $RPM_BUILD_ROOT%{_docdir}/debhelper | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc doc/* examples debian/changelog | |
55 | %attr(755,root,root) %{_bindir}/dh_* | |
56 | %{_datadir}/%{name} | |
57 | ||
58 | %dir %{perl_vendorlib}/Debian | |
59 | %dir %{perl_vendorlib}/Debian/Debhelper | |
60 | %{perl_vendorlib}/Debian/Debhelper/Dh_Getopt.pm | |
61 | %{perl_vendorlib}/Debian/Debhelper/Dh_Lib.pm | |
62 | %{perl_vendorlib}/Debian/Debhelper/Dh_Version.pm | |
63 | ||
64 | %{_mandir}/man1/dh_*.1* | |
65 | %lang(es) %{_mandir}/es/man1/dh_*.1* | |
66 | %lang(fr) %{_mandir}/fr/man1/dh_*.1* | |
67 | %{_mandir}/man7/debhelper.7* | |
68 | %lang(es) %{_mandir}/es/man7/debhelper.7* | |
69 | %lang(fr) %{_mandir}/fr/man7/debhelper.7* |