Accepting request 927044 from GNOME:Next

- Update to version 0.2.0:
  + New Features:
    - Migrate to gettext
    - Port to DocBook 5
    - Port to the Meson build system
  + Bugfixes:
    - Do not leak plug_name
    - Fix gtk-doc build when srcdir != builddir
- Add meson BuildRequires and macros following upstreams port to
  meson buildsystem.
- Add gtk-doc and docbook5-xsl-stylesheets BuildRequires, build
  gtk-doc development documentation and manpages. Following this
  split out new -doc sub-package.
- Drop intltool, no longer needed.
- Package COPYING as license, as this was somehow missed in the
  past.
- Modernize spec/cleanup.

OBS-URL: https://build.opensuse.org/request/show/927044
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord-gtk?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2021-10-26 10:03:08 +00:00 committed by Git OBS Bridge
parent 1b1964881e
commit 36ca2f43f1
4 changed files with 56 additions and 17 deletions

View File

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

3
colord-gtk-0.2.0.tar.xz Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Oct 22 16:31:42 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.2.0:
+ New Features:
- Migrate to gettext
- Port to DocBook 5
- Port to the Meson build system
+ Bugfixes:
- Do not leak plug_name
- Fix gtk-doc build when srcdir != builddir
- Add meson BuildRequires and macros following upstreams port to
meson buildsystem.
- Add gtk-doc and docbook5-xsl-stylesheets BuildRequires, build
gtk-doc development documentation and manpages. Following this
split out new -doc sub-package.
- Drop intltool, no longer needed.
- Package COPYING as license, as this was somehow missed in the
past.
- Modernize spec/cleanup.
-------------------------------------------------------------------
Sat Jan 25 14:06:28 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package colord-gtk
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,20 +12,23 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: colord-gtk
Version: 0.1.26
Version: 0.2.0
Release: 0
Summary: System Daemon for Managing Color Devices -- GTK Integration
License: LGPL-2.1-or-later
Group: System/Daemons
URL: http://colord.hughsie.com/
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
URL: https://www.freedesktop.org/software/colord
Source0: %{url}/releases/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: intltool >= 0.35.0
BuildRequires: docbook5-xsl-stylesheets
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: vala
BuildRequires: xsltproc
@ -58,7 +61,7 @@ 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: System Daemon for Managing Color Devices -- GTK Integration Introspection bindings
Summary: GTK Integration Introspection bindings for colord-gtk
Group: System/Libraries
%description -n typelib-1_0-ColordGtk-1_0
@ -80,20 +83,28 @@ 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 doc
Summary: Development Documentation for colord-gtk
Group: Documentation/HTML
BuildArch: noarch
%description doc
This package contains development documentation for the colord-gtk packages.
%lang_package
%prep
%setup -q
%autosetup -p1
%build
%configure \
--disable-static \
--enable-vala
make %{?_smp_mflags}
%meson \
-Dvapi=true \
%{nil}
%meson_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%meson_install
%find_lang %{name} %{?no_lang_C}
%post -n libcolord-gtk1 -p /sbin/ldconfig
@ -103,8 +114,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files
%{_bindir}/cd-convert
%{_mandir}/man1/cd-convert.1%{ext_man}
%files -n libcolord-gtk1
%license COPYING
%{_libdir}/libcolord-gtk.so.*
%files -n typelib-1_0-ColordGtk-1_0
@ -117,5 +130,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/colord-gtk.pc
%{_datadir}/gir-1.0/ColordGtk-1.0.gir
%{_datadir}/vala/vapi/colord-gtk.vapi
%{_datadir}/vala/vapi/colord-gtk.deps
%files doc
%doc AUTHORS NEWS README
%{_datadir}/gtk-doc/html/%{name}
%changelog