]>
Commit | Line | Data |
---|---|---|
88f622cb ZU |
1 | Summary: flimsel is a minimalistic digitial image browser |
2 | Summary(hu.UTF-8): flimsel egy minimalista digitális képböngésző | |
3 | Name: flimsel | |
4 | Version: 0.0.6 | |
5 | Release: 0.1 | |
6 | License: GPL v3 | |
7 | Group: X11/Applications/Graphics | |
8 | Source0: http://www.ecademix.com/JohannesHofmann/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 5f993c4c6ed5a5ace7cd552adf89182f | |
10 | Patch0: %{name}-epeg.patch | |
11 | URL: http://www.ecademix.com/JohannesHofmann/flimsel.html | |
12 | BuildRequires: epeg-devel | |
13 | BuildRequires: fltk-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | flimsel is a minimalistic digitial image browser based on the fltk | |
18 | toolkit. | |
19 | ||
20 | %description -l hu.UTF-8 | |
21 | flimsel egy minimalista digitális képbőngésző fltk alapokon. | |
22 | ||
23 | %package example | |
24 | Summary: An example script | |
25 | Summary(hu.UTF-8): Egy példa szkript | |
26 | Group: X11/Applications/Graphics | |
27 | Requires: flimsel = %{version}-%{version} | |
28 | Requires: gimp | |
29 | Requires: libjpeg-progs | |
30 | ||
31 | %description example | |
32 | An example script that shows how to customize flimsel. | |
33 | ||
34 | %description example -l hu.UTF-8 | |
35 | Egy példa-szkript, amely megmutatja, hogyan szabhatod testre a | |
36 | flimsel-t. | |
37 | ||
38 | %prep | |
39 | %setup -q | |
40 | %patch0 -p1 | |
41 | ||
42 | %build | |
43 | %{__libtoolize} | |
44 | %{__aclocal} | |
45 | %{__autoheader} | |
46 | %{__autoconf} | |
47 | %{__automake} | |
48 | %configure | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
58 | install examples/flimsel.sh $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS ChangeLog NEWS README | |
66 | %attr(755,root,root) %{_bindir}/* | |
67 | %{_mandir}/man1/flimsel.1* | |
68 | ||
69 | %files example | |
70 | %defattr(644,root,root,755) | |
71 | %dir %{_examplesdir}/%{name}-%{version} | |
72 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/%{name}.sh |