Name: digikam Summary: A digital camera accessing & photo management application Version: 7.9.0 Release: 1 License: GPLv2+ URL: http://www.digikam.org/ Source0: http://download.kde.org/stable/digikam/%{version}/digiKam-%{version}.tar.xz BuildRequires: boost-devel BuildRequires: eigen3-devel BuildRequires: desktop-file-utils BuildRequires: doxygen BuildRequires: extra-cmake-modules BuildRequires: gettext BuildRequires: gcc-c++ BuildRequires: ImageMagick-devel BuildRequires: ImageMagick-c++-devel >= 6.7 BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: marble-astro-devel BuildRequires: marble-widget-qt5-devel BuildRequires: perl-generators BuildRequires: pkgconfig(exiv2) >= 0.26 BuildRequires: pkgconfig(glib-2.0) # openEuler droped support # so we use openjpeg2 #BuildRequires: pkgconfig(jasper) BuildRequires: openjpeg2-devel BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libgphoto2_port) pkgconfig(libusb-1.0) pkgconfig(libusb) BuildRequires: pkgconfig(libpng) >= 1.2.7 BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5XmlPatterns) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5WebKit) BuildRequires: pkgconfig(x11) pkgconfig(xproto) %if 0%{?qt5_qtwebengine_arches:1} %ifarch %{?qt5_qtwebengine_arches} %global qwebengine 1 BuildRequires: cmake(KF5AkonadiContact) BuildRequires: pkgconfig(Qt5WebEngine) %else BuildRequires: pkgconfig(Qt5WebKit) %endif %endif BuildRequires: kf5-libksane-devel >= 16.03 BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kdoctools-devel BuildRequires: kf5-kfilemetadata-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: kf5-kxmlgui-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kitemmodels-devel BuildRequires: kf5-kio-devel BuildRequires: kf5-kservice-devel BuildRequires: kf5-kiconthemes-devel BuildRequires: kf5-karchive-devel BuildRequires: kf5-threadweaver-devel BuildRequires: kf5-kcoreaddons-devel BuildRequires: kf5-knotifyconfig-devel BuildRequires: kf5-knotifications-devel BuildRequires: kf5-solid-devel BuildRequires: kf5-kitemviews-devel BuildRequires: kf5-kbookmarks-devel BuildRequires: kf5-rpm-macros BuildRequires: expat-devel BuildRequires: pkgconfig(libxslt) BuildRequires: opencv >= 3.3 # Panorama plugin BuildRequires: flex BuildRequires: bison BuildRequires: pkgconfig(lensfun) >= 0.2.6 BuildRequires: pkgconfig(lqr-1) BuildRequires: pkgconfig(libpgf) >= 6.12.24 Requires: %{name}-libs%{?_isa} = %{version}-%{release} Recommends: %{name}-doc = %{version}-%{release} Recommends: hugin-base Recommends: kio-extras Recommends: qt5-qtbase-mysql%{?_isa} Recommends: qt5-qtimageformats%{?_isa} Provides: bundled(LibRaw) = 0.18.5 %description digiKam is an easy to use and powerful digital photo management application, which makes importing, organizing and manipulating digital photos a "snap". An easy to use interface is provided to connect to your digital camera, preview the images and download and/or delete them. digiKam built-in image editor makes the common photo correction a simple task. %package libs Summary: Runtime libraries for %{name} Recommends: %{name} = %{version}-%{release} %description libs %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel This package contains the libraries, include files and other resources needed to develop applications using %{name}. %package doc Summary: Application handbooks Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc %{summary}. %prep %autosetup -n %{name}-%{version}%{?beta:-%{beta}} -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. \ -DENABLE_AKONADICONTACTSUPPORT:BOOL=ON \ -DENABLE_APPSTYLES:BOOL=ON \ -DENABLE_KFILEMETADATASUPPORT:BOOL=ON \ -DENABLE_MEDIAPLAYER:BOOL=OFF \ -DENABLE_MYSQLSUPPORT:BOOL=ON \ -DENABLE_INTERNALMYSQL:BOOL=ON \ -DENABLE_QWEBENGINE:BOOL=%{?qwebengine:ON}%{!?qwebengine:OFF} popd %make_build -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang all --all-name --with-html || touch all.lang grep digikam.mo all.lang > digikam.lang ||: grep HTML all.lang > digikam-doc.lang ||: grep kipiplugin all.lang > kipiplugin.lang ||: rm -fv %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/libkvkontakte.mo %check for i in %{buildroot}%{_kf5_datadir}/applications/*.desktop ; do desktop-file-validate $i ||: done %files -f digikam.lang %doc AUTHORS ChangeLog %doc NEWS README.md %license COPYING %{_kf5_bindir}/digikam %{_kf5_bindir}/digitaglinktree %{_kf5_bindir}/cleanup_digikamdb %{_kf5_bindir}/showfoto %{_kf5_datadir}/kxmlgui5/digikam/ %{_kf5_datadir}/kxmlgui5/showfoto/ %{_kf5_datadir}/knotifications5/digikam.notifyrc %{_kf5_datadir}/digikam/ %{_kf5_datadir}/showfoto/ %{_kf5_datadir}/solid/actions/digikam*.desktop %{_kf5_metainfodir}/org.kde.digikam.appdata.xml %{_kf5_metainfodir}/org.kde.showfoto.appdata.xml %{_kf5_datadir}/applications/org.kde.digikam.desktop %{_kf5_datadir}/applications/org.kde.showfoto.desktop %{_mandir}/man1/digitaglinktree.1* %{_mandir}/man1/cleanup_digikamdb.1* %{_kf5_datadir}/icons/hicolor/*/*/* %files doc %ldconfig_scriptlets libs %files libs %{_kf5_libdir}/libdigikamcore.so.* %{_kf5_libdir}/libdigikamdatabase.so.* %{_kf5_libdir}/libdigikamgui.so.* %{_kf5_qtplugindir}/digikam/ %files devel %{_kf5_libdir}/libdigikamcore.so %{_kf5_libdir}/libdigikamdatabase.so %{_kf5_libdir}/libdigikamgui.so %{_kf5_libdir}/cmake/Digikam*/ %{_includedir}/digikam/ %changelog * Fri Dec 16 2022 misaka00251 - 7.9.0-1 - Init package