]>
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 | |
57b15261 | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
88f622cb ZU |
14 | BuildRequires: epeg-devel |
15 | BuildRequires: fltk-devel | |
57b15261 | 16 | BuildRequires: libtool |
17 | BuildRequires: pkgconfig | |
88f622cb ZU |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | flimsel is a minimalistic digitial image browser based on the fltk | |
22 | toolkit. | |
23 | ||
24 | %description -l hu.UTF-8 | |
25 | flimsel egy minimalista digitális képbőngésző fltk alapokon. | |
26 | ||
27 | %package example | |
28 | Summary: An example script | |
29 | Summary(hu.UTF-8): Egy példa szkript | |
30 | Group: X11/Applications/Graphics | |
5e455577 | 31 | Requires: feh |
88f622cb ZU |
32 | Requires: flimsel = %{version}-%{version} |
33 | Requires: gimp | |
34 | Requires: libjpeg-progs | |
5e455577 | 35 | Requires: xorg-app-xmessage |
88f622cb ZU |
36 | |
37 | %description example | |
38 | An example script that shows how to customize flimsel. | |
39 | ||
40 | %description example -l hu.UTF-8 | |
41 | Egy példa-szkript, amely megmutatja, hogyan szabhatod testre a | |
42 | flimsel-t. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | %patch0 -p1 | |
47 | ||
48 | %build | |
49 | %{__libtoolize} | |
50 | %{__aclocal} | |
51 | %{__autoheader} | |
52 | %{__autoconf} | |
53 | %{__automake} | |
54 | %configure | |
55 | %{__make} | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
63 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
64 | install examples/flimsel.sh $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
71 | %doc AUTHORS ChangeLog NEWS README | |
72 | %attr(755,root,root) %{_bindir}/* | |
73 | %{_mandir}/man1/flimsel.1* | |
74 | ||
75 | %files example | |
76 | %defattr(644,root,root,755) | |
77 | %dir %{_examplesdir}/%{name}-%{version} | |
78 | %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/%{name}.sh |