diff options
author | ewt <devnull@localhost> | 1997-09-18 16:46:08 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-09-18 16:46:08 +0000 |
commit | 23a98445167f19dbdbadfd4a7a526cbba2b1e745 (patch) | |
tree | 0ad0bda35162c41aaa5ef7d4e2770fc8dffe0c01 /popt/popt.spec | |
parent | b5572be323cb4d03b21dfcd4a88baba67069cf19 (diff) | |
download | librpm-tizen-23a98445167f19dbdbadfd4a7a526cbba2b1e745.tar.gz librpm-tizen-23a98445167f19dbdbadfd4a7a526cbba2b1e745.tar.bz2 librpm-tizen-23a98445167f19dbdbadfd4a7a526cbba2b1e745.zip |
1) allowed installation based on a PREFIX
2) added popt.spec
CVS patchset: 1833
CVS date: 1997/09/18 16:46:08
Diffstat (limited to 'popt/popt.spec')
-rw-r--r-- | popt/popt.spec | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/popt/popt.spec b/popt/popt.spec new file mode 100644 index 000000000..738b3cec7 --- /dev/null +++ b/popt/popt.spec @@ -0,0 +1,33 @@ +Summary: C library for parsing command line parameters +Name: popt +Version: 1.0 +Release: 1 +Copyright: LGPL +Group: Utilities/System +Source: ftp://ftp.redhat.com/pub/redhat/code/popt/popt-1.0.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 -n popt + +%build +make CFLAGS="$RPM_OPT_FLAGS" + +%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 |