2020-08-12 17:29:42 +08:00
|
|
|
|
Name: libzen
|
2023-08-04 09:41:24 +08:00
|
|
|
|
Version: 0.4.41
|
2020-08-12 17:29:42 +08:00
|
|
|
|
Release: 1
|
|
|
|
|
|
Summary: Shared library for libmediainfo and medianfo*
|
|
|
|
|
|
Summary(ru): Разделяемая библиотека для libmediainfo и medianfo*
|
|
|
|
|
|
|
|
|
|
|
|
License: zlib
|
|
|
|
|
|
URL: https://github.com/MediaArea/ZenLib
|
2022-11-21 10:27:25 +08:00
|
|
|
|
Source0: https://mediaarea.net/download/source/%{name}/%{version}/%{name}_%{version}.tar.gz
|
2020-08-12 17:29:42 +08:00
|
|
|
|
|
2022-11-21 10:27:25 +08:00
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
2020-08-12 17:29:42 +08:00
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
Files shared library for libmediainfo and medianfo-*.
|
|
|
|
|
|
|
|
|
|
|
|
%description -l ru
|
|
|
|
|
|
Файлы разделяемой библиотеки для libmediainfo и medianfo-*.
|
|
|
|
|
|
|
2020-08-14 18:24:47 +08:00
|
|
|
|
%package help
|
2020-08-12 17:29:42 +08:00
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
|
|
Summary(ru): Пакет с документацией для %{name}
|
2023-02-21 17:06:17 +08:00
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2020-08-12 17:29:42 +08:00
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
2020-08-14 18:24:47 +08:00
|
|
|
|
%description help
|
2020-08-12 17:29:42 +08:00
|
|
|
|
Documentation files.
|
|
|
|
|
|
|
2020-08-14 18:24:47 +08:00
|
|
|
|
%description help -l ru
|
2020-08-12 17:29:42 +08:00
|
|
|
|
Файлы документации %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
Summary: Include files and mandatory libraries for development
|
|
|
|
|
|
Summary(ru): Пакет с файлами для разработки %{name}
|
2022-11-21 10:27:25 +08:00
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2020-08-12 17:29:42 +08:00
|
|
|
|
|
|
|
|
|
|
%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 ./
|
|
|
|
|
|
|
|
|
|
|
|
mkdir Project/CMake/build
|
|
|
|
|
|
pushd Project/CMake/build
|
|
|
|
|
|
%cmake ..
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
pushd Project/CMake/build
|
|
|
|
|
|
%make_install
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
|
%doc History.txt ReadMe.txt
|
|
|
|
|
|
%license License.txt
|
|
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
|
|
2020-08-14 16:39:40 +08:00
|
|
|
|
%files help
|
2020-08-12 17:29:42 +08:00
|
|
|
|
%doc Documentation.html
|
|
|
|
|
|
%doc Doc
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
%{_includedir}/ZenLib
|
|
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
%{_libdir}/cmake/zenlib/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-08-04 09:41:24 +08:00
|
|
|
|
* Fri Aug 4 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 0.4.41-1
|
|
|
|
|
|
- update to 0.4.41
|
|
|
|
|
|
|
2023-02-21 17:06:17 +08:00
|
|
|
|
* Tue Feb 21 2023 liweiganga <liweiganga@uniontech.com> - 0.4.40-1
|
|
|
|
|
|
- upstream to 0.4.40
|
|
|
|
|
|
|
2022-11-21 10:27:25 +08:00
|
|
|
|
* Mon Nov 21 2022 liweiganga <liweiganga@uniontech.com> - 0.4.39-1
|
|
|
|
|
|
- update to 0.4.39
|
|
|
|
|
|
|
2020-08-12 17:29:42 +08:00
|
|
|
|
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 0.4.38-1
|
|
|
|
|
|
- Initial release for OpenEuler
|