gnome-connections/gnome-connections.spec

150 lines
5.0 KiB
RPMSpec
Raw Normal View History

# Exclude private libraries from autogenerated provides and requires
%global __provides_exclude_from ^%{_libdir}/gnome-connections/
%global __requires_exclude ^(%%(find %{buildroot}%{_libdir}/gnome-connections/ -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
%global tarball_version %%(echo %{version} | tr '~' '.')
%global url_ver %%(echo %{version} | cut -d. -f1)
Name: gnome-connections
Version: 42.1
2022-03-21 13:47:01 +00:00
Release: 1%{?dist}
Summary: A remote desktop client for the GNOME desktop environment
License: GPLv3+
URL: https://gitlab.gnome.org/gnome/connections/-/wikis/home
Source0: https://download.gnome.org/sources/gnome-connections/%{url_ver}/gnome-connections-%{tarball_version}.tar.xz
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
BuildRequires: yelp-tools
BuildRequires: pkgconfig(freerdp2)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk-vnc-2.0)
2022-03-21 13:47:01 +00:00
BuildRequires: pkgconfig(gvncpulse-1.0)
2021-08-23 07:24:37 +00:00
BuildRequires: pkgconfig(libhandy-1)
2022-03-21 13:47:01 +00:00
BuildRequires: pkgconfig(libsecret-1)
Requires: hicolor-icon-theme
# Renamed from connections to gnome-connections in F34
Obsoletes: connections < 40.0-2
Provides: connections = %{version}-%{release}
# Remotely EOL and replaced by GNOME Connections.
# https://bugzilla.redhat.com/show_bug.cgi?id=1957981
%if 0%{?fedora} >= 35
Obsoletes: remotely < 1.0-6
%endif
Provides: bundled(gtk-frdp)
%description
Connections is a remote desktop client for the GNOME desktop environment.
%prep
%autosetup -p1 -n gnome-connections-%{tarball_version}
%build
%meson
%meson_build
%install
%meson_install
%find_lang gnome-connections --with-gnome
# Remove unneeded development files
rm -rf %{buildroot}%{_includedir}/gnome-connections/
rm -rf %{buildroot}%{_libdir}/gnome-connections/girepository-1.0/
rm -rf %{buildroot}%{_libdir}/gnome-connections/pkgconfig/
rm -rf %{buildroot}%{_datadir}/gnome-connections/gir-1.0/
rm -rf %{buildroot}%{_datadir}/gnome-connections/vapi/
%check
2021-08-23 07:24:37 +00:00
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Connections.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Connections.desktop
%files -f gnome-connections.lang
%license COPYING
%doc README.md NEWS
%{_bindir}/gnome-connections
%{_libdir}/gnome-connections/
%{_datadir}/applications/org.gnome.Connections.desktop
%{_datadir}/dbus-1/services/org.gnome.Connections.service
%{_datadir}/glib-2.0/schemas/org.gnome.Connections.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Connections.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Connections-symbolic.svg
2021-08-23 07:24:37 +00:00
%{_datadir}/metainfo/org.gnome.Connections.appdata.xml
%{_datadir}/mime/packages/org.gnome.Connections.xml
%changelog
* Tue Apr 05 2022 Felipe Borges <feborges@redhat.com> - 42.1-1
- Update to 42.1
rhbz#2068015
2022-03-21 13:47:01 +00:00
* Mon Mar 21 2022 David King <amigadave@amigadave.com> - 42.0-1
- Update to 42.0
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 41.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-12-07 14:04:47 +00:00
* Tue Dec 07 2021 Kalev Lember <klember@redhat.com> - 41.2-1
- Update to 41.2
2021-10-27 20:51:26 +00:00
* Wed Oct 27 2021 Kalev Lember <klember@redhat.com> - 41.1-1
- Update to 41.1
2021-09-17 12:34:30 +00:00
* Fri Sep 17 2021 Kalev Lember <klember@redhat.com> - 41.0-1
- Update to 41.0
2021-09-08 20:09:57 +00:00
* Wed Sep 08 2021 Kalev Lember <klember@redhat.com> - 41~rc-1
- Update to 41.rc
2021-08-23 07:24:37 +00:00
* Mon Aug 23 2021 Kalev Lember <klember@redhat.com> - 41~beta-1
- Update to 41.beta
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 40.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu May 20 2021 Felipe Borges <feborges@redhat.com> - 40.0.1-4
- Add missing bundled provides
* Mon May 10 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 40.0.1-3
- build: Replace Remotely due EOL with GNOME Connections for f35 | rh#1957981
2021-04-16 09:34:03 +00:00
* Fri Apr 16 2021 Simone Caronni <negativo17@gmail.com> - 40.0.1-2
- Rebuild for updated FreeRDP.
2021-04-15 10:51:22 +00:00
* Thu Apr 15 2021 Felipe Borges <feborges@redhat.com> - 40.0.1-1
- Fix DBus activation
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-2
- Rename from connections to gnome-connections
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1
- Update to 40.0
- Require hicolor-icon-theme for icon directories rather than adwaita
- Use https source URL
- Validate appdata file
- Filter private libraries
- Don't install various development files
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Oct 20 2020 Kalev Lember <klember@redhat.com> - 3.38.1-1
- Update to 3.38.1
* Mon Sep 14 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
- Update to 3.38.0
* Thu Sep 10 2020 Felipe Borges <feborges@redhat.com> - 3.37.91-1
- Update to 3.37.91
* Mon Aug 10 2020 Felipe Borges <feborges@redhat.com> - 3.37.90-1
- Initial import