]> git.pld-linux.org Git - packages/debhelper.git/blame - debhelper.spec
- new
[packages/debhelper.git] / debhelper.spec
CommitLineData
fe90d53a
ER
1Summary: helper programs for debian/rules
2Name: debhelper
3Version: 5.0.62
4Release: 0.1
5License: GPL v2
6Group: Applications
7Source0: ftp://ftp.debian.org/debian/pool/main/d/debhelper/%{name}_%{version}.tar.gz
8# Source0-md5: 7c611f49e95db3638f0bdef2458677ed
9URL: http://kitenet.net/~joey/code/debhelper/
10BuildRequires: dpkg
11BuildRequires: fakeroot
12BuildRequires: perl-tools-pod
13BuildRequires: po4a
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18A collection of programs that can be used in a debian/rules file to
19automate common tasks related to building Debian packages. Programs
20are included to install various files into your package, compress
21files, fix file permissions, integrate your package with the Debian
22menu system, debconf, doc-base, etc.
23
24Most Debian packages use debhelper as part of their build process.
25
26%prep
27%setup -q -n %{name}
28
29%build
30fakeroot debian/rules binary
31mv debian/debhelper/usr/share/doc/debhelper doc
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT
36cp -a debian/debhelper/* $RPM_BUILD_ROOT
37
38rm -rf $RPM_BUILD_ROOT/DEBIAN
39rm -rf $RPM_BUILD_ROOT%{_docdir}/debhelper
40
41%clean
42rm -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*
This page took 0.040911 seconds and 4 git commands to generate.