⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 popt.spec

📁 popt-1.7.tar.gz ninigui之MDE编译库支持文件库
💻 SPEC
字号:
## Note: popt is now an rpm sub-package (including libpopt.so*) so you probably# shouldn't need to use this spec file to package popt anymore.#Summary: A C library for parsing command line parameters.Name: poptVersion: 1.7Release: 0.1Copyright: X ConsortiumGroup: System Environment/LibrariesSource: ftp://ftp.redhat.com/pub/redhat/code/popt/popt-%{version}.tar.gzBuildRoot: /var/tmp/%{name}root%descriptionPopt is a C library for parsing command line parameters.  Poptwas 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 setvariables based on command line arguments.  Popt allows commandline arguments to be aliased via configuration files and includesutility functions for parsing arbitrary strings into argv[] arraysusing shell-like rules.Install popt if you're a C programmer and you'd like to use itscapabilities.%prep%setup -q%build#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr%configuremake%installmake DESTDIR=$RPM_BUILD_ROOT install%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%{_prefix}/lib/libpopt.*%{_prefix}/include/popt.h%{_prefix}/man/man3/popt.3%{_prefix}/share/locale/*/LC_MESSAGES/popt.mo%changelog* Thu Dec 10 1998 Michael Johnson <johnsonm@redhat.com>- released 1.2.2; see CHANGES* Tue Nov 17 1998 Michael K. Johnson <johnsonm@redhat.com>- added man page to default install* 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -