Accepting request 284190 from home:fcrozat:branches:multimedia:color_management
- Add argyllcms.changes to Source, used to compute timestamp - Use a stable timestamp for generated files (boo#916158), ensuring build is reproducible. - Move reference files to /usr/share/argyll/ref, expected path from gnome-color-manager (bsc#914679). OBS-URL: https://build.opensuse.org/request/show/284190 OBS-URL: https://build.opensuse.org/package/show/multimedia:color_management/argyllcms?expand=0&rev=26
This commit is contained in:
parent
4878faf973
commit
897b2673fd
@ -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
|
Fri Jan 31 14:35:20 UTC 2014 - fcrozat@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package argyllcms
|
# 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
|
# 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
|
||||||
@ -37,6 +37,7 @@ Source0: %{url}%{archivename}
|
|||||||
Source1: 19-color.fdi
|
Source1: 19-color.fdi
|
||||||
Source2: color-device-file.policy
|
Source2: color-device-file.policy
|
||||||
Source3: ajam-2.5.2-1.3.3.tgz
|
Source3: ajam-2.5.2-1.3.3.tgz
|
||||||
|
Source99: argyllcms.changes
|
||||||
# drop udev-acl stuff, handled by udev directly (Mandriva)
|
# drop udev-acl stuff, handled by udev directly (Mandriva)
|
||||||
Patch5: argyllcms-udev151.patch
|
Patch5: argyllcms-udev151.patch
|
||||||
Patch7: ajam-include.patch
|
Patch7: ajam-include.patch
|
||||||
@ -137,13 +138,18 @@ echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXd
|
|||||||
|
|
||||||
rm bin/License.txt
|
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 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
|
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
|
%if 0%{?suse_version} < 1120
|
||||||
# Do some device permission magic
|
# Do some device permission magic
|
||||||
install -d -m 0755 %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/
|
install -d -m 0755 %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user