]> git.pld-linux.org Git - packages/gthumb.git/blame_incremental - gthumb.spec
- up to 2.10.12
[packages/gthumb.git] / gthumb.spec
... / ...
CommitLineData
1Summary: An image viewer and browser for GNOME
2Summary(pl.UTF-8): Przeglądarka obrazków dla GNOME
3Name: gthumb
4Version: 2.10.12
5Release: 1
6License: GPL v2
7Group: X11/Applications/Graphics
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gthumb/2.10/%{name}-%{version}.tar.bz2
9# Source0-md5: a9037ce99e62069e2977243a364074b3
10Patch0: %{name}-desktop.patch
11URL: http://gthumb.sourceforge.net/
12BuildRequires: GConf2-devel >= 2.20.0
13BuildRequires: ORBit2-devel >= 1:2.14.9
14BuildRequires: autoconf >= 2.52
15BuildRequires: automake
16BuildRequires: docbook-dtd412-xml
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
22BuildRequires: intltool >= 0.35.5
23BuildRequires: libexif-devel >= 1:0.6.13
24BuildRequires: libglade2-devel >= 1:2.6.2
25BuildRequires: libgnomeui-devel >= 2.20.1
26BuildRequires: libgphoto2-devel >= 2.2.1
27BuildRequires: libiptcdata-devel >= 0.2.1
28BuildRequires: libjpeg-devel
29BuildRequires: libopenraw-gnome-devel >= 0.0.2
30BuildRequires: libpng-devel
31BuildRequires: libtiff-devel
32BuildRequires: libtool
33BuildRequires: libxml2-devel >= 1:2.6.30
34BuildRequires: pkgconfig
35BuildRequires: rpmbuild(find_lang) >= 1.23
36BuildRequires: rpmbuild(macros) >= 1.311
37BuildRequires: scrollkeeper
38BuildRequires: sed >= 4.0
39BuildRequires: xorg-lib-libXxf86vm-devel
40Requires(post,postun): desktop-file-utils
41Requires(post,postun): gtk+2
42Requires(post,postun): scrollkeeper
43Requires(post,preun): GConf2
44Requires: gtk+2 >= 2:2.12.0
45Requires: hicolor-icon-theme
46# sr@Latn vs. sr@latin
47Conflicts: glibc-misc < 6:2.7
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
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
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.
61
62%prep
63%setup -q
64%patch0 -p1
65
66sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
67mv -f po/sr@{Latn,latin}.po
68
69%build
70%{__gnome_doc_common}
71%{__intltoolize}
72%{__libtoolize}
73%{__aclocal}
74%{__autoheader}
75%{__automake}
76%{__autoconf}
77%configure \
78 --disable-scrollkeeper \
79 --disable-schemas-install
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88rm -f $RPM_BUILD_ROOT%{_libdir}/libgthumb.{a,la}
89rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.{a,la}
90rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
91
92%find_lang %{name} --with-gnome --with-omf --all-name
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post
98%gconf_schema_install gthumb.schemas
99%scrollkeeper_update_post
100%update_desktop_database_post
101%update_icon_cache hicolor
102
103%preun
104%gconf_schema_uninstall gthumb.schemas
105
106%postun
107%scrollkeeper_update_postun
108%update_desktop_database_postun
109%update_icon_cache hicolor
110
111%files -f %{name}.lang
112%defattr(644,root,root,755)
113%doc AUTHORS ChangeLog NEWS README
114%attr(755,root,root) %{_bindir}/*
115%attr(755,root,root) %{_libdir}/libgthumb.so
116%{_libdir}/bonobo/servers/*.server
117%dir %{_libdir}/%{name}
118%dir %{_libdir}/%{name}/modules
119%attr(755,root,root) %{_libdir}/%{name}/modules/*.so
120%{_datadir}/%{name}
121%{_mandir}/man1/%{name}.1*
122%{_sysconfdir}/gconf/schemas/gthumb.schemas
123%{_iconsdir}/hicolor/*/apps/*.png
124%{_desktopdir}/%{name}.desktop
This page took 0.034687 seconds and 4 git commands to generate.