Accepting request 583525 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/583525
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord-gtk?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2018-03-09 10:00:55 +00:00 committed by Git OBS Bridge
parent 62e770458f
commit 2e3bd869a9
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:24:30 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Thu Apr 14 11:30:25 UTC 2016 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package colord-gtk
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,12 +20,13 @@ Name: colord-gtk
Version: 0.1.26
Release: 0
Summary: System Daemon for Managing Color Devices -- GTK Integration
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: System/Daemons
Url: http://colord.hughsie.com/
URL: http://colord.hughsie.com/
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: intltool >= 0.35.0
BuildRequires: pkgconfig
BuildRequires: vala
BuildRequires: xsltproc
BuildRequires: pkgconfig(colord) >= 0.1.27
@ -48,9 +49,9 @@ there are no users logged in.
Summary: System Daemon for Managing Color Devices -- GTK Integration Library
Group: System/Libraries
Recommends: %{name}-lang
Suggests: colord
# for the -lang package to be installable
Provides: %{name} = %{version}
Suggests: colord
%description -n libcolord-gtk1
colord is a system activated daemon that maps devices to color profiles.
@ -81,6 +82,7 @@ It is used by gnome-color-manager for system integration and use when
there are no users logged in.
%lang_package
%prep
%setup -q
@ -92,29 +94,24 @@ make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name '*.la' -delete -print
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name} %{?no_lang_C}
%post -n libcolord-gtk1 -p /sbin/ldconfig
%postun -n libcolord-gtk1 -p /sbin/ldconfig
%files lang -f %{name}.lang
%files
%defattr(-,root,root)
%{_bindir}/cd-convert
%files -n libcolord-gtk1
%defattr(-, root, root)
%{_libdir}/libcolord-gtk.so.*
%files -n typelib-1_0-ColordGtk-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/ColordGtk-1.0.typelib
%files -n libcolord-gtk-devel
%defattr(-, root, root)
%{_includedir}/colord-1/colord-gtk.h
%{_includedir}/colord-1/colord-gtk/
%{_libdir}/libcolord-gtk.so