]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - libidn/libidn.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/ipfire-3.x.git] / libidn / libidn.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libidn
7 version = 1.22
8 release = 1
9
10 groups = System/Libraries
11 url = http://www.gnu.org/software/libidn/
12 license = LGPLv2+ GPLv3+
13 summary = Internationalized Domain Name support library.
14
15 description
16 GNU Libidn is an implementation of the Stringprep, Punycode and \
17 IDNA specifications defined by the IETF Internationalized Domain \
18 Names (IDN) working group, used for internationalized domain \
19 names.
20 end
21
22 source_dl =
23
24 build
25 configure_options += \
26 --libdir=/lib \
27 --disable-csharp \
28 --disable-static
29
30 test
31 make -C tests check
32 end
33
34 install
35 make install DESTDIR=%{BUILDROOT} \
36 pkgconfigdir=/usr/lib/pkgconfig
37
38 mkdir -pv %{BUILDROOT}/usr/lib
39 rm -vf %{BUILDROOT}/lib/libidn.so
40 ln -svf ../../lib/libidn.so.11.6.5 %{BUILDROOT}/usr/lib/libidn.so
41 end
42 end
43
44 packages
45 package %{name}
46 end
47
48 package %{name}-devel
49 template DEVEL
50 end
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
55 end