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