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