Projects
Eulaceura:Factory
apache-rpm-macros
_service:obs_scm:apache-rpm-macros-1597370140.9...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:apache-rpm-macros-1597370140.9c362b2.obscpio of Package apache-rpm-macros
07070100000000000081A40000000000000000000000015F35EF1C00000340000000000000000000000000000000000000003200000000apache-rpm-macros-1597370140.9c362b2/README.en.md# apache-rpm-macros #### Description Apache RPM Macros #### Software Architecture Software architecture description #### Installation 1. xxxx 2. xxxx 3. xxxx #### Instructions 1. xxxx 2. xxxx 3. xxxx #### Contribution 1. Fork the repository 2. Create Feat_xxx branch 3. Commit your code 4. Create Pull Request #### Gitee Feature 1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 2. Gitee blog [blog.gitee.com](https://blog.gitee.com) 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 4. The most valuable open source project [GVP](https://gitee.com/gvp) 5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) 07070100000001000081A40000000000000000000000015F35EF1C000003A2000000000000000000000000000000000000002F00000000apache-rpm-macros-1597370140.9c362b2/README.md# apache-rpm-macros #### 介绍 Apache RPM Macros #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) 07070100000002000081A40000000000000000000000015F35EF1C0000097F000000000000000000000000000000000000003C00000000apache-rpm-macros-1597370140.9c362b2/apache-rpm-macros.spec%define _libexecdir /usr/lib %define ap_major 2 %define ap_branch %(rpm -q --qf "%%{version}" httpd | tr '.' ' ' | { read maj min patch; printf "%d%02d" $maj &min; }) %define ap_version %(rpm -q --qf "%%{version}" httpd | tr '.' ' ' | { read maj min patch; printf "%d%02d%02d" $maj $min $patch; }) %define ap_pname apache%{ap_major} %define ap_apxs %(ls -1 /usr/{,s}bin/apxs{,2} 2>/dev/null | head -n 1) %define ap_cflags %(%{ap_apxs} -q CFLAGS) %define ap_includedir %(%{ap_apxs} -q INCLUDEDIR) %define ap_libexecdir %(%{ap_apxs} -q LIBEXECDIR) %define ap_localstatedir %(%{ap_apxs} -q LOCALSTATEDIR) %define ap_serverroot %(%{ap_apxs} -q PREFIX) %define ap_sysconfdir %(%{ap_apxs} -q SYSCONFDIR) %define ap_datadir %(%{ap_apxs} -q DATADIR) %define ap_user apache %define ap_group apache %define macros_dir %{_sysconfdir}/rpm %define macros_file macros.apache Name: apache-rpm-macros Version: 20200211 Release: 1 Summary: Apache RPM Macros License: Apache-2.0 URL: http://httpd.apache.org/ BuildRequires: httpd-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description RPM Macros intended for Apache modules spec files. %prep %build cat << END > %{macros_file} %%apache_major %{ap_major} %%apache_branch %{ap_branch} %%apache_version %{ap_version} %%apache_pname %{ap_pname} %%apache_apxs %{ap_apxs} %%apache_cflags %{ap_cflags} %%apache_includedir %{ap_includedir} %%apache_libexecdir %{ap_libexecdir} %%apache_localstatedir %{ap_localstatedir} %%apache_mmn %{ap_mmn} %%apache_suse_maintenance_mmn %{ap_maint_mmn} %%apache_serverroot %{ap_serverroot} %%apache_sysconfdir %{ap_sysconfdir} %%apache_datadir %{ap_datadir} %%apache_user %{ap_user} %%apache_group %{ap_group} %%apache_access_syntax_version %{ap__access_syntax_version} END echo >> %{macros_file} %install mkdir -p %{buildroot}%{macros_dir} install -m 644 %{macros_file} %{buildroot}%{macros_dir} %files %defattr(-,root,root) %dir %{macros_dir} %{macros_dir}/macros.apache* %changelog * Wed Jul 15 2020 chengzihan <chengzihan2@huawei.com> - 20200211-1 - Package init 07070100000003000081A40000000000000000000000015F35EF1C0000003F000000000000000000000000000000000000003C00000000apache-rpm-macros-1597370140.9c362b2/apache-rpm-macros.yamlversion_control: NA src_repo: NA tag_prefix: NA seperator: NA 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000B00000000TRAILER!!!10 blocks
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2