]>
Commit | Line | Data |
---|---|---|
be80ce22 | 1 | Summary: Fast image viewer/indexer/montager |
7721abe6 | 2 | Summary(hu.UTF-8): Gyors képnézegető/indexelő/montázsoló |
8a2c995e | 3 | Summary(pl.UTF-8): Szybki program do przeglądania/indeksowania/montowania obrazów |
be80ce22 | 4 | Name: feh |
6d82277d | 5 | Version: 1.11.2 |
5673800c | 6 | Release: 2 |
fa5b95cc | 7 | License: BSD |
be80ce22 | 8 | Group: X11/Applications/Graphics |
85af9615 | 9 | Source0: https://derf.homelinux.org/~derf/projects/feh/%{name}-%{version}.tar.bz2 |
6d82277d | 10 | # Source0-md5: 3b2354d78a882ce02b429bbe053467a2 |
d52edfb2 | 11 | URL: https://derf.homelinux.org/~derf/projects/feh/ |
5673800c | 12 | Patch0: %{name}-install.patch |
c8e6fbe8 | 13 | Source1: %{name}-bash-completion |
d4c09e33 | 14 | BuildRequires: giblib-devel >= 1.2.4 |
fa5b95cc | 15 | BuildRequires: imlib2-devel >= 1.0.0 |
ef91e207 | 16 | BuildRequires: libjpeg-devel |
fa5b95cc | 17 | BuildRequires: libpng-devel |
5673800c | 18 | BuildRequires: sed >= 4.0 |
1ca0edd8 | 19 | BuildRequires: xorg-lib-libXinerama-devel |
8611d341 | 20 | BuildRequires: xorg-lib-libXt-devel |
2c9c7e56 | 21 | Provides: WallpaperChanger |
be80ce22 SZ |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
be80ce22 SZ |
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 | ||
7721abe6 ZU |
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 | ||
6ce2659c JR |
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). | |
be80ce22 | 51 | |
c8e6fbe8 ZU |
52 | %package bash-completion |
53 | Summary: bash-completion to feh | |
1e7b4c95 | 54 | Summary(pl.UTF-8): bashowe dopełnianie linii poleceń programu feh |
c8e6fbe8 ZU |
55 | Group: Applications/Shells |
56 | Requires: bash-completion | |
57 | ||
58 | %description bash-completion | |
1e7b4c95 JB |
59 | bash-completion to feh. |
60 | ||
61 | %description bash-completion -l pl.UTF-8 | |
62 | bashowe dopełnianie linii poleceń programu feh. | |
c8e6fbe8 | 63 | |
be80ce22 SZ |
64 | %prep |
65 | %setup -q | |
5673800c | 66 | %patch0 -p1 |
6d82277d | 67 | %{__sed} -i "s,CFLAGS ?=.*,CFLAGS = %{rpmcflags}," config.mk |
be80ce22 SZ |
68 | |
69 | %build | |
1931893b | 70 | %{__make} \ |
f239e11c ŁK |
71 | CC="%{__cc}" \ |
72 | PREFIX=%{_prefix} | |
be80ce22 SZ |
73 | |
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
1931893b | 76 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d |
f5e8af5c | 77 | |
4b805544 | 78 | %{__make} install \ |
f239e11c ŁK |
79 | DESTDIR=$RPM_BUILD_ROOT \ |
80 | PREFIX=%{_prefix} | |
be80ce22 | 81 | |
c8e6fbe8 ZU |
82 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name} |
83 | ||
2ab401bc | 84 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
85af9615 | 85 | |
be80ce22 SZ |
86 | %clean |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
c8e6fbe8 | 91 | %doc AUTHORS COPYING ChangeLog README TODO |
be80ce22 SZ |
92 | %attr(755,root,root) %{_bindir}/* |
93 | %{_datadir}/feh | |
94 | %{_mandir}/man1/* | |
c8e6fbe8 ZU |
95 | |
96 | %files bash-completion | |
97 | %defattr(644,root,root,755) | |
98 | %{_sysconfdir}/bash_completion.d/%{name} |