blob: 3ed71baef022caf02cb55b2c7c450cac131bed7a [file] [log] [blame]
%{expand:%%global _pkgconfigdir %{_libdir}/pkgconfig}
%define _libdir /%{_lib}
Summary: A C library for parsing command line parameters.
Name: popt
Version: @VERSION@
Release: 1
License: X Consortium
Group: System Environment/Libraries
BuildRequires: gettext
BuildRoot: %{_tmppath}/%{name}-root
Popt is a C library for parsing command line parameters. Popt was
heavily influenced by the getopt() and getopt_long() functions, but it
improves on them by allowing more powerful argument expansion. Popt
can parse arbitrary argv[] style arrays and automatically set
variables based on command line arguments. Popt allows command line
arguments to be aliased via configuration files and includes utility
functions for parsing arbitrary strings into argv[] arrays using
shell-like rules.
%setup -q
%find_lang popt
make check || :
prog popt = {
version = %{version}
url ={name}
regex = %{name}-(\d+\.\d+\.\d+)\.tar\.gz
%files -f popt.lang
* Wed Feb 17 2010 Jeff Johnson <>
- release popt-1.16 through
* Fri Apr 10 2009 Jeff Johnson <>
- release popt-1.15 through
* Tue Dec 11 2007 Jeff Johnson <>
- release popt-1.13 through
* Tue Jul 10 2007 Jeff Johnson <>
- release popt-1.12 through
* Sat Jun 9 2007 Jeff Johnson <>
- release popt-1.11 through
* Thu Dec 10 1998 Michael Johnson <>
- released 1.2.2; see CHANGES
* Tue Nov 17 1998 Michael K. Johnson <>
- added man page to default install
* Thu Oct 22 1998 Erik Troan <>
- see CHANGES file for 1.2
* Thu Apr 09 1998 Erik Troan <>
- added ./configure step to spec file