1 Summary: Squash - a simple application with a simple purpose - a batch image resizer
2 Summary(pl.UTF-8): Squash - prosta aplikacja o prostym zastosowaniu - wsadowe skalowanie obrazów
7 Group: X11/Applications/Graphics
8 Source0: http://squash.googlecode.com/files/%{name}-%{version}.tar.bz2
9 # Source0-md5: a5984bfbf4e61d222582a17a1dd93ccc
10 Source1: %{name}.desktop
11 URL: http://code.google.com/p/squash/
12 BuildRequires: QtCore-devel >= 4.3.0
13 BuildRequires: QtGui-devel >= 4.3.0
14 BuildRequires: qt4-build >= 4.3.3-3
15 BuildRequires: qt4-qmake >= 4.3.3-3
16 Obsoletes: squeeze < 0.3
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Squash allows resizing of images in a batch mode. It is friendly and
21 usable and does one thing well - resizing images. It is a
22 multi-threaded application and is designed to run on Linux, Mac and
25 %description -l pl.UTF-8
26 Squash umożliwia zmianę rozmiaru obrazów w trybie wsadowym. Jest
27 przyjazny w użyciu i wykonuje swoje jedyne zadanie bardzo dobrze. Jest
28 aplikacją wielowątkową, zaprojektowaną do uruchamiania pod Linuksem,
34 sed -i -e 's,-O3,%{rpmcxxflags} %{rpmcppflags},;s,-gstabs+,,' Makefile.qmake
37 qmake-qt4 Makefile.qmake \
38 "CONFIG %{!?debug:+}%{?debug:-}= release" \
39 "CONFIG %{!?debug:-}%{?debug:+}= debug"
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_bindir}}
46 install -p squash $RPM_BUILD_ROOT%{_bindir}
47 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
48 cp -a qrc/squash.png $RPM_BUILD_ROOT%{_pixmapsdir}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/squash
57 %{_desktopdir}/squash.desktop
58 %{_pixmapsdir}/squash.png