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 - Russian
- drop 887d55c.patch - 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 Fri Apr 27 11:51:22 UTC 2018 - mrueckert@suse.de

View File

@ -155,10 +155,9 @@ Group: Productivity/Graphics/Viewers
%description %description
darktable is a virtual lighttable and darkroom for photographers: it manages 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 digital negatives in a database and can show them through a zoomable
lighttable. it also enables you to develop raw images and enhance them. lighttable. It also enables developing raw images and enhance them.
%if %{with basecurve_tool}
%package tools-basecurve %package tools-basecurve
Summary: The basecurve tool from tools/basecurve/ Summary: The basecurve tool from tools/basecurve/
Group: Productivity/Graphics/Viewers Group: Productivity/Graphics/Viewers
@ -168,38 +167,37 @@ Requires: exiftool
%description tools-basecurve %description tools-basecurve
darktable is a virtual lighttable and darkroom for photographers: it manages 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 digital negatives in a database and can show them through a zoomable
lighttable. it also enables you to develop raw images and enhance them. lighttable. It also enables developing raw images and enhance them.
This package provides the basecurve tool from tools/basecurve/. This package provides the basecurve tool from tools/basecurve/.
Another option to solve the same problem might be the darktable-chart module Another option to solve the same problem might be the darktable-chart module
from the darktable package. from the darktable package.
%endif
%package tools-noise %package tools-noise
Summary: The noise profiling tools to support new cameras Summary: Noise profiling tools to support new cameras
Group: Productivity/Graphics/Viewers Group: Productivity/Graphics/Viewers
Requires: /usr/bin/convert Requires: /usr/bin/convert
Requires: gnuplot Requires: gnuplot
%description tools-noise %description tools-noise
darktable is a virtual lighttable and darkroom for photographers: it manages 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 digital negatives in a database and can show them through a zoomable
lighttable. it also enables you to develop raw images and enhance them. lighttable. It also enables developing raw images and enhance them.
This package provides the noise profiling tools to add support for new cameras. This package provides the noise profiling tools to add support for new cameras.
%package doc %package doc
Summary: A virtual Lighttable and Darkroom Summary: Documentation for Darktable
Group: Productivity/Graphics/Viewers Group: Documentation/PDF
BuildArch: noarch BuildArch: noarch
%description doc %description doc
darktable is a virtual lighttable and darkroom for photographers: it manages 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 digital negatives in a database and can show them through a zoomable
lighttable. it also enables you to develop raw images and enhance them. 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 %prep
%setup -q -n %{name}-%{version} %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 %{buildroot}%{_defaultdocdir}/%{pkg_name}/README.tools.basecurve.md
%endif %endif
%fdupes %{buildroot} %fdupes %{buildroot}/%{_prefix}
%if 0%{?suse_version} %if 0%{?suse_version}
# on newer distros it is handled via file trigger # on newer distros it is handled via file trigger
@ -334,17 +332,17 @@ install -D -m 0644 tools/basecurve/README.md \
%endif %endif
%else %else
%post %post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || :
%postun %postun
update-desktop-database &> /dev/null || : update-desktop-database >/dev/null 2>/dev/null || :
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
touch --no-create %{_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 || : gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || :
fi fi
%posttrans %posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || :
%endif %endif
%files -f darktable.lang %files -f darktable.lang