Accepting request 963978 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/963978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/colord-gtk?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2022-03-23 19:17:07 +00:00 committed by Git OBS Bridge
commit 9232ab061b
7 changed files with 77 additions and 8 deletions

21
_service Normal file
View File

@ -0,0 +1,21 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/hughsie/colord-gtk.git</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">COLORD_GTK_(\d+)_(\d+)_(\d+)(\+0)?(\+[1-9][0-9]*)?</param>
<param name="versionrewrite-replacement">\1.\2.\3\5</param>
<param name="changesgenerate">enable</param>
<param name="revision">c6fd5ab9bde0a23158f236a808722bacc661b57c</param>
<!--
<param name="revision">refs/tags/appstream_glib_0_7_18</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>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hughsie/colord-gtk.git</param>
<param name="changesrevision">c6fd5ab9bde0a23158f236a808722bacc661b57c</param></service></servicedata>

View File

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

View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Mar 22 11:09:45 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not build libcolord-gtk4-1-32bit: there is no consumer and so
far we avoid putting gtk4-32bit up.
-------------------------------------------------------------------
Tue Feb 15 20:51:48 UTC 2022 - bjorn.lie@gmail.com
- Update to version 0.2.0+8:
* trivial: Fix link to homepage
* trivial: Use the right vala package
* build: Make GTK3 build optional too
* Add a GTK4 variant
* build: Rename 'gtk' meson variable to 'gtk3'
* Make introspection optional in meson
* Update the example spec file
* trivial: post release version bump
- Switch to git checkout.
- Add pkgconfig(gtk4) BuildRequires: Build the new gtk4 support.
-------------------------------------------------------------------
Fri Oct 22 16:31:42 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

4
colord-gtk.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: colord-gtk
version: 0.2.0+8
mtime: 1640773658
commit: c6fd5ab9bde0a23158f236a808722bacc661b57c

View File

@ -1,7 +1,7 @@
#
# spec file for package colord-gtk
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,13 @@
Name: colord-gtk
Version: 0.2.0
Version: 0.2.0+8
Release: 0
Summary: System Daemon for Managing Color Devices -- GTK Integration
License: LGPL-2.1-or-later
Group: System/Daemons
URL: https://www.freedesktop.org/software/colord
Source0: %{url}/releases/%{name}-%{version}.tar.xz
Source: %{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: docbook5-xsl-stylesheets
@ -41,6 +41,7 @@ BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(lcms2) >= 2.2
%description
@ -60,6 +61,18 @@ colord is a system activated daemon that maps devices to color profiles.
It is used by gnome-color-manager for system integration and use when
there are no users logged in.
%package -n libcolord-gtk4-1
Summary: System Daemon for Managing Color Devices -- GTK Integration Library
Group: System/Libraries
Suggests: colord
# for the -lang package to be installable
#Provides: %%{name} = %%{version}
%description -n libcolord-gtk4-1
colord is a system activated daemon that maps devices to color profiles.
It is used by gnome-color-manager for system integration and use when
there are no users logged in.
%package -n typelib-1_0-ColordGtk-1_0
Summary: GTK Integration Introspection bindings for colord-gtk
Group: System/Libraries
@ -76,6 +89,7 @@ libcolord-gtk library.
Summary: System Daemon for Managing Color Devices -- GTK Integration Development Files
Group: Development/Languages/C and C++
Requires: libcolord-gtk1 = %{version}
Requires: libcolord-gtk4-1 = %{version}
Requires: typelib-1_0-ColordGtk-1_0 = %{version}
%description -n libcolord-gtk-devel
@ -107,8 +121,8 @@ This package contains development documentation for the colord-gtk packages.
%meson_install
%find_lang %{name} %{?no_lang_C}
%post -n libcolord-gtk1 -p /sbin/ldconfig
%postun -n libcolord-gtk1 -p /sbin/ldconfig
%ldconfig_scriptlets -n libcolord-gtk1
%ldconfig_scriptlets -n libcolord-gtk4-1
%files lang -f %{name}.lang
@ -120,6 +134,9 @@ This package contains development documentation for the colord-gtk packages.
%license COPYING
%{_libdir}/libcolord-gtk.so.*
%files -n libcolord-gtk4-1
%{_libdir}/libcolord-gtk4.so.*
%files -n typelib-1_0-ColordGtk-1_0
%{_libdir}/girepository-1.0/ColordGtk-1.0.typelib
@ -131,6 +148,8 @@ This package contains development documentation for the colord-gtk packages.
%{_datadir}/gir-1.0/ColordGtk-1.0.gir
%{_datadir}/vala/vapi/colord-gtk.vapi
%{_datadir}/vala/vapi/colord-gtk.deps
%{_libdir}/libcolord-gtk4.so
%{_libdir}/pkgconfig/colord-gtk4.pc
%files doc
%doc AUTHORS NEWS README