summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-10-22 20:15:05 +0000
committerjbj <devnull@localhost>1998-10-22 20:15:05 +0000
commitb08a35c0a3b1eca37bc28c210508aa3b39b92e57 (patch)
treefd93445ae16e0bc482a41e30140f035cb6b6a517 /popt
parentd1bd01611747c37170b1f0c278443fd3a5e3e892 (diff)
downloadlibrpm-tizen-b08a35c0a3b1eca37bc28c210508aa3b39b92e57.tar.gz
librpm-tizen-b08a35c0a3b1eca37bc28c210508aa3b39b92e57.tar.bz2
librpm-tizen-b08a35c0a3b1eca37bc28c210508aa3b39b92e57.zip
Set VERSION at top of Makefile.am, expand popt.spec.in accordingly.
CVS patchset: 2496 CVS date: 1998/10/22 20:15:05
Diffstat (limited to 'popt')
-rwxr-xr-xpopt/configure.in4
-rw-r--r--popt/popt.spec44
2 files changed, 2 insertions, 46 deletions
diff --git a/popt/configure.in b/popt/configure.in
index 8f64fdcab..38a20e115 100755
--- a/popt/configure.in
+++ b/popt/configure.in
@@ -1,5 +1,5 @@
AC_INIT(popt.h)
-AM_INIT_AUTOMAKE(popt, 1.1.1)
+AM_INIT_AUTOMAKE(popt, 1.2)
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
@@ -59,5 +59,5 @@ AC_CHECK_FUNC(setreuid, [], [
AC_CHECK_LIB(ucb, setreuid, [if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi])
])
-AC_OUTPUT([Makefile po/Makefile.in],
+AC_OUTPUT([Makefile popt.spec po/Makefile.in],
[sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
diff --git a/popt/popt.spec b/popt/popt.spec
deleted file mode 100644
index 3686e983c..000000000
--- a/popt/popt.spec
+++ /dev/null
@@ -1,44 +0,0 @@
-Summary: C library for parsing command line parameters
-Name: popt
-%define version 1.2
-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.
-
-%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
-
-%prep
-%setup
-CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=/usr
-
-%build
-make
-
-%install
-make PREFIX=$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