From 28c7e90dc683ae0f754bbe2152c987dbb11af96113e0cc1b87b9b147aa8b8aab Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Tue, 3 Dec 2024 16:44:55 +0000 Subject: [PATCH] Init optiimage OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/optiimage?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + optiimage-1.0.0.tar.xz | 3 ++ optiimage-1.0.0.tar.xz.sig | 11 +++++ optiimage.changes | 5 ++ optiimage.keyring | Bin 0 -> 1948 bytes optiimage.spec | 93 +++++++++++++++++++++++++++++++++++++ 7 files changed, 136 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 optiimage-1.0.0.tar.xz create mode 100644 optiimage-1.0.0.tar.xz.sig create mode 100644 optiimage.changes create mode 100644 optiimage.keyring create mode 100644 optiimage.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/optiimage-1.0.0.tar.xz b/optiimage-1.0.0.tar.xz new file mode 100644 index 0000000..96f37a0 --- /dev/null +++ b/optiimage-1.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05ef948c0fbf2b80dfa8f1f5a42457f8fd39e1b988b8af99679348e401c5f515 +size 64904 diff --git a/optiimage-1.0.0.tar.xz.sig b/optiimage-1.0.0.tar.xz.sig new file mode 100644 index 0000000..bd10502 --- /dev/null +++ b/optiimage-1.0.0.tar.xz.sig @@ -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----- diff --git a/optiimage.changes b/optiimage.changes new file mode 100644 index 0000000..72a4aa2 --- /dev/null +++ b/optiimage.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Dec 3 16:33:08 UTC 2024 - Christophe Marin + +- Init optiimage. + https://carlschwan.eu/2024/11/30/optiimage-1.0.0-is-out/ diff --git a/optiimage.keyring b/optiimage.keyring new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..accefef6b1c2a3252e7831121f896884acc8a2c3142e87fa22d838d8f5ee9e07 GIT binary patch literal 1948 zcma)+X*3&%7RR&4-iocMN-(ynwMJ64ucbySk=RQ!1d)ynmeZQtpU5IPZ*yAn12u>kiG&ARiW zbBBV}aic=9d2~uj3xTActxa;giYi$ACP*j&xqn33A};QvN&iG{Uw`O1bS{|r%gIf4 z%5duDz%Q>ci~Z~EI=YXDW35#l$$5am&L3l9vmivzk;l4rACQ|ac2fTPP3-UmL#3|N zxM=Q>n3La-dPf0w%krj**gS7JP!l6zpvi3z3TY5DzT%BX>=C>5^A z@8lD3jT9trF%YuC$aoR z>obc5JE~j-yel*GdhIC;9J&mB>s0UkNW2tiYY}}lY31eP`YcAeRNt;_SgFR8nxTQ0 zZ0G19p92Zb7;(Ixlu<^wk@vOW5to$Av&Roy?Up*By; zX>9UeRZM5w;{#Qo{B4ol8p59c)PMoIH}U{Ry{*92PJWId4l0MEzRRxMVKvm>2A`Nw zMn}>_b9NtyXI~YP49@JmZq*wsxe{-`TF4oEG{ln*{B^0BmjNVvW@_@!*#4F{d0^H9 zgam$xHIM=46XiFx`8ZeHpd7qT1EoT#`&|YLP<0cJXjWkdOD*SBjH&s{Kep26gQW3V zbf2`*Q&JYzk>C4fM;PZqSVg)h1tyr(Wp+hE&R`m4p8cT+b3W;(=fA0D>EW_Ez$;7T z=#i+mH2a_-WAf!#?$-Ky?NGCPVt3iBi9`VR0WN7qj|%(B(ZPNw_}Ki>Xoy(SLkbIb zx@3HQnqH+9?9rCH>+HHQgYsxcwcBBaE5PHk2d-IfET>Bh?>Jw&M?#Txke0Pc(Wc!~ z6-#anaMM)Qw=p{VZx*tqb+8sNgpyMEuv%Cn=3%_dSj}4YGOKh$K%8gwVjUsvFs$vY zU-my_{>x)CsxMh9nCAa~$V?u9b^Y^IzN8L&59iy4QnPhre2Zy>PMBJA_lueYkqC$4 z!Q~bfD{x{~eNpPd_cys?((CDcg%Rlu*!)=u`ZaFbVcw39m&YqPCEJZHg@HbFT1X;5 zWHmqAaX)_A#m+G(HaB&RE*gG*e;3i)BPw*zgFrS$J0ssB^f-IMhZiUx8}0Dx&snoB zj1G_L9JPx;2LS*x-c`s?w@0C_1Yhv%GOxJ{LhuwuIsMuqlv9izd1JJ#fCK0+)c^0o+%GXJqhS-!X1%>IB@=`1~657Q!Ytv?a% zS%EB`qaWvhdluwwHSLEy{lV{6mDxLTDO0%49RaRV4iFDcAPvdN?_e7M0Oy;)(BoRX zNPmq^XqvC;WC^nJrDP#IqxyA8rvWmvA?06@nbbA-?bn4p&q|%_DKR1y9QivAz``~% z*e&3&N{%41pSxX-S)g`EYNNyt$xmBOnc0nQHi(srB^xb0^+fyDUsrZ$Ejc;nsbtMC zN?hGqqo4JK#&jZ%Cdibtl^L;zqMsu*1Bihf`xKb+fBU|F1*XWCB5mUZ02MBqY;0bw z%yJpUG+)`YJ9H3~QO{H_?Pk%4SSU2#dlk7*S5)1n?DYHC7K(irX27HMn}$0@i%dJ( zqwDDIZd*A9DlP$SuIo%(a0tHQq1kd8q3Y4RWTq;;c;n}n@w zGAmb|%Fk6Y2-PC zQfAcF`i*{3R{a^q@>#Wzs20SbpXqi!o5{{NV>c)N)1{a&=F}yd8BEzU4q4W{*pPlg tqJG2X<&$^GK5?PIYR-M!`11_#y= %{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