]> git.pld-linux.org Git - packages/gthumb.git/blame - gthumb.spec
- converted to UTF-8
[packages/gthumb.git] / gthumb.spec
CommitLineData
7fc3dff0 1Summary: An image viewer and browser for GNOME
bb16ce35 2Summary(pl.UTF-8): Przeglądarka obrazków dla GNOME
3a8800a3 3Name: gthumb
1a17489c 4Version: 2.8.1
5b49bccc 5Release: 1
7e3c641b 6License: GPL v2
3a8800a3 7Vendor: GNOME
7fc3dff0 8Group: X11/Applications/Graphics
586e5194 9Source0: http://ftp.gnome.org/pub/gnome/sources/gthumb/2.8/%{name}-%{version}.tar.bz2
1a17489c 10# Source0-md5: 680743ea3282c63343b4f1fcf9348079
5b6ddccb 11Patch0: %{name}-desktop.patch
1a17489c 12Patch1: %{name}-link.patch
7fc3dff0 13URL: http://gthumb.sourceforge.net/
1a17489c
MB
14BuildRequires: GConf2-devel >= 2.16.0
15BuildRequires: ORBit2-devel >= 1:2.14.4
ed3cbca6 16BuildRequires: autoconf >= 2.52
ada83f8c 17BuildRequires: automake
5b6ddccb 18BuildRequires: gnome-common >= 2.12.0
1a17489c
MB
19BuildRequires: gnome-vfs2-devel >= 2.16.3
20BuildRequires: gtk+2-devel >= 2:2.10.6
5b6ddccb 21BuildRequires: intltool >= 0.35
22BuildRequires: libexif-devel >= 1:0.6.13
cb070309 23BuildRequires: libglade2-devel >= 1:2.6.0
5b6ddccb 24BuildRequires: libgnomeprintui-devel >= 2.12.0
1a17489c 25BuildRequires: libgnomeui-devel >= 2.16.1
cb070309 26BuildRequires: libgphoto2-devel >= 2.2.1
5b6ddccb 27BuildRequires: libiptcdata-devel >= 0.2.1
09b1ed73 28BuildRequires: libjpeg-devel
7fc3dff0 29BuildRequires: libpng-devel
09b1ed73 30BuildRequires: libtiff-devel
ada83f8c 31BuildRequires: libtool
1a17489c 32BuildRequires: libxml2-devel >= 1:2.6.27
cb070309 33BuildRequires: rpmbuild(macros) >= 1.311
5fbcd719 34BuildRequires: scrollkeeper
cc758081 35BuildRequires: sed >= 4.0
1a17489c 36Requires(post,preun): GConf2 >= 2.16.0
3ea5e0b2 37Requires(post,postun): desktop-file-utils
1a17489c 38Requires(post,postun): gtk+2 >= 2:2.10.6
ed3cbca6 39Requires(post,postun): scrollkeeper
1a17489c 40Requires: gtk+2 >= 2:2.10.6
5b6ddccb 41Requires: hicolor-icon-theme
7fc3dff0
JB
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
3a8800a3
GS
44%description
45gThumb lets you browse your hard disk, showing you thumbnails of image
46files. It also lets you view single files (including GIF animations),
47add comments to images, organize images in catalogs, print images,
48view slideshows, set your desktop background, and more.
49
bb16ce35
JR
50%description -l pl.UTF-8
51gThumb pozwala na przeglądanie twardego dysku z pokazywaniem
52miniaturek plików z obrazkami. Pozwala także oglądać pojedyncze pliki
53(w tym animacje GIF), dodawać komentarze do obrazków, układać obrazki
54w 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
73rm -rf $RPM_BUILD_ROOT
b4176fef 74
ac5ba020 75%{__make} install \
f9fe5d23 76 DESTDIR=$RPM_BUILD_ROOT
631d1b2e 77
b4176fef 78rm $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.{a,la}
5b6ddccb 79rm $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
73a3f622 80rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
ed3cbca6 81
ac5ba020 82%find_lang %{name} --with-gnome --all-name
7fc3dff0 83
3a8800a3
GS
84%clean
85rm -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
This page took 0.052765 seconds and 4 git commands to generate.