Accepting request 284510 from multimedia:color_management

1

OBS-URL: https://build.opensuse.org/request/show/284510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/argyllcms?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2015-02-11 15:31:07 +00:00 committed by Git OBS Bridge
commit e729902b4c
2 changed files with 22 additions and 3 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Feb 4 10:23:32 UTC 2015 - fcrozat@suse.com
- Add argyllcms.changes to Source, used to compute timestamp
- Use a stable timestamp for generated files (boo#916158), ensuring
build is reproducible.
-------------------------------------------------------------------
Mon Jan 26 09:46:09 UTC 2015 - fcrozat@suse.com
- Move reference files to /usr/share/argyll/ref, expected path from
gnome-color-manager (bsc#914679).
-------------------------------------------------------------------
Fri Jan 31 14:35:20 UTC 2014 - fcrozat@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package argyllcms
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -37,6 +37,7 @@ Source0: %{url}%{archivename}
Source1: 19-color.fdi
Source2: color-device-file.policy
Source3: ajam-2.5.2-1.3.3.tgz
Source99: argyllcms.changes
# drop udev-acl stuff, handled by udev directly (Mandriva)
Patch5: argyllcms-udev151.patch
Patch7: ajam-include.patch
@ -137,13 +138,18 @@ echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXd
rm bin/License.txt
mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_datadir}/color/argyll}
mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_datadir}/color/argyll/ref}
install -m 0755 -D bin/* $RPM_BUILD_ROOT/%{_bindir}
install -m 0644 -D ref/* $RPM_BUILD_ROOT/%{_datadir}/color/argyll
install -m 0644 -D ref/* %{buildroot}/%{_datadir}/color/argyll/ref
rm -f $RPM_BUILD_ROOT/%{_datadir}/color/argyll/License.txt
# ensure timestamp is shipped files is not changing for each rebuild (boo#916158)
TIMESTAMP=$(LC_ALL=C date -r %{SOURCE99} +%c)
sed -i -e 's/^CREATED .*/CREATED "$TIMESTAMP"/g' %{buildroot}%{_datadir}/color/argyll/ref/RefMediumGamut.gam
%if 0%{?suse_version} < 1120
# Do some device permission magic
install -d -m 0755 %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/