Package init
This commit is contained in:
commit
f20d4c9d29
BIN
libmediaart-1.9.4.tar.xz
Normal file
BIN
libmediaart-1.9.4.tar.xz
Normal file
Binary file not shown.
81
libmediaart.spec
Normal file
81
libmediaart.spec
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
Name: libmediaart
|
||||||
|
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
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
%description
|
||||||
|
The foundation for manaing, extracing and handling media art caches.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for libmediaart
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%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}%{?_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
|
||||||
|
%configure --disable-static --enable-gdkpixbuf --disable-qt --enable-installed-tests
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||||
|
mv COPYING.LESSER COPYING
|
||||||
|
|
||||||
|
%check
|
||||||
|
dbus-run-session -- make check
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc COPYING AUTHORS NEWS
|
||||||
|
%{_libdir}/libmediaart-2.0.so.*
|
||||||
|
%{_libdir}/girepository-1.0/MediaArt-2.0.typelib
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/libmediaart-2.0
|
||||||
|
%{_libdir}/pkgconfig/libmediaart-2.0.pc
|
||||||
|
%{_libdir}/libmediaart-2.0.so
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_datadir}/gtk-doc/html/libmediaart
|
||||||
|
%{_datadir}/vala/vapi/libmediaart-2.0.vapi
|
||||||
|
%{_datadir}/gir-1.0/MediaArt-2.0.gir
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%{_datadir}/installed-tests
|
||||||
|
%{_libexecdir}/installed-tests/libmediaart
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Sep 10 2019 Yiru Wang<wangyiru1@huawei.com> - 1.9.4-6
|
||||||
|
- Pakcage init
|
||||||
Loading…
x
Reference in New Issue
Block a user