commit 0f468d0837a88e24c56b32d3a34d7887f5a3c99e6e2066242eca791a9b8fdfc9 Author: Marcus Meissner Date: Fri Aug 27 12:04:04 2021 +0000 Accepting request 914465 from home:badshah400:Staging A simple and useful image compressor OBS-URL: https://build.opensuse.org/request/show/914465 OBS-URL: https://build.opensuse.org/package/show/graphics/curtail?expand=0&rev=1 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/curtail-1.2.1.tar.gz b/curtail-1.2.1.tar.gz new file mode 100644 index 0000000..f0670dd --- /dev/null +++ b/curtail-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f560020506aa12b09b31c0b1bca60c58bd9768e79108afbdf9e62e724ca49f2 +size 78520 diff --git a/curtail.changes b/curtail.changes new file mode 100644 index 0000000..c2c95f6 --- /dev/null +++ b/curtail.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Fri Aug 27 00:22:36 UTC 2021 - Atri Bhattacharya + +- Initial package. +- Add %{name}-rpmlintrc to suppress explicit-lib-dependency + trigerred for libwebp-tools Requires. diff --git a/curtail.spec b/curtail.spec new file mode 100644 index 0000000..93d4db8 --- /dev/null +++ b/curtail.spec @@ -0,0 +1,70 @@ +# +# spec file for package curtail +# +# Copyright (c) 2021 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/ +# + + +Name: curtail +Version: 1.2.1 +Release: 0 +Summary: A simple and useful image compressor +License: GPL-3.0-or-later +URL: https://github.com/Huluti/curtail +Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: gobject-introspection-devel +BuildRequires: hicolor-icon-theme +BuildRequires: meson >= 0.50.0 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: update-desktop-files +Requires: jpegoptim +Requires: libwebp-tools +Requires: optipng +Requires: pngquant +Requires: python3-gobject-Gdk + +%description +Curtail (previously ImCompressor) is an useful image compressor, supporting +PNG, JPEG and WEBP file types. It support both lossless and lossy compression +modes with an option to whether keep or not metadata of images. + +%lang_package + +%prep +%setup -q -n Curtail-%{version} + +%build +%meson +%meson_build + +%suse_update_desktop_file com.github.huluti.Curtail RasterGraphics + +%install +%meson_install +%find_lang %{name} %{?no_lang_C} + +%files +%license COPYING +%doc CHANGELOG.md README.md +%{_bindir}/curtail +%{_datadir}/metainfo/*.xml +%{_datadir}/curtail/ +%{_datadir}/applications/*.desktop +%{_datadir}/glib-2.0/schemas/*.xml +%{_datadir}/icons/hicolor/*/apps/*.svg + +%files lang -f %{name}.lang + +%changelog