SHA256
1
0
forked from pool/curtail

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
This commit is contained in:
Marcus Meissner 2021-08-27 12:04:04 +00:00 committed by Git OBS Bridge
commit 0f468d0837
5 changed files with 103 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

3
curtail-1.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f560020506aa12b09b31c0b1bca60c58bd9768e79108afbdf9e62e724ca49f2
size 78520

6
curtail.changes Normal file
View File

@ -0,0 +1,6 @@
-------------------------------------------------------------------
Fri Aug 27 00:22:36 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Initial package.
- Add %{name}-rpmlintrc to suppress explicit-lib-dependency
trigerred for libwebp-tools Requires.

70
curtail.spec Normal file
View File

@ -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