]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - chrpath/chrpath.nm
chrpath: Install documentation to the correct place
[people/pmueller/ipfire-3.x.git] / chrpath / chrpath.nm
CommitLineData
250e941e 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
250e941e
MT
4###############################################################################
5
802ea3af 6name = chrpath
0d202952 7version = 0.16
4a394d62 8release = 2
250e941e 9
802ea3af 10groups = Development/Tools
0d202952
MT
11url = https://directory.fsf.org/wiki/Chrpath/
12license = GPLv2+
13summary = Modify rpath of compiled programs
250e941e 14
802ea3af 15description
250e941e
MT
16 chrpath allows you to modify the dynamic library load path (rpath) of
17 compiled programs. Currently, only removing and modifying the rpath
18 is supported.
802ea3af
MT
19end
20
0d202952
MT
21# Upstream has gone
22source_dl = https://deb.debian.org/debian/pool/main/c/chrpath/
23sources = %{name}_%{version}.orig.tar.gz
250e941e 24
4a394d62
SS
25build
26 configure_options += \
27 --docdir=%{docdir}
28
29 install_cmds
30 # Chrpath ignores the docdir swith during configure.
31 # Move the documentation to the correct place.
32 mv -vf %{BUILDROOT}/usr/doc/%{name}-* %{BUILDROOT}%{docdir}
33
34 # Remove empty directory
35 rm -rvf %{BUILDROOT}/usr/doc
36 end
37end
38
802ea3af
MT
39packages
40 package %{name}
1f9bc2f0
MT
41
42 package %{name}-debuginfo
43 template DEBUGINFO
44 end
802ea3af 45end