]>
Commit | Line | Data |
---|---|---|
7fc3dff0 | 1 | Summary: An image viewer and browser for GNOME |
1531ab64 | 2 | Summary(pl.UTF-8): Przeglądarka obrazków dla GNOME |
3a8800a3 | 3 | Name: gthumb |
72deb896 | 4 | Version: 3.0.2 |
7780d43f | 5 | Release: 2 |
ca9819ba | 6 | License: GPL v2+ |
7fc3dff0 | 7 | Group: X11/Applications/Graphics |
c86b5518 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gthumb/3.0/%{name}-%{version}.tar.xz |
72deb896 | 9 | # Source0-md5: 79d128537a19946e6cee8850e8d72abf |
7fc3dff0 | 10 | URL: http://gthumb.sourceforge.net/ |
9b81769a | 11 | BuildRequires: autoconf >= 2.63 |
c86b5518 | 12 | BuildRequires: automake >= 1:1.11 |
9b81769a | 13 | BuildRequires: bison |
c86b5518 | 14 | BuildRequires: brasero-devel >= 3.2.0 |
9b81769a | 15 | BuildRequires: clutter-devel >= 1.0.0 |
c86b5518 | 16 | BuildRequires: clutter-gtk-devel >= 1.0.0 |
1827c88c | 17 | BuildRequires: docbook-dtd412-xml |
c86b5518 | 18 | BuildRequires: exiv2-devel >= 0.21 |
9b81769a | 19 | BuildRequires: flex |
d07398df | 20 | BuildRequires: gettext-devel |
c86b5518 | 21 | BuildRequires: glib2-devel >= 1:2.28.0 |
d07398df MB |
22 | BuildRequires: gnome-common >= 2.20.0 |
23 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
c86b5518 | 24 | BuildRequires: gsettings-desktop-schemas-devel |
9b81769a | 25 | BuildRequires: gstreamer-devel >= 0.10.0 |
c86b5518 | 26 | BuildRequires: gtk+3-devel >= 3.2.0 |
275380a9 | 27 | BuildRequires: intltool >= 0.35.5 |
c86b5518 MB |
28 | BuildRequires: libchamplain-devel >= 0.12 |
29 | BuildRequires: libgnome-keyring-devel >= 3.2.0 | |
09b1ed73 | 30 | BuildRequires: libjpeg-devel |
9b81769a | 31 | BuildRequires: libopenraw-devel >= 0.0.8 |
7fc3dff0 | 32 | BuildRequires: libpng-devel |
c86b5518 MB |
33 | BuildRequires: librsvg-devel >= 2.34.0 |
34 | BuildRequires: libsoup-gnome-devel >= 2.36.0 | |
09b1ed73 | 35 | BuildRequires: libtiff-devel |
ada83f8c | 36 | BuildRequires: libtool |
d07398df MB |
37 | BuildRequires: pkgconfig |
38 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
cb070309 | 39 | BuildRequires: rpmbuild(macros) >= 1.311 |
cc758081 | 40 | BuildRequires: sed >= 4.0 |
ca9819ba | 41 | BuildRequires: tar >= 1:1.22 |
ca9819ba | 42 | BuildRequires: xz >= 1:4.999.7 |
c86b5518 | 43 | BuildRequires: zlib-devel |
3ea5e0b2 | 44 | Requires(post,postun): desktop-file-utils |
c86b5518 | 45 | Requires(post,postun): glib2 >= 1:2.26.0 |
2e2c53c2 AF |
46 | Requires(post,postun): gtk-update-icon-cache |
47 | Requires(post,postun): hicolor-icon-theme | |
c86b5518 MB |
48 | Requires: gsettings-desktop-schemas |
49 | Requires: gtk+3 >= 3.2.0 | |
5b6ddccb | 50 | Requires: hicolor-icon-theme |
f9c39d53 | 51 | # sr@Latn vs. sr@latin |
52 | Conflicts: glibc-misc < 6:2.7 | |
7fc3dff0 JB |
53 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
54 | ||
3a8800a3 GS |
55 | %description |
56 | gThumb lets you browse your hard disk, showing you thumbnails of image | |
57 | files. It also lets you view single files (including GIF animations), | |
58 | add comments to images, organize images in catalogs, print images, | |
59 | view slideshows, set your desktop background, and more. | |
60 | ||
bb16ce35 JR |
61 | %description -l pl.UTF-8 |
62 | gThumb pozwala na przeglądanie twardego dysku z pokazywaniem | |
63 | miniaturek plików z obrazkami. Pozwala także oglądać pojedyncze pliki | |
64 | (w tym animacje GIF), dodawać komentarze do obrazków, układać obrazki | |
65 | w katalogi, drukować obrazki, oglądać slajdy, ustawiać tło biurka itd. | |
7fc3dff0 | 66 | |
9b81769a MB |
67 | %package devel |
68 | Summary: gThumb development files | |
69 | Summary(pl.UTF-8): Pliki programistyczne gThumb | |
70 | Group: X11/Development/Libraries | |
c86b5518 | 71 | Requires: gtk+3-devel >= 3.2.0 |
9b81769a MB |
72 | |
73 | %description devel | |
74 | This package provides header files for developing gThumb extensions. | |
75 | ||
76 | %description devel -l pl.UTF-8 | |
77 | Ten pakiet dostarcza pliki nagłówkowe potrzebne do rozwijania | |
78 | rozszerzeń gThumb. | |
79 | ||
3a8800a3 GS |
80 | %prep |
81 | %setup -q | |
82 | ||
d07398df MB |
83 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS |
84 | mv -f po/sr@{Latn,latin}.po | |
85 | ||
3a8800a3 | 86 | %build |
5b6ddccb | 87 | %{__gnome_doc_common} |
ad0279de | 88 | %{__intltoolize} |
db119e4a | 89 | %{__libtoolize} |
9b81769a | 90 | %{__aclocal} -I m4 |
db119e4a | 91 | %{__autoheader} |
92 | %{__automake} | |
93 | %{__autoconf} | |
631d1b2e | 94 | %configure \ |
9b81769a | 95 | --disable-silent-rules \ |
c86b5518 | 96 | --enable-libopenraw |
3a8800a3 GS |
97 | %{__make} |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
b4176fef | 101 | |
ac5ba020 | 102 | %{__make} install \ |
f9fe5d23 | 103 | DESTDIR=$RPM_BUILD_ROOT |
631d1b2e | 104 | |
9b81769a | 105 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/*.{a,la} |
ed3cbca6 | 106 | |
c86b5518 | 107 | %find_lang %{name} --with-gnome --all-name |
7fc3dff0 | 108 | |
3a8800a3 GS |
109 | %clean |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
631d1b2e | 112 | %post |
c86b5518 | 113 | %glib_compile_schemas |
3ea5e0b2 | 114 | %update_desktop_database_post |
cb070309 | 115 | %update_icon_cache hicolor |
1a17489c | 116 | |
ed3cbca6 | 117 | %postun |
c86b5518 | 118 | %glib_compile_schemas |
3ea5e0b2 | 119 | %update_desktop_database_postun |
cb070309 | 120 | %update_icon_cache hicolor |
ac5ba020 | 121 | |
7fc3dff0 | 122 | %files -f %{name}.lang |
3a8800a3 | 123 | %defattr(644,root,root,755) |
a9f5f352 | 124 | %doc AUTHORS ChangeLog NEWS README |
a16a5867 | 125 | %attr(755,root,root) %{_bindir}/* |
ed3cbca6 | 126 | %dir %{_libdir}/%{name} |
9b81769a MB |
127 | %dir %{_libdir}/%{name}/extensions |
128 | %attr(755,root,root) %{_libdir}/%{name}/extensions/*.so | |
129 | %{_libdir}/%{name}/extensions/*.extension | |
a16a5867 | 130 | %{_datadir}/%{name} |
c86b5518 MB |
131 | %{_datadir}/GConf/gsettings/gthumb.convert |
132 | %{_datadir}/glib-2.0/schemas/*.gschema.xml | |
133 | %{_datadir}/glib-2.0/schemas/*.enums.xml | |
5b6ddccb | 134 | %{_iconsdir}/hicolor/*/apps/*.png |
9b81769a MB |
135 | %{_iconsdir}/hicolor/*/apps/*.svg |
136 | %{_desktopdir}/gthumb.desktop | |
137 | %{_desktopdir}/gthumb-import.desktop | |
c86b5518 | 138 | %{_mandir}/man1/gthumb.1* |
9b81769a MB |
139 | |
140 | %files devel | |
141 | %defattr(644,root,root,755) | |
142 | %{_aclocaldir}/gthumb.m4 | |
143 | %{_includedir}/gthumb-* | |
144 | %{_pkgconfigdir}/gthumb-*.pc |