X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdarktable.git;a=blobdiff_plain;f=darktable.spec;h=fa7da31c9e25f6b6bc773d74db15a8d598e33a82;hp=c17284ab57d2c2f5050f6946af247dad78a3a6dd;hb=HEAD;hpb=2b66b8ce9e566098c92943dbb08a26bd3b9aaf8a diff --git a/darktable.spec b/darktable.spec index c17284a..c6eeb77 100644 --- a/darktable.spec +++ b/darktable.spec @@ -8,28 +8,28 @@ Summary: darktable - a virtual lighttable and darkroom for photographers Summary(pl.UTF-8): darktable - wirtualny podświetlany stół i ciemnia dla fotografów Name: darktable -Version: 3.8.0 -Release: 4 +Version: 4.6.1 +Release: 2 License: GPL v3 Group: X11/Applications/Graphics Source0: https://github.com/darktable-org/darktable/releases/download/release-%{version}/%{name}-%{version}.tar.xz -# Source0-md5: 7164bb403ac9741e157d7763310c445a -Patch0: cmake-glib.patch +# Source0-md5: e46c3dc0cf649f8b3b73f55153aabe97 URL: https://www.darktable.org/ BuildRequires: GraphicsMagick-devel %{?with_opencl:BuildRequires: OpenCL-devel} -BuildRequires: OpenEXR-devel >= 2.0 +BuildRequires: OpenEXR-devel >= 3.0 BuildRequires: OpenGL-devel -BuildRequires: SDL-devel >= 1.2 +BuildRequires: SDL2-devel >= 2.0 BuildRequires: cairo-devel -BuildRequires: cmake >= 2.6 +BuildRequires: cmake >= 3.10 BuildRequires: colord-devel BuildRequires: colord-gtk-devel BuildRequires: cups-devel -BuildRequires: curl-devel >= 7.18.0 +BuildRequires: curl-devel >= 7.56.0 BuildRequires: dbus-glib-devel >= 0.80 BuildRequires: desktop-file-utils -BuildRequires: exiv2-devel >= 0.24 +BuildRequires: exiftool +BuildRequires: exiv2-devel >= 0.27.4 BuildRequires: flickcurl-devel BuildRequires: fop %{?with_openmp:BuildRequires: gcc-c++ >= 6:4.3} @@ -37,24 +37,30 @@ BuildRequires: gdk-pixbuf2-devel >= 2 %{?with_gegl:BuildRequires: gegl-devel} BuildRequires: gettext BuildRequires: gettext-tools -BuildRequires: glib2-devel >= 1:2.30 +BuildRequires: glib2-devel >= 1:2.40 BuildRequires: gnome-doc-utils -BuildRequires: gtk+3-devel >= 3.22 +BuildRequires: gtk+3-devel >= 3.24.15 BuildRequires: intltool BuildRequires: iso-codes >= 4.4 BuildRequires: json-glib-devel BuildRequires: lcms2-devel >= 2 BuildRequires: lensfun-devel +BuildRequires: libavif-devel >= 0.9.3 BuildRequires: libglade2-devel BuildRequires: libgnome-keyring-devel %{?with_openmp:BuildRequires: libgomp-devel} -BuildRequires: libgphoto2-devel >= 2.4.5 +BuildRequires: libgphoto2-devel >= 2.5 +BuildRequires: libheif-devel >= 1.16.0 +BuildRequires: libicu-devel BuildRequires: libjpeg-devel +BuildRequires: libjxl-devel >= 0.7.0 BuildRequires: libpng-devel BuildRequires: librsvg-devel >= 1:2.26 +BuildRequires: libsecret-devel BuildRequires: libsoup-devel >= 2 BuildRequires: libtiff-devel BuildRequires: libwebp-devel >= 0.3.0 +BuildRequires: libwebp-devel >= 0.3.0 BuildRequires: libxml2-devel >= 1:2.6 BuildRequires: libxml2-progs BuildRequires: libxslt-progs @@ -66,15 +72,17 @@ BuildRequires: perl-tools-pod BuildRequires: pkgconfig >= 1:0.22 BuildRequires: po4a BuildRequires: pugixml-devel >= 1.8 +BuildRequires: python3-jsonschema BuildRequires: sqlite3-devel >= 3.24 BuildRequires: squish-devel %{?with_vte:BuildRequires: vte-devel >= 0.26.0} Requires(post,postun): gtk-update-icon-cache Requires(post,postun): hicolor-icon-theme -Requires: curl >= 7.18.0 +Requires: curl >= 7.56 Requires: dbus-glib >= 0.80 +Requires: exiftool Requires: glib2 >= 1:2.30 -Requires: gtk+3 >= 3.22 +Requires: gtk+3 >= 3.24.15 Requires: openjpeg >= 1.5.0 %{?with_vte:Requires: vte >= 0.26.0} ExclusiveArch: %{x8664} @@ -88,7 +96,6 @@ darktable to wirtualny podświetlany stół i ciemnia dla fotografów. %prep %setup -q -%patch0 -p1 %build install -d build @@ -115,6 +122,8 @@ echo "%{_libdir}/%{name}" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}.conf %{__rm} -r $RPM_BUILD_ROOT%{_docdir} +%{__mv} $RPM_BUILD_ROOT%{_localedir}/{en@truecase,en} + %find_lang %{name} --with-gnome --with-omf %clean @@ -125,6 +134,18 @@ rm -rf $RPM_BUILD_ROOT %update_desktop_database_post %update_icon_cache hicolor +%banner %{name} -e << EOF +===================================================================== + +When updating from the stable 4.4.x series, please bear in mind that +your edits will be preserved during this process, but the new library +and configuration will no longer be usable with 4.4.x. + +You are strongly advised to take a backup first. + +===================================================================== +EOF + %postun /sbin/ldconfig %update_desktop_database_postun @@ -142,9 +163,9 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/darktable-generate-cache %attr(755,root,root) %{_bindir}/darktable-rs-identify /etc/ld.so.conf.d/%{name}.conf -%{_datadir}/metainfo/darktable.appdata.xml +%{_datadir}/metainfo/org.darktable.darktable.appdata.xml %{_datadir}/darktable -%{_desktopdir}/darktable.desktop +%{_desktopdir}/org.darktable.darktable.desktop %{_iconsdir}/hicolor/*/apps/darktable.png %{_iconsdir}/hicolor/scalable/apps/darktable*.svg %dir %{_libdir}/darktable