]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - libnfsidmap/libnfsidmap.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / libnfsidmap / libnfsidmap.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libnfsidmap
7 version = 0.21
8 release = 1
9
10 groups = System/Libraries
11 url = http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/
12 license = BSD
13 summary = Library to help mapping id's, mainly for NFSv4.
14
15 description
16 libnfsidmap provides functions to map between NFSv4 names \
17 (which are of the form user@domain) and local uid's and gid's.
18 end
19
20 source_dl =
21
22 build
23 requires
24 gcc-c++
25 end
26
27 configure_options += --libdir=/lib
28
29 install_cmds
30 mkdir -pv %{BUILDROOT}/usr/lib
31
32 mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/
33
34 rm -vf %{BUILDROOT}/lib/libnfsidmap.so
35 ln -svf ../../lib/libnfsidmap.so.0 \
36 %{BUILDROOT}/usr/lib/libnfsidmap.so
37
38 rm -vf %{BUILDROOT}/lib/libnfsidmap_nsswitch.so
39 ln -svf ../../lib/libnfsidmap_nsswitch.so.0 \
40 %{BUILDROOT}/usr/lib/libnfsidmap_nsswitch.so
41
42 rm -vf %{BUILDROOT}/lib/libnfsidmap_static.so
43 ln -svf ../../lib/libnfsidmap_static.so.0 \
44 %{BUILDROOT}/usr/lib/libnfsidmap_static.so
45 end
46 end
47
48 packages
49 package %{name}
50 end
51
52 package %{name}-devel
53 template DEVEL
54 end
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59 end