]>
Commit | Line | Data |
---|---|---|
7fc3dff0 | 1 | Summary: An image viewer and browser for GNOME |
bb16ce35 | 2 | Summary(pl.UTF-8): Przeglądarka obrazków dla GNOME |
3a8800a3 | 3 | Name: gthumb |
1a17489c | 4 | Version: 2.8.1 |
5b49bccc | 5 | Release: 1 |
7e3c641b | 6 | License: GPL v2 |
3a8800a3 | 7 | Vendor: GNOME |
7fc3dff0 | 8 | Group: X11/Applications/Graphics |
586e5194 | 9 | Source0: http://ftp.gnome.org/pub/gnome/sources/gthumb/2.8/%{name}-%{version}.tar.bz2 |
1a17489c | 10 | # Source0-md5: 680743ea3282c63343b4f1fcf9348079 |
5b6ddccb | 11 | Patch0: %{name}-desktop.patch |
1a17489c | 12 | Patch1: %{name}-link.patch |
7fc3dff0 | 13 | URL: http://gthumb.sourceforge.net/ |
1a17489c MB |
14 | BuildRequires: GConf2-devel >= 2.16.0 |
15 | BuildRequires: ORBit2-devel >= 1:2.14.4 | |
ed3cbca6 | 16 | BuildRequires: autoconf >= 2.52 |
ada83f8c | 17 | BuildRequires: automake |
5b6ddccb | 18 | BuildRequires: gnome-common >= 2.12.0 |
1a17489c MB |
19 | BuildRequires: gnome-vfs2-devel >= 2.16.3 |
20 | BuildRequires: gtk+2-devel >= 2:2.10.6 | |
5b6ddccb | 21 | BuildRequires: intltool >= 0.35 |
22 | BuildRequires: libexif-devel >= 1:0.6.13 | |
cb070309 | 23 | BuildRequires: libglade2-devel >= 1:2.6.0 |
5b6ddccb | 24 | BuildRequires: libgnomeprintui-devel >= 2.12.0 |
1a17489c | 25 | BuildRequires: libgnomeui-devel >= 2.16.1 |
cb070309 | 26 | BuildRequires: libgphoto2-devel >= 2.2.1 |
5b6ddccb | 27 | BuildRequires: libiptcdata-devel >= 0.2.1 |
09b1ed73 | 28 | BuildRequires: libjpeg-devel |
7fc3dff0 | 29 | BuildRequires: libpng-devel |
09b1ed73 | 30 | BuildRequires: libtiff-devel |
ada83f8c | 31 | BuildRequires: libtool |
1a17489c | 32 | BuildRequires: libxml2-devel >= 1:2.6.27 |
cb070309 | 33 | BuildRequires: rpmbuild(macros) >= 1.311 |
5fbcd719 | 34 | BuildRequires: scrollkeeper |
cc758081 | 35 | BuildRequires: sed >= 4.0 |
1a17489c | 36 | Requires(post,preun): GConf2 >= 2.16.0 |
3ea5e0b2 | 37 | Requires(post,postun): desktop-file-utils |
1a17489c | 38 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
ed3cbca6 | 39 | Requires(post,postun): scrollkeeper |
1a17489c | 40 | Requires: gtk+2 >= 2:2.10.6 |
5b6ddccb | 41 | Requires: hicolor-icon-theme |
7fc3dff0 JB |
42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
43 | ||
3a8800a3 GS |
44 | %description |
45 | gThumb lets you browse your hard disk, showing you thumbnails of image | |
46 | files. It also lets you view single files (including GIF animations), | |
47 | add comments to images, organize images in catalogs, print images, | |
48 | view slideshows, set your desktop background, and more. | |
49 | ||
bb16ce35 JR |
50 | %description -l pl.UTF-8 |
51 | gThumb pozwala na przeglądanie twardego dysku z pokazywaniem | |
52 | miniaturek plików z obrazkami. Pozwala także oglądać pojedyncze pliki | |
53 | (w tym animacje GIF), dodawać komentarze do obrazków, układać obrazki | |
54 | w katalogi, drukować obrazki, oglądać slajdy, ustawiać tło biurka itd. | |
7fc3dff0 | 55 | |
3a8800a3 GS |
56 | %prep |
57 | %setup -q | |
5b6ddccb | 58 | %patch0 -p1 |
1a17489c | 59 | %patch1 -p1 |
3a8800a3 GS |
60 | |
61 | %build | |
5b6ddccb | 62 | %{__gnome_doc_common} |
db119e4a | 63 | %{__libtoolize} |
7f632513 | 64 | %{__aclocal} |
db119e4a | 65 | %{__autoheader} |
66 | %{__automake} | |
67 | %{__autoconf} | |
631d1b2e | 68 | %configure \ |
69 | --disable-schemas-install | |
3a8800a3 GS |
70 | %{__make} |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
b4176fef | 74 | |
ac5ba020 | 75 | %{__make} install \ |
f9fe5d23 | 76 | DESTDIR=$RPM_BUILD_ROOT |
631d1b2e | 77 | |
b4176fef | 78 | rm $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.{a,la} |
5b6ddccb | 79 | rm $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la} |
73a3f622 | 80 | rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry |
ed3cbca6 | 81 | |
ac5ba020 | 82 | %find_lang %{name} --with-gnome --all-name |
7fc3dff0 | 83 | |
3a8800a3 GS |
84 | %clean |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
631d1b2e | 87 | %post |
3ea5e0b2 | 88 | %gconf_schema_install gthumb.schemas |
89 | %scrollkeeper_update_post | |
90 | %update_desktop_database_post | |
cb070309 | 91 | %update_icon_cache hicolor |
1a17489c | 92 | |
3ea5e0b2 | 93 | %preun |
94 | %gconf_schema_uninstall gthumb.schemas | |
631d1b2e | 95 | |
ed3cbca6 | 96 | %postun |
3ea5e0b2 | 97 | %scrollkeeper_update_postun |
98 | %update_desktop_database_postun | |
cb070309 | 99 | %update_icon_cache hicolor |
ac5ba020 | 100 | |
7fc3dff0 | 101 | %files -f %{name}.lang |
3a8800a3 | 102 | %defattr(644,root,root,755) |
a9f5f352 | 103 | %doc AUTHORS ChangeLog NEWS README |
a16a5867 | 104 | %attr(755,root,root) %{_bindir}/* |
105 | %attr(755,root,root) %{_libdir}/%{name}-image-viewer | |
106 | %attr(755,root,root) %{_libdir}/%{name}-catalog-view | |
ed3cbca6 | 107 | %dir %{_libdir}/%{name} |
108 | %dir %{_libdir}/%{name}/modules | |
5b6ddccb | 109 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so |
ed3cbca6 | 110 | %attr(755,root,root) %{_libdir}/%{name}/modules/*.so |
a9f5f352 | 111 | %{_libdir}/bonobo/servers/*.server |
3a8800a3 | 112 | %{_datadir}/gnome-2.0/ui/*.xml |
a16a5867 | 113 | %{_datadir}/%{name} |
a16a5867 | 114 | %{_mandir}/man1/%{name}.1* |
ac5ba020 | 115 | %{_omf_dest_dir}/%{name} |
a16a5867 | 116 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
5b6ddccb | 117 | %{_iconsdir}/hicolor/*/apps/*.png |
a16a5867 | 118 | %{_desktopdir}/%{name}.desktop |