summaryrefslogtreecommitdiff
path: root/tint.spec
blob: ccf6058391d60ecb64f73ef21bb337208cf4a3af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# TODO: optflags
Summary:	Alter photos by selectively choosing tints
Summary(pl.UTF-8):	Modyfikacja zdjęć poprzez selektywny wybór odcieni
Name:		tint
Version:	1.0.1
Release:	1
License:	BSD
Group:		Applications
Source0:	http://www.indii.org/files/tint/releases/%{name}-%{version}.tar.gz
# Source0-md5:	36dbab3a0540014b49b771af8db25837
Patch0:		%{name}-wxgtk.patch
URL:		http://www.indii.org/software/tint/
BuildRequires:	boost-devel >= 1.35.0
BuildRequires:	scons
BuildRequires:	wxGTK2-unicode-devel >= 2.8.0
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Tint is a photo editor for colour-select effects. It automatically
clusters the colours of a photo into groups, and allows each colour to
be switched on or off to create the desired effect.

%description -l pl.UTF-8
Tint to edytor zdjęć do efektów związanych z wyborem kolorów.
Automatycznie rozdziela kolory zdjęcia na grupy i pozwala na włączanie
i wyłączanie poszczególnych kolorów w celu osiągnięcia pożądanego
efektu.

%prep
%setup -q
%patch0 -p1

%build
scons

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}

install tint $RPM_BUILD_ROOT%{_bindir}/tint

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README.txt VERSION.txt
%attr(755,root,root) %{_bindir}/*