diff --git a/grilo-0.3.13.tar.xz b/grilo-0.3.13.tar.xz new file mode 100644 index 0000000..2bc06bc Binary files /dev/null and b/grilo-0.3.13.tar.xz differ diff --git a/grilo-0.3.9.tar.gz b/grilo-0.3.9.tar.gz deleted file mode 100644 index a20c8c2..0000000 Binary files a/grilo-0.3.9.tar.gz and /dev/null differ diff --git a/grilo.spec b/grilo.spec index 8c510df..09fe1da 100644 --- a/grilo.spec +++ b/grilo.spec @@ -1,11 +1,14 @@ +# first two digits of version +%define release_version %(echo %{version} | awk -F. '{print $1"."$2}') + Name: grilo -Version: 0.3.9 -Release: 3 +Version: 0.3.13 +Release: 1 Summary: A framework for browsing and searching media content License: LGPLv2+ URL: https://wiki.gnome.org/Projects/Grilo -Source0: https://github.com/grilofw/grilo/archive/%{name}-%{version}.tar.gz +Source0: https://download.gnome.org/sources/grilo/%{release_version}/grilo-%{version}.tar.xz BuildRequires: chrpath glib2-devel gettext gobject-introspection-devel >= 0.9.0 BuildRequires: gtk-doc gtk3-devel liboauth-devel libsoup-devel libxml2-devel @@ -28,7 +31,6 @@ A flexible API that allows plugin developers to write plugins of various kinds. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} -Obsoletes: grilo-vala < 0.2.13 %description devel Libraries and header files are contained in %{name}-devel package. You need to @@ -38,7 +40,7 @@ install the %{name}-devel package if you want to develop applications that use %package_help %prep -%autosetup -n %{name}-%{name}-%{version} -p1 +%autosetup -p1 %build %meson -Denable-gtk-doc=true @@ -47,8 +49,8 @@ install the %{name}-devel package if you want to develop applications that use %install %meson_install -mkdir -p %{buildroot}%{_libdir}/grilo-0.3 -mkdir -p %{buildroot}%{_datadir}/grilo-0.3/plugins +mkdir -p %{buildroot}%{_libdir}/grilo-%{release_version}/ +mkdir -p %{buildroot}%{_datadir}/grilo-%{release_version}/plugins/ %find_lang grilo %ldconfig_scriptlets @@ -77,6 +79,9 @@ mkdir -p %{buildroot}%{_datadir}/grilo-0.3/plugins %{_datadir}/gtk-doc/html/grilo/ %changelog +* Tue Feb 2 2021 jinzhimin - 0.3.13-1 +- upgrade to 0.3.13 + * Thu Dec 31 2019 openEuler Buildteam - 0.3.9-3 - Type:bugfix - Id:NA diff --git a/grilo.yaml b/grilo.yaml index ed7f7f2..c04c8c7 100644 --- a/grilo.yaml +++ b/grilo.yaml @@ -1,4 +1,4 @@ -version_control: github -src_repo: grilofw/grilo -tag_prefix: ^v +version_control: gitlab.gnome +src_repo: grilo +tag_prefix: ^grilo- seperator: .