diff --git a/gnome-connections-42.0.tar.xz b/gnome-connections-42.0.tar.xz new file mode 100644 index 0000000..fc382a0 Binary files /dev/null and b/gnome-connections-42.0.tar.xz differ diff --git a/gnome-connections.spec b/gnome-connections.spec new file mode 100644 index 0000000..2760547 --- /dev/null +++ b/gnome-connections.spec @@ -0,0 +1,69 @@ +%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 url_ver %%(echo %{version} | cut -d. -f1) + +Name: gnome-connections +Version: 42.0 +Release: 1 +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-%{version}.tar.xz + +BuildRequires: gcc meson gettext vala yelp-tools +BuildRequires: libappstream-glib desktop-file-utils +BuildRequires: pkgconfig(freerdp2) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gtk-vnc-2.0) +BuildRequires: pkgconfig(gvncpulse-1.0) +BuildRequires: pkgconfig(libhandy-1) +BuildRequires: pkgconfig(libsecret-1) + +Requires: hicolor-icon-theme +Provides: connections = %{version}-%{release} +Provides: bundled(gtk-frdp) +Obsoletes: remotely < 1.0-6 + +%description +Connections is a remote desktop client for the GNOME desktop environment. + +%prep +%autosetup -p1 -n gnome-connections-%{version} + +%build +%meson +%meson_build + +%install +%meson_install +%find_lang gnome-connections --with-gnome + +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 +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 +%{_datadir}/metainfo/org.gnome.Connections.appdata.xml +%{_datadir}/mime/packages/org.gnome.Connections.xml + +%changelog +* Mon Mar 28 2022 lin zhang - 42.0-1 +- Initial packaging diff --git a/gnome-connections.yaml b/gnome-connections.yaml new file mode 100644 index 0000000..7b2ecd8 --- /dev/null +++ b/gnome-connections.yaml @@ -0,0 +1,4 @@ +version_control: gitlab.gnome +src_repo: gnome-connections +tag_prefix: ^v +seperator: .