]>
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 |
bddb8136 | 5 | Version: 3.10.2 |
c8a11a2d | 6 | Release: 1 |
fa5b95cc | 7 | License: BSD |
be80ce22 | 8 | Group: X11/Applications/Graphics |
c8a11a2d | 9 | Source0: https://feh.finalrewind.org/%{name}-%{version}.tar.bz2 |
bddb8136 | 10 | # Source0-md5: 0a780bf321c0653d03e3e18410f4d1ba |
c8a11a2d KM |
11 | URL: https://feh.finalrewind.org/ |
12 | # Bash completion by https://github.com/scop/bash-completion/blob/master/completions/feh | |
c8e6fbe8 | 13 | Source1: %{name}-bash-completion |
c8a11a2d KM |
14 | # zsh completion by https://git.finalrewind.org/zsh/plain/etc/completions/_feh |
15 | Source2: %{name}-zsh-completion | |
16 | BuildRequires: curl-devel | |
fa5b95cc | 17 | BuildRequires: imlib2-devel >= 1.0.0 |
c8a11a2d | 18 | BuildRequires: libexif-devel |
ef91e207 | 19 | BuildRequires: libjpeg-devel |
c8a11a2d | 20 | BuildRequires: libmagic-devel |
fa5b95cc | 21 | BuildRequires: libpng-devel |
56b790df | 22 | BuildRequires: rpm-build >= 4.6 |
5673800c | 23 | BuildRequires: sed >= 4.0 |
c8a11a2d | 24 | BuildRequires: xorg-lib-libX11-devel |
1ca0edd8 | 25 | BuildRequires: xorg-lib-libXinerama-devel |
8611d341 | 26 | BuildRequires: xorg-lib-libXt-devel |
c881f5ba JP |
27 | Suggests: ImageMagick |
28 | Suggests: imlib2_loaders | |
2c9c7e56 | 29 | Provides: WallpaperChanger |
be80ce22 SZ |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
be80ce22 SZ |
32 | %description |
33 | feh is a fast, lightweight image viewer which uses imlib2. It is | |
34 | commandline-driven and supports multiple images through slideshows, | |
35 | thumbnail browsing or multiple windows, and montages or index prints | |
36 | (using truetype fonts to display file info). Advanced features include | |
37 | fast dynamic zooming, progressive loading, loading via HTTP (with | |
38 | reload support for watching webcams), recursive file opening | |
39 | (slideshow of a directory hierarchy), and mousewheel/keyboard control. | |
40 | ||
7721abe6 ZU |
41 | %description -l hu.UTF-8 |
42 | feh egy gyors, könnyűsúlyú képnézegető, amely az imlib2-t használja. | |
43 | Parancssor-orientált és lehetséges több képet is nézni vetítés, | |
44 | bélyegkép böngészés vagy több ablakban. További lehetőségek (többek | |
45 | között): gyors dinamikus zoom, progresszív betöltés, HTTP protokoll | |
46 | (webcam), rekurzív fájl megnyitás (könyvtár-szerkezetben diavetítés) | |
47 | és egér-götgetés/billentyűzettel irányítás. | |
48 | ||
6ce2659c JR |
49 | %description -l pl.UTF-8 |
50 | feh jest szybką, lekką przeglądarką obrazów która wykorzystuje | |
51 | bibliotekę imlib2. Jest kierowana z linii poleceń i obsługuje wiele | |
52 | obrazów naraz przez "pokazy slajdów", przeglądanie miniatur lub wiele | |
53 | okienek na raz, oraz montowanie obrazów lub tworzenie indeksów | |
54 | (wykorzystując fonty TrueType do wyświetlania informacji o plikach). | |
55 | Zaawansowane opcje zawierają szybie powiększanie, ładowanie stopniowe, | |
56 | ładowanie przez HTTP (z opcją przeładowania do oglądania webcamów), | |
57 | rekursywne otwieranie plików (pokaz slajdów z hierarchii katalogów), | |
58 | oraz sterowanie z klawiatury/myszki (też z kółkiem). | |
be80ce22 | 59 | |
c001244d | 60 | %package -n bash-completion-feh |
c8a11a2d KM |
61 | Summary: Bash completion for feh |
62 | Summary(pl.UTF-8): Dopełnianie parametrów feh dla powłoki Bash | |
c8e6fbe8 | 63 | Group: Applications/Shells |
c8a11a2d KM |
64 | Requires: bash-completion >= 1:2.0 |
65 | Requires: %{name} = %{version}-%{release} | |
c001244d | 66 | Obsoletes: feh-bash-completion |
e1006eff | 67 | BuildArch: noarch |
c8e6fbe8 | 68 | |
c001244d | 69 | %description -n bash-completion-feh |
c8a11a2d | 70 | Bash completion for feh. |
1e7b4c95 | 71 | |
c001244d | 72 | %description -n bash-completion-feh -l pl.UTF-8 |
c8a11a2d KM |
73 | Dopełnianie parametrów feh dla powłoki Bash. |
74 | ||
75 | %package -n zsh-completion-feh | |
76 | Summary: ZSH completion for feh | |
77 | Summary(pl.UTF-8): Dopełnianie parametrów feh dla powłoki ZSH | |
78 | Group: Applications/Shells | |
79 | Requires: %{name} = %{version}-%{release} | |
80 | BuildArch: noarch | |
81 | ||
82 | %description -n zsh-completion-feh | |
83 | ZSH completion for feh. | |
84 | ||
85 | %description -n zsh-completion-feh -l pl.UTF-8 | |
86 | Dopełnianie parametrów feh dla powłoki ZSH. | |
c8e6fbe8 | 87 | |
be80ce22 SZ |
88 | %prep |
89 | %setup -q | |
90 | ||
91 | %build | |
a253a9ed JP |
92 | CFLAGS="%{rpmcflags} %{rpmcppflags}" \ |
93 | LDFLAGS="%{rpmldflags}" \ | |
1931893b | 94 | %{__make} \ |
a253a9ed | 95 | CC="%{__cc}" \ |
c8a11a2d | 96 | PREFIX=%{_prefix} \ |
9ef014a1 | 97 | exif=1 \ |
c8a11a2d KM |
98 | help=1 \ |
99 | inotify=1 \ | |
9ef014a1 | 100 | magic=1 |
be80ce22 SZ |
101 | |
102 | %install | |
103 | rm -rf $RPM_BUILD_ROOT | |
4e7a728d | 104 | install -d $RPM_BUILD_ROOT{%{bash_compdir},%{zsh_compdir}} |
f5e8af5c | 105 | |
4b805544 | 106 | %{__make} install \ |
f239e11c | 107 | DESTDIR=$RPM_BUILD_ROOT \ |
9b7ff3e9 JP |
108 | PREFIX="%{_prefix}" \ |
109 | bin_dir="$RPM_BUILD_ROOT%{_bindir}" \ | |
110 | man_dir="$RPM_BUILD_ROOT%{_mandir}" \ | |
111 | desktop_dir="$RPM_BUILD_ROOT%{_desktopdir}" \ | |
112 | icon_dir="$RPM_BUILD_ROOT%{_iconsdir}/hicolor" | |
be80ce22 | 113 | |
4e7a728d | 114 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{bash_compdir}/%{name} |
c8a11a2d | 115 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{zsh_compdir}/_%{name} |
c8e6fbe8 | 116 | |
b7e2c443 | 117 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} |
85af9615 | 118 | |
be80ce22 SZ |
119 | %clean |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
c8a11a2d KM |
122 | %post |
123 | %update_icon_cache hicolor | |
124 | %update_desktop_database | |
125 | ||
126 | %postun | |
127 | %update_icon_cache hicolor | |
128 | %update_desktop_database | |
129 | ||
be80ce22 SZ |
130 | %files |
131 | %defattr(644,root,root,755) | |
c8a11a2d | 132 | %doc AUTHORS COPYING ChangeLog examples README.md TODO |
6438ea63 | 133 | %attr(755,root,root) %{_bindir}/feh |
be80ce22 | 134 | %{_datadir}/feh |
6438ea63 | 135 | %{_mandir}/man1/feh.1* |
c8a11a2d KM |
136 | %{_desktopdir}/feh.desktop |
137 | %{_iconsdir}/hicolor/48x48/apps/feh.png | |
138 | %{_iconsdir}/hicolor/scalable/apps/feh.svg | |
c8e6fbe8 | 139 | |
c001244d | 140 | %files -n bash-completion-feh |
c8e6fbe8 | 141 | %defattr(644,root,root,755) |
4e7a728d | 142 | %{bash_compdir}/%{name} |
c8a11a2d KM |
143 | |
144 | %files -n zsh-completion-feh | |
145 | %defattr(644,root,root,755) | |
4e7a728d | 146 | %{zsh_compdir}/_%{name} |