Add %license COPYING to follow license notification rule
[platform/upstream/chrpath.git] / packaging / chrpath.spec
1 Name:           chrpath
2 Version:        0.13
3 Release:        3
4 License:        GPL-2.0+
5 Summary:        Modify rpath of compiled programs
6 Url:            http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/
7 Group:          Development/Tools
8 Source0:        http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/%{name}-%{version}.tar.gz
9 Source1001:     chrpath.manifest
10
11 %description
12 chrpath allows you to modify the dynamic library load path (rpath) of
13 compiled programs.  Currently, only removing and modifying the rpath
14 is supported.
15
16 %prep
17 %setup -q
18 cp %{SOURCE1001} .
19
20
21 %build
22
23 %configure --disable-static
24 # Call make instruction with smp support
25 make %{?_smp_mflags}
26
27 %install
28 %make_install
29
30 rm -fr %{buildroot}/usr/doc
31
32 %files
33 %manifest %{name}.manifest
34 %defattr(-,root,root,-)
35 %license COPYING
36 %doc AUTHORS COPYING README
37 %{_bindir}/chrpath
38 %doc %{_mandir}/man1/chrpath.1*
39
40