diff --git a/gnome-contacts-3.38.1.tar.xz b/gnome-contacts-3.38.1.tar.xz deleted file mode 100644 index b14c3d0..0000000 Binary files a/gnome-contacts-3.38.1.tar.xz and /dev/null differ diff --git a/gnome-contacts-42.0.tar.xz b/gnome-contacts-42.0.tar.xz new file mode 100644 index 0000000..e87afb8 Binary files /dev/null and b/gnome-contacts-42.0.tar.xz differ diff --git a/gnome-contacts.spec b/gnome-contacts.spec index 780be22..f31437c 100644 --- a/gnome-contacts.spec +++ b/gnome-contacts.spec @@ -1,56 +1,62 @@ +%global gtk4_version 4.6 + Name: gnome-contacts -Version: 3.38.1 +Version: 42.0 Release: 1 Summary: Integrated address book for GNOME License: GPLv2+ URL: https://wiki.gnome.org/Apps/Contacts -Source0: https://download.gnome.org/sources/gnome-contacts/3.38/gnome-contacts-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz + BuildRequires: desktop-file-utils docbook-dtds docbook-style-xsl gettext meson vala libappstream-glib -BuildRequires: libxslt pkgconfig(cheese-gtk) pkgconfig(folks) >= 0.11.4 pkgconfig(folks-eds) -BuildRequires: pkgconfig(folks-telepathy) pkgconfig(gee-0.8) pkgconfig(gnome-desktop-3.0) pkgconfig(goa-1.0) -BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-3.0) >= 3.23.1 pkgconfig(libhandy-1) -Requires: folks >= 1:0.11.4 gtk3 >= 3.23.1 hicolor-icon-theme +BuildRequires: libxslt pkgconfig(folks) >= 0.11.4 pkgconfig(folks-eds) +BuildRequires: pkgconfig(folks-telepathy) pkgconfig(gee-0.8) pkgconfig(goa-1.0) pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(libportal) +BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} + +Requires: folks >= 1:0.11.4 gtk4%{?_isa} >= %{gtk4_version} hicolor-icon-theme %description Contacts is GNOME's integrated address book. It is written in Vala and uses libfolks (also written in Vala) and Evolution Data Server. -%package help -Summary: Documentation for gnome-contacts -BuildArch: noarch -Requires: gnome-contacts = %{version}-%{release} - -%description help -Documentation for gnome-contacts. +%package_help %prep -%autosetup -n gnome-contacts-%{version} +%autosetup -n %{name}-%{version} + %build %meson %meson_build + %install %meson_install -%find_lang gnome-contacts +%find_lang %{name} + %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.Contacts.appdata.xml desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.Contacts.desktop -%files -f gnome-contacts.lang -%doc AUTHORS NEWS COPYING +%files -f %{name}.lang +%license COPYING %{_bindir}/gnome-contacts %{_libexecdir}/gnome-contacts-search-provider %{_datadir}/applications/org.gnome.Contacts.desktop -%{_datadir}/dbus-1/services/{org.gnome.Contacts.service,org.gnome.Contacts.SearchProvider.service} +%{_datadir}/dbus-1/services/org.gnome.Contacts.service +%{_datadir}/dbus-1/services/org.gnome.Contacts.SearchProvider.service %{_datadir}/glib-2.0/schemas/org.gnome.Contacts.gschema.xml %{_datadir}/gnome-shell/search-providers/org.gnome.Contacts.search-provider.ini -%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Contacts*.svg -%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Contacts-symbolic.svg +%{_datadir}/icons/hicolor/*/apps/org.gnome.Contacts*.svg %{_datadir}/metainfo/org.gnome.Contacts.appdata.xml %files help +%doc NEWS %{_mandir}/man1/gnome-contacts.1* %changelog +* Mon Mar 28 2022 lin zhang - 42.0-1 +- Update to 42.0 + * Wed Jun 16 2021 weijin deng - 3.38.1-1 - Upgrade to 3.38.1