1
0
Dominique Leuenberger 2022-02-06 22:53:49 +00:00 committed by Git OBS Bridge
commit 7a2938b345
7 changed files with 63 additions and 9 deletions

21
_service Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnome-user-share.git</param>
<param name="revision">a89c973d</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">GNOME_USER_SHARE_(\d+)_(\d+)_(\d+)</param>
<param name="versionrewrite-replacement">\1.\2.\3</param>
<!--
<param name="changesgenerate">enable</param>
-->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33d273dd8d3ff6c600fc91fcc4e9098a2eee4c2eea1a52582d148ffed37b0653
size 801292

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d0c2a8eb4fcc4bff85c5edde9346ba6094e356921d2955f180d44b2d3642913
size 109560

View File

@ -0,0 +1,10 @@
--- orig-gnome-user-share-3.34.0/data/meson.build 2019-09-06 11:39:10.000000000 +0200
+++ gnome-user-share-3.34.0/data/meson.build 2022-02-01 22:27:25.258136738 +0100
@@ -7,7 +7,6 @@
)
i18n.merge_file(
- desktop,
type: 'desktop',
input: desktop_in,
output: '@BASENAME@',

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Feb 1 21:30:03 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.34.0+25:
+ build: correct gio_unix_dep use.
+ Updated translations.
- Switch to gitcheckout via source service, upstream is not making
releases, and we want the translations.
- Add gnome-user-share-fix-meson-0_61_0.patch: Fix build with meson
0.61.0 and newer.
- Drop update-desktop-files BuildRequires and its macro, no longer
needed.
- Stop removing non-existant la files, not built since the switch
to meson buildsystem.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 20 19:52:43 UTC 2021 - Stanislav Brabec <sbrabec@suse.com> Mon Sep 20 19:52:43 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>

4
gnome-user-share.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: gnome-user-share
version: 3.34.0+25
mtime: 1640234103
commit: a89c973d7db36938542325f77d81b73c32968e49

View File

@ -1,7 +1,7 @@
# #
# spec file for package gnome-user-share # spec file for package gnome-user-share
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,18 +17,21 @@
Name: gnome-user-share Name: gnome-user-share
Version: 3.34.0 Version: 3.34.0+25
Release: 0 Release: 0
Summary: GNOME user file sharing Summary: GNOME user file sharing
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Networking/File-Sharing Group: Productivity/Networking/File-Sharing
URL: http://www.gnome.org/ URL: http://www.gnome.org/
Source0: https://download.gnome.org/sources/gnome-user-share/3.34/%{name}-%{version}.tar.xz # Disable Source URL, use git checkout via service
# Source0: https://download.gnome.org/sources/gnome-user-share/3.34/%%{name}-%%{version}.tar.xz
Source0: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gnome-user-share-fix-meson-0_61_0.patch bjorn.lie@gmail.com -- Fix build with meson 0.61.0 and newer
Patch0: gnome-user-share-fix-meson-0_61_0.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: meson >= 0.50.0 BuildRequires: meson >= 0.50.0
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: yelp-tools BuildRequires: yelp-tools
BuildRequires: pkgconfig(glib-2.0) >= 2.58 BuildRequires: pkgconfig(glib-2.0) >= 2.58
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
@ -68,11 +71,12 @@ up in the Network location in GNOME.
%install %install
%meson_install %meson_install
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file gnome-user-share-webdav Network FileTransfer
%find_lang %{name} %{?no_lang_C} %find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_prefix} %fdupes %{buildroot}%{_prefix}
%check
%meson_test
%files %files
%license COPYING %license COPYING
%doc README NEWS %doc README NEWS