Blame SPECS/gnome-connections.spec

a148ea
# Exclude private libraries from autogenerated provides and requires
a148ea
%global __provides_exclude_from ^%{_libdir}/gnome-connections/
a148ea
%global __requires_exclude ^(%%(find %{buildroot}%{_libdir}/gnome-connections/ -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
a148ea
a148ea
%global tarball_version %%(echo %{version} | tr '~' '.')
a148ea
%global url_ver %%(echo %{version} | cut -d. -f1)
a148ea
a148ea
Name:       gnome-connections
a148ea
Version:    41.2
a148ea
Release:    1%{?dist}
a148ea
Summary:    A remote desktop client for the GNOME desktop environment
a148ea
a148ea
License:    GPLv3+
a148ea
URL:        https://gitlab.gnome.org/gnome/connections/-/wikis/home
a148ea
Source0:    https://download.gnome.org/sources/gnome-connections/%{url_ver}/gnome-connections-%{tarball_version}.tar.xz
a148ea
a148ea
BuildRequires:  desktop-file-utils
a148ea
BuildRequires:  gcc
a148ea
BuildRequires:  gettext
a148ea
BuildRequires:  libappstream-glib
a148ea
BuildRequires:  meson
a148ea
BuildRequires:  vala
a148ea
BuildRequires:  yelp-tools
a148ea
BuildRequires:  pkgconfig(freerdp2)
a148ea
BuildRequires:  pkgconfig(glib-2.0)
a148ea
BuildRequires:  pkgconfig(gtk+-3.0)
a148ea
BuildRequires:  pkgconfig(gtk-vnc-2.0)
a148ea
BuildRequires:  pkgconfig(libhandy-1)
a148ea
a148ea
Requires:       hicolor-icon-theme
a148ea
a148ea
# Renamed from connections to gnome-connections in F34
a148ea
Obsoletes:      connections < 40.0-2
a148ea
Provides:       connections = %{version}-%{release}
a148ea
a148ea
Provides: bundled(gtk-frdp)
a148ea
a148ea
%description
a148ea
Connections is a remote desktop client for the GNOME desktop environment.
a148ea
a148ea
%prep
a148ea
%autosetup -p1 -n gnome-connections-%{tarball_version}
a148ea
a148ea
%build
a148ea
%meson
a148ea
%meson_build
a148ea
a148ea
%install
a148ea
%meson_install
a148ea
%find_lang gnome-connections --with-gnome
a148ea
a148ea
# Remove unneeded development files
a148ea
rm -rf %{buildroot}%{_includedir}/gnome-connections/
a148ea
rm -rf %{buildroot}%{_libdir}/gnome-connections/girepository-1.0/
a148ea
rm -rf %{buildroot}%{_libdir}/gnome-connections/pkgconfig/
a148ea
rm -rf %{buildroot}%{_datadir}/gnome-connections/gir-1.0/
a148ea
rm -rf %{buildroot}%{_datadir}/gnome-connections/vapi/
a148ea
a148ea
%check
a148ea
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Connections.appdata.xml
a148ea
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Connections.desktop
a148ea
a148ea
%files -f gnome-connections.lang
a148ea
%license COPYING
a148ea
%doc README.md NEWS
a148ea
%{_bindir}/gnome-connections
a148ea
%{_libdir}/gnome-connections/
a148ea
%{_datadir}/metainfo/org.gnome.Connections.appdata.xml
a148ea
%{_datadir}/applications/org.gnome.Connections.desktop
a148ea
%{_datadir}/dbus-1/services/org.gnome.Connections.service
a148ea
%{_datadir}/glib-2.0/schemas/org.gnome.Connections.gschema.xml
a148ea
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Connections.svg
a148ea
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Connections-symbolic.svg
a148ea
%{_datadir}/mime/packages/org.gnome.Connections.xml
a148ea
a148ea
%changelog
a148ea
* Wed Jan 05 2022 Felipe Borges <feborges@redhat.com> - 41.2-1
a148ea
- Update to 41.2
a148ea
  Related: rhbz#2031651
a148ea
a148ea
* Thu Aug 19 2021 Felipe Borges <feborges@redhat.com> - 41.beta-2
a148ea
- Add libhandy-1 dependency
a148ea
  Related: rhbz#1995538
a148ea
a148ea
* Mon Aug 16 2021 Felipe Borges <feborges@redhat.com> - 41.beta-1
a148ea
- Update to 41.beta
a148ea
  Related: rhbz#1993979
a148ea
a148ea
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-8
a148ea
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
a148ea
  Related: rhbz#1991688
a148ea
a148ea
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-7
a148ea
- Rebuilt for RHEL 9 BETA for openssl 3.0
a148ea
  Related: rhbz#1971065
a148ea
a148ea
* Thu May 20 2021 Felipe Borges <feborges@redhat.com> - 40.0-6
a148ea
- Add missing bundled provides
a148ea
a148ea
* Mon May 17 2021 Ondrej Holy <oholy@redhat.com> - 40.0-5
a148ea
- Rebuild for updated FreeRDP (#1951123).
a148ea
a148ea
* Wed Apr 21 2021 Felipe Borges <feborges@redhat.com> - 40.0-4
a148ea
- Fix regression with DBus activation. Related: rhbz#1951128
a148ea
a148ea
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-3
a148ea
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
a148ea
a148ea
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-2
a148ea
- Rename from connections to gnome-connections
a148ea
a148ea
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1
a148ea
- Update to 40.0
a148ea
- Require hicolor-icon-theme for icon directories rather than adwaita
a148ea
- Use https source URL
a148ea
- Validate appdata file
a148ea
- Filter private libraries
a148ea
- Don't install various development files
a148ea
a148ea
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.1-2
a148ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a148ea
a148ea
* Tue Oct 20 2020 Kalev Lember <klember@redhat.com> - 3.38.1-1
a148ea
- Update to 3.38.1
a148ea
a148ea
* Mon Sep 14 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
a148ea
- Update to 3.38.0
a148ea
a148ea
* Thu Sep 10 2020 Felipe Borges <feborges@redhat.com> - 3.37.91-1
a148ea
- Update to 3.37.91
a148ea
a148ea
* Mon Aug 10 2020 Felipe Borges <feborges@redhat.com> - 3.37.90-1
a148ea
- Initial import