avatar
Rosa has added e7b6e532d6
Automatic import for version 1.2.1-1
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "optimgaika-1.2.1.tar.gz": 139e696a75ce6b767be36a4db9a5a7b70f4bfee4
view file @ e7b6e532d6
... ... --- /dev/null
... ... +++ b/optimgaika.spec
... ... @@ -0,0 +1,43 @@
1
Summary:	Tool for Optimizing PNG and JPEG Files
2
Name:		optimgaika
3
Version:	1.2.1
4
Release:	1
5
License:	MIT
6
Group:		Graphics
7
Url:		https://github.com/mikhailnov/optimgaika
8
Source0:	https://github.com/mikhailnov/optimgaika/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
9
BuildRequires:	pkgconfig(python)
10
Requires:	advancecomp
11
Requires:	guetzli
12
Requires:	optipng
13
Requires:	pngcrush
14
Requires:	PyQt4
15
BuildArch:	noarch
16
17
%description
18
optimgaika is a cross-platform GUI and command-line interface to optimize
19
image files via optipng, pngcrush, advpng and guetzli, depending on
20
the filetype (currently, PNG and JPEG files are supported). It was
21
inspired by imageoptim. All image files are losslessy compressed on
22
the highest available compression levels. optimgaika gives you various
23
input functions to fit your own workflow: a regular file dialog,
24
dragging and dropping and various command line options.
25
26
%files
27
%doc COPYING README resources/todo
28
%{_bindir}/%{name}
29
%{python_sitelib}/%{name}/*
30
%{python_sitelib}/%{name}-*
31
%{_mandir}/man1/*
32
%{_datadir}/applications/optimgaika.desktop
33
%{_datadir}/icons/hicolor/scalable/apps/optimgaika.svg
34
35
#------------------------------------------------------------------
36
37
%prep
38
%setup -q
39
40
%build
41
42
%install
43
PYTHONDONTWRITEBYTECODE=1 python setup.py install --root=%{buildroot}

Comments