1 Star 0 Fork 19

zhangwenlong01/color-filesystem

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
color-filesystem.spec 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
%global apiver %(v=2.1.0; echo ${v%.${v#[0-9].[0-9].}})
Name: color-filesystem
Version: 1
Release: 17
Summary: Color filesystem layout
Group: System Environment/Base
License: Public Domain
BuildArch: noarch
URL: https://src.fedoraproject.org/rpms/color-filesystem
Source0: color-filesystem.tar.gz
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64 sw_64 loongarch64
Requires: filesystem
Requires: rpm
%description
This package provides some directories that are required/used to store color.
%prep
# Nothing to prep
%build
# Nothing to build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/color/icc
mkdir -p $RPM_BUILD_ROOT%{_datadir}/color/cmms
mkdir -p $RPM_BUILD_ROOT%{_datadir}/color/settings
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/color/icc
# rpm macros
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
cat >$RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.color<<EOF
%%_colordir %%_datadir/color
%%_syscolordir %%_colordir
%%_icccolordir %%_colordir/icc
%%_cmmscolordir %%_colordir/cmms
%%_settingscolordir %%_colordir/settings
EOF
%files
%defattr(-,root,root,-)
%dir %{_datadir}/color
%dir %{_datadir}/color/icc
%dir %{_datadir}/color/cmms
%dir %{_datadir}/color/settings
%dir %{_localstatedir}/lib/color
%dir %{_localstatedir}/lib/color/icc
%{_sysconfdir}/rpm/macros.color
%changelog
* Mon Nov 14 Wenlong Zhang<[email protected]> - 1.17
- Add loongarch support for color filesystem
* Thu Nov 3 2022 wuzx<[email protected]> - 1-16
- Add sw64 architecture
* Tue May 25 2021 zhangyao <[email protected]> - 1-15
- Import Color Filesystem
* Sat Sep 7 2019 guan yanjie <[email protected]> - 1-14
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangwenlong01/color-filesystem.git
[email protected]:zhangwenlong01/color-filesystem.git
zhangwenlong01
color-filesystem
color-filesystem
master

搜索帮助