1 %{expand:%%global _pkgconfigdir %{_libdir}/pkgconfig}
2 %define _libdir /%{_lib}
4 Summary: A C library for parsing command line parameters.
9 Group: System Environment/Libraries
10 Source: http://rpm5.org/files/popt/%{name}-%{version}.tar.gz
11 BuildRequires: gettext
12 BuildRoot: %{_tmppath}/%{name}-root
15 Popt is a C library for parsing command line parameters. Popt was
16 heavily influenced by the getopt() and getopt_long() functions, but it
17 improves on them by allowing more powerful argument expansion. Popt
18 can parse arbitrary argv[] style arrays and automatically set
19 variables based on command line arguments. Popt allows command line
20 arguments to be aliased via configuration files and includes utility
21 functions for parsing arbitrary strings into argv[] arrays using
32 rm -rf $RPM_BUILD_ROOT
33 make DESTDIR=$RPM_BUILD_ROOT install
42 url = http://rpm5.org/%{name}
43 regex = %{name}-(\d+\.\d+\.\d+)\.tar\.gz
47 rm -rf $RPM_BUILD_ROOT
53 %{_mandir}/man3/popt.3*
54 %{_pkgconfigdir}/popt.pc
57 * Wed Feb 17 2010 Jeff Johnson <jbj@rpm5.org>
58 - release popt-1.16 through rpm5.org.
60 * Fri Apr 10 2009 Jeff Johnson <jbj@rpm5.org>
61 - release popt-1.15 through rpm5.org.
63 * Tue Dec 11 2007 Jeff Johnson <jbj@rpm5.org>
64 - release popt-1.13 through rpm5.org.
66 * Tue Jul 10 2007 Jeff Johnson <jbj@rpm5.org>
67 - release popt-1.12 through rpm5.org.
69 * Sat Jun 9 2007 Jeff Johnson <jbj@rpm5.org>
70 - release popt-1.11 through rpm5.org.
72 * Thu Dec 10 1998 Michael Johnson <johnsonm@redhat.com>
73 - released 1.2.2; see CHANGES
75 * Tue Nov 17 1998 Michael K. Johnson <johnsonm@redhat.com>
76 - added man page to default install
78 * Thu Oct 22 1998 Erik Troan <ewt@redhat.com>
79 - see CHANGES file for 1.2
81 * Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
82 - added ./configure step to spec file