]>
Commit | Line | Data |
---|---|---|
e54418d0 | 1 | Summary: Graphics file browser utility |
95309308 | 2 | Summary(hu.UTF-8): Képfájl-böngésző eszköz |
e54418d0 | 3 | Summary(pl.UTF-8): Narzędzie do przeglądania plików graficznych |
4 | Name: geeqie | |
285a04e2 KK |
5 | Version: 1.2.3 |
6 | Release: 1 | |
e54418d0 | 7 | License: GPL v2 |
8 | Group: X11/Applications/Graphics | |
285a04e2 KK |
9 | Source0: http://www.geeqie.org/%{name}-%{version}.tar.xz |
10 | # Source0-md5: fab78be9fca02b68cd670e5359457b88 | |
885258e5 | 11 | Patch0: libdir-fix.patch |
966ad3c3 | 12 | Patch1: %{name}-raws.patch |
1a76e220 | 13 | URL: http://www.geeqie.org/ |
e54418d0 | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
16 | BuildRequires: exiv2-devel | |
c116c319 | 17 | BuildRequires: gettext-tools |
e54418d0 | 18 | BuildRequires: gtk+2-devel >= 2:2.4.0 |
c9680d93 | 19 | BuildRequires: intltool >= 0.40.0 |
e54418d0 | 20 | BuildRequires: libpng-devel |
c9680d93 | 21 | BuildRequires: libtool |
e54418d0 | 22 | BuildRequires: pkgconfig |
23 | BuildRequires: rpmbuild(macros) >= 1.197 | |
1a76e220 ER |
24 | BuildRequires: tar >= 1:1.22 |
25 | BuildRequires: xz | |
26 | Requires: desktop-file-utils | |
e54418d0 | 27 | Requires: libjpeg-progs |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
1a76e220 | 30 | |
95309308 | 31 | %define specflags_ia32 -fomit-frame-pointer |
e54418d0 | 32 | |
33 | %description | |
34 | Geeqie is a browser for graphics files. Offering single click viewing | |
35 | of your graphics files. Includes thumbnail view, zoom and filtering | |
36 | features. And external editor support. | |
37 | ||
38 | %description -l fr.UTF-8 | |
39 | Geeqie est un explorateur de fichiers graphiques. Il permet d'un | |
40 | simple clic l'affichage de vos fichiers graphiques. Les capacités | |
41 | suivantes sont incluses: vue d'imagettes, zoom, filtres et support | |
42 | d'éditeurs externes. | |
43 | ||
95309308 ZU |
44 | %description -l hu.UTF-8 |
45 | Geeqie egy böngésző, amellyel a grafikus fájlokat tudod kezelni. | |
46 | Egyszeri kattintásra megnézheted a képfájljaidat. Kicsinyített nézet, | |
47 | zoom és szűrő eszközök is található, és külső szerkesztő támogatása. | |
48 | ||
e54418d0 | 49 | %description -l pl.UTF-8 |
50 | Geeqie jest przeglądarką plików graficznych. Możesz przeglądać swoje | |
51 | pliki graficzne jednym kliknięciem myszy. Zawiera widok miniatur, zoom | |
52 | i opcje filtrowania, jak również wsparcie dla zewnętrznego edytora. | |
53 | ||
54 | %prep | |
ac6afee1 | 55 | %setup -q |
885258e5 | 56 | %patch0 -p1 |
966ad3c3 | 57 | %patch1 -p1 |
e54418d0 | 58 | |
59 | %build | |
c9680d93 SP |
60 | %{__intltoolize} |
61 | %{__libtoolize} | |
e54418d0 | 62 | %{__aclocal} |
63 | %{__autoconf} | |
64 | %{__autoheader} | |
65 | %{__automake} | |
66 | %configure | |
67 | %{__make} | |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
e54418d0 | 71 | %{__make} install \ |
56a3e326 | 72 | GNOME_DOC_TOOL=/disable-install-hook \ |
1a76e220 | 73 | desktopdir=%{_desktopdir} \ |
e54418d0 | 74 | DESTDIR=$RPM_BUILD_ROOT |
75 | ||
3fa9e7b0 | 76 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/{applications,template.desktop} |
f8e498c0 JR |
77 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
78 | ||
e54418d0 | 79 | %find_lang %{name} |
80 | ||
81 | %post | |
1a76e220 | 82 | %update_desktop_database |
e54418d0 | 83 | |
84 | %postun | |
1a76e220 | 85 | %update_desktop_database |
e54418d0 | 86 | |
87 | %clean | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %files -f %{name}.lang | |
91 | %defattr(644,root,root,755) | |
3fa9e7b0 | 92 | %doc AUTHORS README TODO ChangeLog doc/html |
e54418d0 | 93 | %attr(755,root,root) %{_bindir}/%{name} |
1a76e220 ER |
94 | %{_mandir}/man1/%{name}.1* |
95 | %{_desktopdir}/%{name}.desktop | |
e54418d0 | 96 | %{_pixmapsdir}/%{name}.png |
1a76e220 ER |
97 | %dir %{_libdir}/%{name} |
98 | %attr(755,root,root) %{_libdir}/%{name}/geeqie-import | |
99 | %attr(755,root,root) %{_libdir}/%{name}/geeqie-rotate | |
100 | %attr(755,root,root) %{_libdir}/%{name}/geeqie-symlink | |
101 | %attr(755,root,root) %{_libdir}/%{name}/geeqie-ufraw |