source: projects/specs/branches/6/t/trimage/trimage-vl.spec @ 4363

Revision 4363, 1.8 KB checked in by kudoh, 13 years ago (diff)
Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Summary: A cross-platform tool for optimizing PNG and JPG files
4Summary(ja): クロスプラットホームの PNG と JPG ファイルの最適化のためのツール
5Name: trimage
6Version: 1.0.5
7Release: 2%{?_dist_release}
8License: MIT
9Group: Applications/Graphics
10URL: http://trimage.org
11Source: %{name}-%{version}.tar.bz2
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildArch: noarch
15
16BuildRequires: python-devel
17BuildRequires: python-setuptools
18
19Requires: PyQt4 >= 4.4
20Requires: advancecomp >= 1.15
21Requires: jpegoptim >= 1.2.2
22Requires: optipng >= 0.6.2.1
23Requires: pngcrush >= 1.6.7
24Requires: python >= 2.6
25
26%description
27Trimage is a cross-platform GUI and command-line interface to optimize image
28files via optipng, advpng, pngcrush and jpegoptim, depending on the filetype
29(currently, PNG and JPG files are supported). All image files are losslessly
30compressed on the highest available compression levels. Trimage gives you
31various input functions to fit your own workflow: A regular file dialog,
32dragging and dropping and various command line options.
33
34
35%prep
36%setup -qn %{name}-%{version}
37
38%build
39%{__python} setup.py build
40
41%install
42rm -rf %{buildroot}
43%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
44
45%clean
46rm -rf %{buildroot}
47
48%files
49%defattr(-, root, root)
50%doc README COPYING
51%{_bindir}/%{name}
52%{_datadir}/applications/%{name}.desktop
53%{_datadir}/icons/hicolor/
54%{python_sitelib}/*
55
56%changelog
57* Thu Jul 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.5-2
58- changed BuildRequires: python to python-devel
59- added BuildRequires: python-setuptools
60
61* Tue Dec 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.5-1
62- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.