Init optiimage
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/optiimage?expand=0&rev=1
This commit is contained in:
commit
28c7e90dc6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
optiimage-1.0.0.tar.xz
Normal file
3
optiimage-1.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05ef948c0fbf2b80dfa8f1f5a42457f8fd39e1b988b8af99679348e401c5f515
|
||||
size 64904
|
11
optiimage-1.0.0.tar.xz.sig
Normal file
11
optiimage-1.0.0.tar.xz.sig
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEOf+pPK6cavwhKtACAjJUSCBORSoFAmdK9tEACgkQAjJUSCBO
|
||||
RSp4qAgAhsKNKEUBak2QOEBHqvdUkZxTvjXL/58bZVuMxTKy51u7B3EjbGnKSMlw
|
||||
TH8Vhy0QkK/ceG1pGJC0mFHew1UqVyI053ImtmTx8fJ07DafK93lz5g2wNq5F9mW
|
||||
w9XOX8nGmwLUFl96FcN3q7ewjJQEvoq1nOEhR6ErIDQyFeRuiXKky5cLfS769jN4
|
||||
PTZwdtpgiDZ6Kva+rz1BXopFfcru8uSubnSf2GXABgqZpmV++OMuo60UxJ1sih33
|
||||
WrS/v6z/pEEzV0A/bijov+tDcSyH5XnAPHBR5QfsDgnM6SVeKWKT1ZzDoWenei/N
|
||||
Zz1o5f7ELT8yMwJAISGWpJvuKmiwMQ==
|
||||
=tsGc
|
||||
-----END PGP SIGNATURE-----
|
5
optiimage.changes
Normal file
5
optiimage.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 3 16:33:08 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init optiimage.
|
||||
https://carlschwan.eu/2024/11/30/optiimage-1.0.0-is-out/
|
BIN
optiimage.keyring
Normal file
BIN
optiimage.keyring
Normal file
Binary file not shown.
93
optiimage.spec
Normal file
93
optiimage.spec
Normal file
@ -0,0 +1,93 @@
|
||||
#
|
||||
# spec file for package optiimage
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define kf6_version 6.0.0
|
||||
%define qt6_version 6.6.0
|
||||
|
||||
Name: optiimage
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Image optimizer tool
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://apps.kde.org/optiimage/
|
||||
Source0: https://download.kde.org/stable/optiimage/%{name}-%{version}.tar.xz
|
||||
Source1: https://download.kde.org/stable/optiimage/%{name}-%{version}.tar.xz.sig
|
||||
Source2: optiimage.keyring
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Kirigami2) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6KirigamiAddons) >= 1.5.0
|
||||
BuildRequires: cmake(QCoro6Core) >= 0.4
|
||||
BuildRequires: cmake(QCoro6Qml) >= 0.4
|
||||
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6QuickControls2) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Svg) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
Requires: %{_bindir}/cwebp
|
||||
Requires: %{_bindir}/jpegoptim
|
||||
Requires: %{_bindir}/oxipng
|
||||
Requires: %{_bindir}/scour
|
||||
|
||||
%description
|
||||
Optimize your images with OptiImage, a useful image compressor that supports
|
||||
PNG, JPEG, WebP and SVG file types.
|
||||
|
||||
It supports both lossless and lossy compression modes with an option whether to
|
||||
keep or not metadata of images. It additionally has a safe mode, where a new
|
||||
image is created instead of overwriting the old one.
|
||||
|
||||
It uses the following tools:
|
||||
|
||||
oxipng for PNG images
|
||||
jpegoptim for JPEG images
|
||||
scour for SVG images
|
||||
cwebp for WebP images
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
%find lang %{name} --all-name
|
||||
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%{_kf6_applicationsdir}/org.kde.optiimage.desktop
|
||||
%{_kf6_appstreamdir}/org.kde.optiimage.metainfo.xml
|
||||
%{_kf6_bindir}/optiimage
|
||||
%{_kf6_iconsdir}/hicolor/scalable/apps/org.kde.optiimage.svg
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user