[packages/ka6-gwenview] - updated to 24.08.1

witekfl witekfl at pld-linux.org
Sat Sep 14 21:23:19 CEST 2024


commit ffa558053e038c1799a9fdb6ef93011ebe7bfdc8
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Sep 14 21:22:44 2024 +0200

    - updated to 24.08.1

 ka6-gwenview.spec | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 124 insertions(+)
---
diff --git a/ka6-gwenview.spec b/ka6-gwenview.spec
new file mode 100644
index 0000000..33b4a06
--- /dev/null
+++ b/ka6-gwenview.spec
@@ -0,0 +1,124 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeappsver	24.08.1
+%define		kframever	5.94.0
+%define		qtver		5.15.2
+%define		kaname		gwenview
+Summary:	Simple image viewer
+Summary(pl.UTF-8):	Prosta przeglądarka obrazów
+Name:		ka6-%{kaname}
+Version:	24.08.1
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Applications
+Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	6162abb8bcc301355733ce820d5f844e
+URL:		https://kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	cfitsio-devel
+BuildRequires:	cmake >= 3.20
+BuildRequires:	exiv2-devel
+BuildRequires:	gettext-tools
+BuildRequires:	kColorPicker-qt6-devel
+BuildRequires:	kImageAnnotator-qt6-devel
+BuildRequires:	ka6-libkdcraw-devel >= %{kdeappsver}
+BuildRequires:	kf6-baloo-devel >= %{kframever}
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-kio-devel >= %{kframever}
+BuildRequires:	lcms2-devel
+BuildRequires:	libjpeg-devel
+BuildRequires:	libpng-devel
+BuildRequires:	ninja
+BuildRequires:	pkgconfig
+BuildRequires:	python
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRequires:	zlib-devel
+Requires:	%{name}-data = %{version}-%{release}
+Obsoletes:	ka5-%{kaname} < %{version}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Gwenview is an image viewer for KDE.
+
+It features a folder tree window and a file list window to provide
+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.
+
+%package data
+Summary:	Data files for %{kaname}
+Summary(pl.UTF-8):	Dane dla %{kaname}
+Group:		X11/Applications
+Obsoletes:	ka5-%{kaname}-data < %{version}
+BuildArch:	noarch
+
+%description data
+Data files for %{kaname}.
+
+%description data -l pl.UTF-8
+Dane dla %{kaname}.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+	-B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr
+# not supported by glibc yet
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gwenview
+%attr(755,root,root) %{_bindir}/gwenview_importer
+%attr(755,root,root) %{_libdir}/libgwenviewlib.so.*.*
+%ghost %{_libdir}/libgwenviewlib.so.5
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kfileitemaction/slideshowfileitemaction.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/parts/gvpart.so
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
+%{_desktopdir}/org.kde.gwenview.desktop
+%{_desktopdir}/org.kde.gwenview_importer.desktop
+%{_datadir}/gwenview
+%{_iconsdir}/hicolor/*x*/*/*.png
+%{_datadir}/metainfo/org.kde.gwenview.appdata.xml
+%{_datadir}/qlogging-categories6/gwenview.categories
+%{_datadir}/solid/actions/gwenview_importer.desktop
+%{_datadir}/solid/actions/gwenview_importer_camera.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-gwenview.git/commitdiff/ffa558053e038c1799a9fdb6ef93011ebe7bfdc8



More information about the pld-cvs-commit mailing list