]> git.pld-linux.org Git - packages/gthumb.git/blame - gthumb.spec
- up to 2.10.12
[packages/gthumb.git] / gthumb.spec
CommitLineData
7fc3dff0 1Summary: An image viewer and browser for GNOME
1531ab64 2Summary(pl.UTF-8): Przeglądarka obrazków dla GNOME
3a8800a3 3Name: gthumb
0b2ff6c7 4Version: 2.10.12
5Release: 1
7e3c641b 6License: GPL v2
7fc3dff0 7Group: X11/Applications/Graphics
a61ceeb4 8Source0: http://ftp.gnome.org/pub/GNOME/sources/gthumb/2.10/%{name}-%{version}.tar.bz2
0b2ff6c7 9# Source0-md5: a9037ce99e62069e2977243a364074b3
5b6ddccb 10Patch0: %{name}-desktop.patch
7fc3dff0 11URL: http://gthumb.sourceforge.net/
d07398df
MB
12BuildRequires: GConf2-devel >= 2.20.0
13BuildRequires: ORBit2-devel >= 1:2.14.9
ed3cbca6 14BuildRequires: autoconf >= 2.52
ada83f8c 15BuildRequires: automake
1827c88c 16BuildRequires: docbook-dtd412-xml
d07398df
MB
17BuildRequires: gettext-devel
18BuildRequires: gnome-common >= 2.20.0
19BuildRequires: gnome-doc-utils >= 0.12.0
20BuildRequires: gnome-vfs2-devel >= 2.20.0
21BuildRequires: gtk+2-devel >= 2:2.12.3
275380a9 22BuildRequires: intltool >= 0.35.5
5b6ddccb 23BuildRequires: libexif-devel >= 1:0.6.13
d07398df
MB
24BuildRequires: libglade2-devel >= 1:2.6.2
25BuildRequires: libgnomeui-devel >= 2.20.1
cb070309 26BuildRequires: libgphoto2-devel >= 2.2.1
5b6ddccb 27BuildRequires: libiptcdata-devel >= 0.2.1
09b1ed73 28BuildRequires: libjpeg-devel
d773a47f 29BuildRequires: libopenraw-gnome-devel >= 0.0.2
7fc3dff0 30BuildRequires: libpng-devel
09b1ed73 31BuildRequires: libtiff-devel
ada83f8c 32BuildRequires: libtool
d07398df
MB
33BuildRequires: libxml2-devel >= 1:2.6.30
34BuildRequires: pkgconfig
35BuildRequires: rpmbuild(find_lang) >= 1.23
cb070309 36BuildRequires: rpmbuild(macros) >= 1.311
5fbcd719 37BuildRequires: scrollkeeper
cc758081 38BuildRequires: sed >= 4.0
d07398df 39BuildRequires: xorg-lib-libXxf86vm-devel
3ea5e0b2 40Requires(post,postun): desktop-file-utils
157f6652 41Requires(post,postun): gtk+2
ed3cbca6 42Requires(post,postun): scrollkeeper
157f6652 43Requires(post,preun): GConf2
d07398df 44Requires: gtk+2 >= 2:2.12.0
5b6ddccb 45Requires: hicolor-icon-theme
f9c39d53 46# sr@Latn vs. sr@latin
47Conflicts: glibc-misc < 6:2.7
7fc3dff0
JB
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
3a8800a3
GS
50%description
51gThumb lets you browse your hard disk, showing you thumbnails of image
52files. It also lets you view single files (including GIF animations),
53add comments to images, organize images in catalogs, print images,
54view slideshows, set your desktop background, and more.
55
bb16ce35
JR
56%description -l pl.UTF-8
57gThumb pozwala na przeglądanie twardego dysku z pokazywaniem
58miniaturek plików z obrazkami. Pozwala także oglądać pojedyncze pliki
59(w tym animacje GIF), dodawać komentarze do obrazków, układać obrazki
60w katalogi, drukować obrazki, oglądać slajdy, ustawiać tło biurka itd.
7fc3dff0 61
3a8800a3
GS
62%prep
63%setup -q
5b6ddccb 64%patch0 -p1
3a8800a3 65
d07398df
MB
66sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
67mv -f po/sr@{Latn,latin}.po
68
3a8800a3 69%build
5b6ddccb 70%{__gnome_doc_common}
ad0279de 71%{__intltoolize}
db119e4a 72%{__libtoolize}
7f632513 73%{__aclocal}
db119e4a 74%{__autoheader}
75%{__automake}
76%{__autoconf}
631d1b2e 77%configure \
d354c6dc 78 --disable-scrollkeeper \
631d1b2e 79 --disable-schemas-install
3a8800a3
GS
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
b4176fef 84
ac5ba020 85%{__make} install \
f9fe5d23 86 DESTDIR=$RPM_BUILD_ROOT
631d1b2e 87
157f6652 88rm -f $RPM_BUILD_ROOT%{_libdir}/libgthumb.{a,la}
e7b1bf56 89rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.{a,la}
73a3f622 90rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
ed3cbca6 91
d07398df 92%find_lang %{name} --with-gnome --with-omf --all-name
7fc3dff0 93
3a8800a3
GS
94%clean
95rm -rf $RPM_BUILD_ROOT
96
631d1b2e 97%post
3ea5e0b2 98%gconf_schema_install gthumb.schemas
99%scrollkeeper_update_post
100%update_desktop_database_post
cb070309 101%update_icon_cache hicolor
1a17489c 102
3ea5e0b2 103%preun
104%gconf_schema_uninstall gthumb.schemas
631d1b2e 105
ed3cbca6 106%postun
3ea5e0b2 107%scrollkeeper_update_postun
108%update_desktop_database_postun
cb070309 109%update_icon_cache hicolor
ac5ba020 110
7fc3dff0 111%files -f %{name}.lang
3a8800a3 112%defattr(644,root,root,755)
a9f5f352 113%doc AUTHORS ChangeLog NEWS README
a16a5867 114%attr(755,root,root) %{_bindir}/*
d07398df 115%attr(755,root,root) %{_libdir}/libgthumb.so
ad0279de 116%{_libdir}/bonobo/servers/*.server
ed3cbca6 117%dir %{_libdir}/%{name}
118%dir %{_libdir}/%{name}/modules
ed3cbca6 119%attr(755,root,root) %{_libdir}/%{name}/modules/*.so
a16a5867 120%{_datadir}/%{name}
a16a5867 121%{_mandir}/man1/%{name}.1*
d07398df 122%{_sysconfdir}/gconf/schemas/gthumb.schemas
5b6ddccb 123%{_iconsdir}/hicolor/*/apps/*.png
a16a5867 124%{_desktopdir}/%{name}.desktop
This page took 0.071406 seconds and 4 git commands to generate.