1 Star 0 Fork 18

saarloos/libmetal

forked from src-openEuler/libmetal 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libmetal.spec 3.83 KB
一键复制 编辑 原始数据 按行查看 历史
luojects 提交于 2022-06-30 17:43 . update libmetal to 2022.04.0
Name: libmetal
Version: 2022.04.0
Release: 1
Summary: An abstraction layer across user-space Linux, baremetal, and RTOS environments
License: BSD
URL: https://github.com/OpenAMP/libmetal/
Source0: https://github.com/OpenAMP/libmetal/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: libmetal-add-additional-arches.patch
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: libsysfs-devel
%description
An abstraction layer across user-space Linux, baremetal, and RTOS environments.
%package devel
Summary: Development files for libmetal
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development file for libmetal: An abstraction layer across user-space Linux,
baremetal, and RTOS environments.
%package doc
Summary: Documentation files for libmetal
BuildArch: noarch
%description doc
Documentation file for libmetal: An abstraction layer across user-space Linux,
baremetal, and RTOS environments.
%prep
%autosetup -p1
%build
mkdir build
cd build
%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DWITH_STATIC_LIB=OFF -DWITH_EXAMPLES=OFF -DWITH_TEST=OFF ..
%install
cd build
%make_install
%ldconfig_scriptlets
%files
%license LICENSE.md
%doc README.md
%{_libdir}/libmetal.so.1
%{_libdir}/libmetal.so.1.2.0
# test-metal-shared is not used.
%exclude %{_bindir}/test-metal-shared
%files devel
%{_libdir}/libmetal.so
%{_includedir}/metal/
%files doc
%license LICENSE.md
%doc README.md
%doc %{_datarootdir}/doc/metal/
%changelog
* Thu Jun 30 2022 luojects <[email protected]> - 2022.04.0-1
- update to 2022.04.0
* Sat Feb 12 2022 Wayne Ren <[email protected]> - 2021.10.0-1
- update to 2021.10.0
* Tue Dec 14 2021 konglidong <[email protected]> - 2020.10.0-2
- delete %dist
* Tue Jan 26 2021 Zhenyu Zheng <[email protected]> - 2020.10.0-1
- Initial commit for openEuler
* Tue Jan 26 2021 Fedora Release Engineering <[email protected]> - 2020.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Nov 2 20:02:29 GMT 2020 Peter Robinson <[email protected]> - 2020.10.0-1
- Update to 2020.10.0
* Sat Aug 01 2020 Fedora Release Engineering <[email protected]> - 2020.04.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 2020.04.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun May 10 2020 Peter Robinson <[email protected]> - 2020.04.0-1
- Update to 2020.04.0
* Thu Mar 05 2020 Peter Robinson <[email protected]> - 2020.01.0-1
- Update to 2020.01.0
* Wed Jan 29 2020 Fedora Release Engineering <[email protected]> - 2018.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <[email protected]> - 2018.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <[email protected]> - 2018.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 21 2019 Peter Robinson <[email protected]> 2018.10-1
- Update to 2018.10 release
* Sun Oct 14 2018 Peter Robinson <[email protected]> 2018.04-1
- Update to 2018.04 release
* Fri Jul 13 2018 Fedora Release Engineering <[email protected]> - 2017.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Feb 20 2018 Jared Smith <[email protected]> - 2017.10-4
- Add patch to build on other arches
* Mon Feb 19 2018 Jared Smith <[email protected]> - 2017.10-3
- Make -doc subpackage a noarch package
* Sat Feb 17 2018 Jared Smith <[email protected]> - 2017.10-2
- Fix up issues identified in package review
* Tue Feb 13 2018 Jared K. Smith <[email protected]> - 2017.10-1
- Initial packaging
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/saarloos/libmetal.git
[email protected]:saarloos/libmetal.git
saarloos
libmetal
libmetal
master

搜索帮助