Oriphan.
authorjbj <devnull@localhost>
Thu, 22 Oct 1998 20:15:23 +0000 (20:15 +0000)
committerjbj <devnull@localhost>
Thu, 22 Oct 1998 20:15:23 +0000 (20:15 +0000)
CVS patchset: 2497
CVS date: 1998/10/22 20:15:23

popt/popt.spec.in [new file with mode: 0644]

diff --git a/popt/popt.spec.in b/popt/popt.spec.in
new file mode 100644 (file)
index 0000000..af2b600
--- /dev/null
@@ -0,0 +1,41 @@
+Summary: C library for parsing command line parameters
+Name: popt
+Version: @VERSION@
+Release: 1
+Copyright: LGPL
+Group: Libraries
+Source: ftp://ftp.redhat.com/pub/redhat/code/popt/popt-%{version}.tar.gz
+BuildRoot: /var/tmp/popt.root
+
+%description
+Popt is a C library for pasing command line parameters. It was heavily
+influenced by the getopt() and getopt_long() functions, but it allows
+more powerfull argument expansion. It can parse arbitrary argv[] style
+arrays and automatically set variables based on command line arguments.
+It also 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. 
+
+%prep
+%setup -q
+CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=/usr
+
+%build
+make
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%attr(0644, root, root) /usr/lib/libpopt.a
+%attr(0644, root, root) /usr/include/popt.h
+
+%changelog
+* Thu Oct 22 1998 Erik Troan <ewt@redhat.com>
+- see CHANGES file for 1.2
+
+* Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
+- added ./configure step to spec file