From e2e0fbb296f8e196e3736c2ef4cc38c6a71623bccaaab0a30a8e8dd8ac0876ce Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 19 Jul 2018 20:56:35 +0000 Subject: [PATCH] Accepting request 623943 from graphics OBS-URL: https://build.opensuse.org/request/show/623943 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=74 --- darktable.changes | 7 +++++++ darktable.spec | 38 ++++++++++++++++++-------------------- 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/darktable.changes b/darktable.changes index 2e98b7b..60860d4 100644 --- a/darktable.changes +++ b/darktable.changes @@ -46,6 +46,13 @@ Tue Jun 5 22:41:09 UTC 2018 - mrueckert@suse.de - Russian - drop 887d55c.patch +------------------------------------------------------------------- +Mon Apr 30 18:30:47 UTC 2018 - jengelh@inai.de + +- Remove idempotent %if..%endif guards. +- Avoid bashisms in scriptlets. +- Do not let the description assume any specific use context. + ------------------------------------------------------------------- Fri Apr 27 11:51:22 UTC 2018 - mrueckert@suse.de diff --git a/darktable.spec b/darktable.spec index 334f4a0..2a48b77 100644 --- a/darktable.spec +++ b/darktable.spec @@ -155,10 +155,9 @@ Group: Productivity/Graphics/Viewers %description darktable is a virtual lighttable and darkroom for photographers: it manages -your digital negatives in a database and lets you view them through a zoomable -lighttable. it also enables you to develop raw images and enhance them. +digital negatives in a database and can show them through a zoomable +lighttable. It also enables developing raw images and enhance them. -%if %{with basecurve_tool} %package tools-basecurve Summary: The basecurve tool from tools/basecurve/ Group: Productivity/Graphics/Viewers @@ -168,38 +167,37 @@ Requires: exiftool %description tools-basecurve darktable is a virtual lighttable and darkroom for photographers: it manages -your digital negatives in a database and lets you view them through a zoomable -lighttable. it also enables you to develop raw images and enhance them. +digital negatives in a database and can show them through a zoomable +lighttable. It also enables developing raw images and enhance them. This package provides the basecurve tool from tools/basecurve/. Another option to solve the same problem might be the darktable-chart module from the darktable package. -%endif %package tools-noise -Summary: The noise profiling tools to support new cameras +Summary: Noise profiling tools to support new cameras Group: Productivity/Graphics/Viewers Requires: /usr/bin/convert Requires: gnuplot %description tools-noise darktable is a virtual lighttable and darkroom for photographers: it manages -your digital negatives in a database and lets you view them through a zoomable -lighttable. it also enables you to develop raw images and enhance them. +digital negatives in a database and can show them through a zoomable +lighttable. It also enables developing raw images and enhance them. This package provides the noise profiling tools to add support for new cameras. %package doc -Summary: A virtual Lighttable and Darkroom -Group: Productivity/Graphics/Viewers +Summary: Documentation for Darktable +Group: Documentation/PDF BuildArch: noarch %description doc darktable is a virtual lighttable and darkroom for photographers: it manages -your digital negatives in a database and lets you view them through a zoomable -lighttable. it also enables you to develop raw images and enhance them. +digital negatives in a database and can show them through a zoomable +lighttable. It also enables developing raw images and enhance them. -This package provides the user manual in pdf format +This package provides the user manual in PDF format. %prep %setup -q -n %{name}-%{version} @@ -319,7 +317,7 @@ install -D -m 0644 tools/basecurve/README.md \ %{buildroot}%{_defaultdocdir}/%{pkg_name}/README.tools.basecurve.md %endif -%fdupes %{buildroot} +%fdupes %{buildroot}/%{_prefix} %if 0%{?suse_version} # on newer distros it is handled via file trigger @@ -334,17 +332,17 @@ install -D -m 0644 tools/basecurve/README.md \ %endif %else %post -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || : %postun -update-desktop-database &> /dev/null || : +update-desktop-database >/dev/null 2>/dev/null || : if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || : fi %posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || : %endif %files -f darktable.lang