]>
Commit | Line | Data |
---|---|---|
1 | Summary: Fast image viewer/indexer/montager | |
2 | Summary(hu.UTF-8): Gyors képnézegető/indexelő/montázsoló | |
3 | Summary(pl.UTF-8): Szybki program do przeglądania/indeksowania/montowania obrazów | |
4 | Name: feh | |
5 | Version: 1.11.2 | |
6 | Release: 1 | |
7 | License: BSD | |
8 | Group: X11/Applications/Graphics | |
9 | Source0: https://derf.homelinux.org/~derf/projects/feh/%{name}-%{version}.tar.bz2 | |
10 | # Source0-md5: 3b2354d78a882ce02b429bbe053467a2 | |
11 | URL: https://derf.homelinux.org/~derf/projects/feh/ | |
12 | Source1: %{name}-bash-completion | |
13 | BuildRequires: giblib-devel >= 1.2.4 | |
14 | BuildRequires: imlib2-devel >= 1.0.0 | |
15 | BuildRequires: libjpeg-devel | |
16 | BuildRequires: libpng-devel | |
17 | BuildRequires: sed | |
18 | BuildRequires: xorg-lib-libXinerama-devel | |
19 | BuildRequires: xorg-lib-libXt-devel | |
20 | Provides: WallpaperChanger | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | feh is a fast, lightweight image viewer which uses imlib2. It is | |
25 | commandline-driven and supports multiple images through slideshows, | |
26 | thumbnail browsing or multiple windows, and montages or index prints | |
27 | (using truetype fonts to display file info). Advanced features include | |
28 | fast dynamic zooming, progressive loading, loading via HTTP (with | |
29 | reload support for watching webcams), recursive file opening | |
30 | (slideshow of a directory hierarchy), and mousewheel/keyboard control. | |
31 | ||
32 | %description -l hu.UTF-8 | |
33 | feh egy gyors, könnyűsúlyú képnézegető, amely az imlib2-t használja. | |
34 | Parancssor-orientált és lehetséges több képet is nézni vetítés, | |
35 | bélyegkép böngészés vagy több ablakban. További lehetőségek (többek | |
36 | között): gyors dinamikus zoom, progresszív betöltés, HTTP protokoll | |
37 | (webcam), rekurzív fájl megnyitás (könyvtár-szerkezetben diavetítés) | |
38 | és egér-götgetés/billentyűzettel irányítás. | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | feh jest szybką, lekką przeglądarką obrazów która wykorzystuje | |
42 | bibliotekę imlib2. Jest kierowana z linii poleceń i obsługuje wiele | |
43 | obrazów naraz przez "pokazy slajdów", przeglądanie miniatur lub wiele | |
44 | okienek na raz, oraz montowanie obrazów lub tworzenie indeksów | |
45 | (wykorzystując fonty TrueType do wyświetlania informacji o plikach). | |
46 | Zaawansowane opcje zawierają szybie powiększanie, ładowanie stopniowe, | |
47 | ładowanie przez HTTP (z opcją przeładowania do oglądania webcamów), | |
48 | rekursywne otwieranie plików (pokaz slajdów z hierarchii katalogów), | |
49 | oraz sterowanie z klawiatury/myszki (też z kółkiem). | |
50 | ||
51 | %package bash-completion | |
52 | Summary: bash-completion to feh | |
53 | Summary(pl.UTF-8): bashowe dopełnianie linii poleceń programu feh | |
54 | Group: Applications/Shells | |
55 | Requires: bash-completion | |
56 | ||
57 | %description bash-completion | |
58 | bash-completion to feh. | |
59 | ||
60 | %description bash-completion -l pl.UTF-8 | |
61 | bashowe dopełnianie linii poleceń programu feh. | |
62 | ||
63 | %prep | |
64 | %setup -q | |
65 | %{__sed} -i "s,CFLAGS ?=.*,CFLAGS = %{rpmcflags}," config.mk | |
66 | ||
67 | %build | |
68 | %{__make} \ | |
69 | CC="%{__cc}" \ | |
70 | PREFIX=%{_prefix} | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT \ | |
78 | PREFIX=%{_prefix} | |
79 | ||
80 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name} | |
81 | ||
82 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} | |
83 | ||
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %files | |
88 | %defattr(644,root,root,755) | |
89 | %doc AUTHORS COPYING ChangeLog README TODO | |
90 | %attr(755,root,root) %{_bindir}/* | |
91 | %{_datadir}/feh | |
92 | %{_mandir}/man1/* | |
93 | ||
94 | %files bash-completion | |
95 | %defattr(644,root,root,755) | |
96 | %{_sysconfdir}/bash_completion.d/%{name} |