Dominique Leuenberger 2018-07-19 20:56:35 +00:00 committed by Git OBS Bridge
parent b76654ac01
commit e2e0fbb296
2 changed files with 25 additions and 20 deletions

View File

@ -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

View File

@ -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