Compare commits

..

No commits in common. "019c8530b7eff370ccdab023df1dae6bb736958f" and "f20d4c9d29ee8fa136aea7cb7a97a8c88782fd62" have entirely different histories.

5 changed files with 24 additions and 52 deletions

View File

@ -1,14 +0,0 @@
diff -Naur a/tests/mediaarttest.c b/tests/mediaarttest.c
--- a/tests/mediaarttest.c 2020-11-25 10:39:50.736000000 +0800
+++ b/tests/mediaarttest.c 2020-11-25 10:40:47.344000000 +0800
@@ -534,8 +534,8 @@
g_test_add_func ("/mediaart/location_null", test_mediaart_location_null);
g_test_add_func ("/mediaart/location_path", test_mediaart_location_path);
g_test_add_func ("/mediaart/process/new", test_mediaart_process_new);
- g_test_add_func ("/mediaart/process/file", test_mediaart_process_file);
- g_test_add_func ("/mediaart/process/buffer", test_mediaart_process_buffer);
+ //g_test_add_func ("/mediaart/process/file", test_mediaart_process_file);
+ //g_test_add_func ("/mediaart/process/buffer", test_mediaart_process_buffer);
g_test_add_func ("/mediaart/process/failures", test_mediaart_process_failures);
g_test_add_func ("/mediaart/process/failures/subprocess", test_mediaart_process_failures_subprocess);

BIN
libmediaart-1.9.4.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,17 +1,15 @@
Name: libmediaart
Version: 1.9.6
Release: 2
Version: 1.9.4
Release: 6
Summary: Library tasked with managing, extracting and handling media art caches
License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libmediaart
Source0: https://download.gnome.org/sources/%{name}/1.9/%{name}-%{version}.tar.xz
Patch0: fix_docker_environment_test_case_failed.patch
BuildRequires: pkgconfig(glib-2.0) pkgconfig(gio-2.0) pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(gdk-pixbuf-2.0)
BuildRequires: dbus vala vala-devel gdk-pixbuf2-modules
BuildRequires: gtk-doc meson
%description
The foundation for manaing, extracing and handling media art caches.
@ -19,41 +17,48 @@ The foundation for manaing, extracing and handling media art caches.
%package devel
Summary: Development files for libmediaart
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: libmediaart-tests
Obsoletes: libmediaart-tests
%description devel
The libmediaart-devel package is used for the development environment for the libmediaart project.
%package help
Summary: help document for libmediaart
Requires: %{name} = %{version}-%{release}
Buildarch: noarch
Requires: %{name}%{?_isa} = %{version}-%{release}
%description help
Help document for libmediaart
%package tests
Summary: Tests for the libmediaart package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The libmediaart-tests package contains tests that can be used to verify
the functionality of the installed libmediaart package.
%prep
%autosetup -p1
%build
%meson -Dimage_library=gdk-pixbuf -Dgtk_doc=true
%meson_build
%configure --disable-static --enable-gdkpixbuf --disable-qt --enable-installed-tests
%make_build
%install
%meson_install
%delete_la
%make_install
find $RPM_BUILD_ROOT -name '*.la' -delete
mv COPYING.LESSER COPYING
%check
%meson_test
dbus-run-session -- make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING NEWS
%doc COPYING AUTHORS NEWS
%{_libdir}/libmediaart-2.0.so.*
%{_libdir}/girepository-1.0/MediaArt-2.0.typelib
@ -65,27 +70,12 @@ mv COPYING.LESSER COPYING
%files help
%{_datadir}/gtk-doc/html/libmediaart
%{_datadir}/vala/vapi/libmediaart-2.0.vapi
%{_datadir}/vala/vapi/libmediaart-2.0.deps
%{_datadir}/gir-1.0/MediaArt-2.0.gir
%files tests
%{_datadir}/installed-tests
%{_libexecdir}/installed-tests/libmediaart
%changelog
* Tue Sep 24 2024 xu_ping <707078654@qq.com> - 1.9.6-2
- Added 'Buildarch: noarch' to the help subpackage.
* Mon Jun 13 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.9.6-1
- Update to 1.9.6
* Wed Nov 25 2020 hanhui<hanhui15@huawei.com> - 1.9.4-8
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix docker environment test cases failed
* Thu Dec 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.4-7
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the files of spec
* Tue Sep 10 2019 Yiru Wang<wangyiru1@huawei.com> - 1.9.4-6
- Pakcage init

View File

@ -1,4 +0,0 @@
version_control: git
src_repo: https://git.gnome.org/browse/libmediaart
tag_prefix: ^v
separator: .