]> git.pld-linux.org Git - packages/feh.git/blame - feh.spec
up to 3.10.2
[packages/feh.git] / feh.spec
CommitLineData
be80ce22 1Summary: Fast image viewer/indexer/montager
7721abe6 2Summary(hu.UTF-8): Gyors képnézegető/indexelő/montázsoló
8a2c995e 3Summary(pl.UTF-8): Szybki program do przeglądania/indeksowania/montowania obrazów
be80ce22 4Name: feh
bddb8136 5Version: 3.10.2
c8a11a2d 6Release: 1
fa5b95cc 7License: BSD
be80ce22 8Group: X11/Applications/Graphics
c8a11a2d 9Source0: https://feh.finalrewind.org/%{name}-%{version}.tar.bz2
bddb8136 10# Source0-md5: 0a780bf321c0653d03e3e18410f4d1ba
c8a11a2d
KM
11URL: https://feh.finalrewind.org/
12# Bash completion by https://github.com/scop/bash-completion/blob/master/completions/feh
c8e6fbe8 13Source1: %{name}-bash-completion
c8a11a2d
KM
14# zsh completion by https://git.finalrewind.org/zsh/plain/etc/completions/_feh
15Source2: %{name}-zsh-completion
16BuildRequires: curl-devel
fa5b95cc 17BuildRequires: imlib2-devel >= 1.0.0
c8a11a2d 18BuildRequires: libexif-devel
ef91e207 19BuildRequires: libjpeg-devel
c8a11a2d 20BuildRequires: libmagic-devel
fa5b95cc 21BuildRequires: libpng-devel
56b790df 22BuildRequires: rpm-build >= 4.6
5673800c 23BuildRequires: sed >= 4.0
c8a11a2d 24BuildRequires: xorg-lib-libX11-devel
1ca0edd8 25BuildRequires: xorg-lib-libXinerama-devel
8611d341 26BuildRequires: xorg-lib-libXt-devel
c881f5ba
JP
27Suggests: ImageMagick
28Suggests: imlib2_loaders
2c9c7e56 29Provides: WallpaperChanger
be80ce22
SZ
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
be80ce22
SZ
32%description
33feh is a fast, lightweight image viewer which uses imlib2. It is
34commandline-driven and supports multiple images through slideshows,
35thumbnail browsing or multiple windows, and montages or index prints
36(using truetype fonts to display file info). Advanced features include
37fast dynamic zooming, progressive loading, loading via HTTP (with
38reload 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
42feh egy gyors, könnyűsúlyú képnézegető, amely az imlib2-t használja.
43Parancssor-orientált és lehetséges több képet is nézni vetítés,
44bélyegkép böngészés vagy több ablakban. További lehetőségek (többek
45kö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
50feh jest szybką, lekką przeglądarką obrazów która wykorzystuje
51bibliotekę imlib2. Jest kierowana z linii poleceń i obsługuje wiele
52obrazów naraz przez "pokazy slajdów", przeglądanie miniatur lub wiele
53okienek na raz, oraz montowanie obrazów lub tworzenie indeksów
54(wykorzystując fonty TrueType do wyświetlania informacji o plikach).
55Zaawansowane opcje zawierają szybie powiększanie, ładowanie stopniowe,
56ładowanie przez HTTP (z opcją przeładowania do oglądania webcamów),
57rekursywne otwieranie plików (pokaz slajdów z hierarchii katalogów),
58oraz sterowanie z klawiatury/myszki (też z kółkiem).
be80ce22 59
c001244d 60%package -n bash-completion-feh
c8a11a2d
KM
61Summary: Bash completion for feh
62Summary(pl.UTF-8): Dopełnianie parametrów feh dla powłoki Bash
c8e6fbe8 63Group: Applications/Shells
c8a11a2d
KM
64Requires: bash-completion >= 1:2.0
65Requires: %{name} = %{version}-%{release}
c001244d 66Obsoletes: feh-bash-completion
e1006eff 67BuildArch: noarch
c8e6fbe8 68
c001244d 69%description -n bash-completion-feh
c8a11a2d 70Bash completion for feh.
1e7b4c95 71
c001244d 72%description -n bash-completion-feh -l pl.UTF-8
c8a11a2d
KM
73Dopełnianie parametrów feh dla powłoki Bash.
74
75%package -n zsh-completion-feh
76Summary: ZSH completion for feh
77Summary(pl.UTF-8): Dopełnianie parametrów feh dla powłoki ZSH
78Group: Applications/Shells
79Requires: %{name} = %{version}-%{release}
80BuildArch: noarch
81
82%description -n zsh-completion-feh
83ZSH completion for feh.
84
85%description -n zsh-completion-feh -l pl.UTF-8
86Dopełnianie parametrów feh dla powłoki ZSH.
c8e6fbe8 87
be80ce22
SZ
88%prep
89%setup -q
90
91%build
a253a9ed
JP
92CFLAGS="%{rpmcflags} %{rpmcppflags}" \
93LDFLAGS="%{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
103rm -rf $RPM_BUILD_ROOT
4e7a728d 104install -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 114cp -p %{SOURCE1} $RPM_BUILD_ROOT%{bash_compdir}/%{name}
c8a11a2d 115cp -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
120rm -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}
This page took 0.140655 seconds and 4 git commands to generate.