rpm SPEC常用路径以及宏变量
来源:互联网 发布:淘宝分类最多几个 编辑:程序博客网 时间:2024/06/12 00:54
Valid RPM Macros
Here are the definitions for some common specfile macros as they are defined on Fedora Core 11 (rpm-4.7.0-1.fc11). For definitions of more macros, examine the output of "rpm --showrc
". To see the expanded definition of a macro use the command rpm --eval "%{macro}"
. Note that neither command will take into account macros defined inside specfiles, but both will take into account macros defined in your ~/.rpmmacros
file and macros defined on the command line.
Keep in mind that some of these macros may evaluate differently on older Fedora or EPEL releases.
查阅rpm常用路径 rpm --showrc>/usr/rpmShowrc.txt
Macros mimicking autoconf variables
%{_sysconfdir} /etc%{_prefix} /usr%{_exec_prefix} %{_prefix}%{_bindir} %{_exec_prefix}/bin%{_lib} lib (lib64 on 64bit systems)%{_libdir} %{_exec_prefix}/%{_lib}%{_libexecdir} %{_exec_prefix}/libexec%{_sbindir} %{_exec_prefix}/sbin%{_sharedstatedir} /var/lib%{_datadir} %{_prefix}/share%{_includedir} %{_prefix}/include%{_oldincludedir} /usr/include%{_infodir} /usr/share/info%{_mandir} /usr/share/man%{_localstatedir} /var%{_initddir} %{_sysconfdir}/rc.d/init.d
RPM directory macros
%{_topdir} %{getenv:HOME}/rpmbuild%{_builddir} %{_topdir}/BUILD%{_rpmdir} %{_topdir}/RPMS%{_sourcedir} %{_topdir}/SOURCES%{_specdir} %{_topdir}/SPECS%{_srcrpmdir} %{_topdir}/SRPMS%{_buildrootdir} %{_topdir}/BUILDROOT
0 0
- rpm SPEC常用路径以及宏变量
- rpm SPEC常用路径以及宏变量
- RPM中SPEC常用路径以及宏变量
- RPM中SPEC常用路径以及宏变量
- SPEC文件中的常用路径以及宏变量
- rpm spec
- rpm spec
- rpm打包spec文件
- rpm spec file
- rpm spec 打包学习
- rpm spec文章
- rpm spec文件编写
- SPEC脚本及RPM打包
- RPM包rpmbuild SPEC文件
- RPM原理详解-spec文件
- RPM原理详解-spec文件
- RPM包rpmbuild SPEC文件
- RPM打包与SPEC文件
- 深入分析 Linux 内核链表
- 线性插值 C实现
- 向AVL树进行插入的非递归函数
- Python中使用stanford parser(一)
- JS命名规范
- rpm SPEC常用路径以及宏变量
- 数据结构基础(18) --哈希表的设计与实现
- ArcGIS Python Hello Python
- 深入理解Android的startservice和bindservice
- 第二章 VHDL语言元素
- iOS 手写代码UICollectionView
- 自媒体形式下的个人设计(面向用户)—博客,QQ空间等个人主页的设计
- UVa 1601 - The Morning after Halloween(双向BFS版)
- 【1197】约瑟夫问题