9 Star 0 Fork 1

src-openEuler/libzen

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libzen.spec 2.63 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-12-12 19:01 . adopt to new cmake macro
Name: libzen
Version: 0.4.41
Release: 3
Summary: Shared library for libmediainfo and medianfo*
Summary(ru): Разделяемая библиотека для libmediainfo и medianfo*
License: zlib
URL: https://github.com/MediaArea/ZenLib
Source0: https://mediaarea.net/download/source/%{name}/%{version}/%{name}_%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: doxygen
BuildRequires: cmake
BuildRequires: pkgconfig(zlib)
%description
Files shared library for libmediainfo and medianfo-*.
%description -l ru
Файлы разделяемой библиотеки для libmediainfo и medianfo-*.
%package help
Summary: Documentation for %{name}
Summary(ru): Пакет с документацией для %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description help
Documentation files.
%description help -l ru
Файлы документации %{name}.
%package devel
Summary: Include files and mandatory libraries for development
Summary(ru): Пакет с файлами для разработки %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Include files and mandatory libraries for development.
%description devel -l ru
Файлы для разработки %{name}.
%prep
%autosetup -n ZenLib
#Correct documentation encoding and permissions
sed -i 's/.$//' *.txt
chmod 644 *.txt Source/Doc/Documentation.html
chmod 644 Source/ZenLib/*.h Source/ZenLib/*.cpp \
Source/ZenLib/Format/Html/*.h Source/ZenLib/Format/Html/*.cpp \
Source/ZenLib/Format/Http/*.h Source/ZenLib/Format/Http/*.cpp
%build
#Make documentation
pushd Source/Doc/
doxygen -u Doxyfile
doxygen Doxyfile
popd
cp Source/Doc/*.html ./
%cmake -S Project/CMake
%cmake_build
%install
%cmake_install
%files
%doc History.txt ReadMe.txt
%license License.txt
%{_libdir}/%{name}.so.*
%files help
%doc Documentation.html
%doc Doc
%files devel
%{_includedir}/ZenLib
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/cmake/zenlib/
%changelog
* Thu Dec 12 2024 Funda Wang <[email protected]> - 0.4.41-3
- adopt to new cmake macro
* Wed Nov 20 2024 Funda Wang <[email protected]> - 0.4.41-2
- adopt to new cmake macro
* Fri Aug 4 2023 zhangchenglin <[email protected]> - 0.4.41-1
- update to 0.4.41
* Tue Feb 21 2023 liweiganga <[email protected]> - 0.4.40-1
- upstream to 0.4.40
* Mon Nov 21 2022 liweiganga <[email protected]> - 0.4.39-1
- update to 0.4.39
* Fri Aug 7 2020 weidong <[email protected]> - 0.4.38-1
- Initial release for OpenEuler
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/libzen.git
[email protected]:src-openeuler/libzen.git
src-openeuler
libzen
libzen
master

搜索帮助