From faa6932258ecd7ebc62d913fb8514bb3b0e77f30 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 02:22:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 23.08.0-1mamba;Sun Aug 27 2023] --- README.md | 2 + koko.spec | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 koko.spec diff --git a/README.md b/README.md index f9873e4..2079e24 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # koko +Koko is an image viewer designed for desktop and touch devices. + diff --git a/koko.spec b/koko.spec new file mode 100644 index 0000000..1867628 --- /dev/null +++ b/koko.spec @@ -0,0 +1,121 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: koko +Version: 23.08.0 +Release: 1mamba +Summary: An image viewer designed for desktop and touch devices +Group: Graphical Desktop/Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kde.org +Source: https://download.kde.org/stable/release-service/%{version}/src/koko-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt5Positioning-devel +BuildRequires: libQt5Svg-devel +BuildRequires: libQt5X11Extras-devel +BuildRequires: libX11-devel +BuildRequires: libexiv2-devel +BuildRequires: libgcc +BuildRequires: libkauth-devel +BuildRequires: libkbookmarks-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkcompletion-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkdbusaddons-devel +BuildRequires: libkfilemetadata-devel +BuildRequires: libkguiaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkio-devel +BuildRequires: libkitemviews-devel +BuildRequires: libkjobwidgets-devel +BuildRequires: libknotifications-devel +BuildRequires: libkservice-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: libkxmlgui-devel +BuildRequires: libsolid-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxcb-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtdeclarative-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRequires: kquickimageeditor-devel +Requires: kquickimageeditor +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Koko is an image viewer designed for desktop and touch devices. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} +/sbin/ldconfig +exit 0 + +%postun -n lib%{name} +/sbin/ldconfig +exit 0 + +%files -f %{name}5_qt.lang +%defattr(-,root,root) +%{_bindir}/koko +%dir %{_libdir}/qt5/qml/org/kde/koko +%{_libdir}/qt5/qml/org/kde/koko/* +%{_datadir}/applications/org.kde.koko.desktop +%{_datadir}/metainfo/org.kde.koko.appdata.xml +%{_datadir}/knotifications5/koko.notifyrc +%dir %{_datadir}/koko +%{_datadir}/koko/* +%{_datadir}/icons/hicolor/128x128/apps/koko.png +%doc LICENSES + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libkokocommon.so +%{_libdir}/libkokocommon.so.* + +#%files -n lib%{name}-devel +#%defattr(-,root,root) + +%changelog +* Sun Aug 27 2023 Silvan Calarco 23.08.0-1mamba +- package created using the webbuild interface