]>
Commit | Line | Data |
---|---|---|
b685bb18 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
b685bb18 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = popt |
7 | version = 1.15 | |
8 | release = 1 | |
b685bb18 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.rpm5.org/ | |
12 | license = MIT | |
13 | summary = C library for parsing command line parameters. | |
b685bb18 | 14 | |
802ea3af MT |
15 | description |
16 | Popt is a C library for parsing command line parameters. Popt was | |
17 | heavily influenced by the getopt() and getopt_long() functions, but | |
b685bb18 | 18 | it improves on them by allowing more powerful argument expansion. |
802ea3af | 19 | end |
5229d806 | 20 | |
802ea3af | 21 | source_dl = |
7108af4b | 22 | |
802ea3af MT |
23 | build |
24 | configure_options += \ | |
5229d806 SS |
25 | --libdir=/lib \ |
26 | ||
802ea3af MT |
27 | install_cmds |
28 | mkdir -pv %{BUILDROOT}/usr/lib | |
29 | rm -vf %{BUILDROOT}/lib/libpopt.so | |
30 | ln -sfv ../../lib/libpopt.so.0.0.0 %{BUILDROOT}/usr/lib/libpopt.so | |
31 | end | |
32 | end | |
33 | ||
34 | packages | |
35 | package %{name} | |
36 | end | |
1f9bc2f0 | 37 | |
802ea3af MT |
38 | package %{name}-devel |
39 | template DEVEL | |
40 | end | |
1f9bc2f0 MT |
41 | |
42 | package %{name}-debuginfo | |
43 | template DEBUGINFO | |
44 | end | |
802ea3af | 45 | end |