]> git.pld-linux.org Git - packages/ka5-gwenview.git/blobdiff - ka5-gwenview.spec
- updated to 22.04.0
[packages/ka5-gwenview.git] / ka5-gwenview.spec
index 14a52eb24bd059a203ac7a3263f49a4da6b9c3f8..1838297fdc856c71b37536a00476708cb0e07cc9 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeappsver      21.04.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeappsver      22.04.0
 %define                kframever       5.56.0
 %define                qtver           5.9.0
 %define                kaname          gwenview
 Summary:       Simple image viewer
 Name:          ka5-%{kaname}
-Version:       21.04.0
+Version:       22.04.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: eceaaf5affdf12681cc9477f08e1eae5
+# Source0-md5: 258a7b1e080f098573324364452cfd97
 Patch0:                %{name}-exiv2.patch
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
@@ -45,6 +48,14 @@ easy navigation in your file hierarchy. Image loading is done by the
 Qt library, so it supports all image formats your Qt installation
 supports.
 
+%description -l pl.UTF-8
+Gwenview to przeglądarka obrazków dla KDE.
+
+Wyświetla ona drzewiastą strukturę folderów i okno z listą
+plików do łatwego nawigowania po hieracrchi plików. Ładowanie
+obrazków jest wykonywane przez bibliotę Qt, więc obsługiwane są
+wszystkie formaty obrazów, które wspiera Qt.
+
 %prep
 %setup -q -n %{kaname}-%{version}
 #%patch0
@@ -54,11 +65,17 @@ install -d build
 cd build
 %cmake \
        -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ..
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
@@ -93,3 +110,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_datadir}/kconf_update/gwenview-imageview-alphabackgroundmode-update.pl
 %{_datadir}/kconf_update/gwenview.upd
 %{_libdir}/qt5/plugins/kf5/kfileitemaction/slideshowfileitemaction.so
+%{_desktopdir}/org.kde.gwenview_importer.desktop
This page took 0.117085 seconds and 4 git commands to generate.