]>
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 |
ca9819ba | 4 | Version: 2.14.2 |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7fc3dff0 | 7 | Group: X11/Applications/Graphics |
ca9819ba | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gthumb/2.14/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 449b5487436192835f74972a367d9155 | |
7fc3dff0 | 10 | URL: http://gthumb.sourceforge.net/ |
d07398df | 11 | BuildRequires: GConf2-devel >= 2.20.0 |
9b81769a MB |
12 | BuildRequires: autoconf >= 2.63 |
13 | BuildRequires: automake >= 1:1.9 | |
14 | BuildRequires: bison | |
15 | BuildRequires: brasero-devel >= 2.28.0 | |
16 | BuildRequires: clutter-devel >= 1.0.0 | |
17 | BuildRequires: clutter-gtk-devel >= 0.10.0 | |
1827c88c | 18 | BuildRequires: docbook-dtd412-xml |
9b81769a MB |
19 | BuildRequires: exiv2-devel >= 0.18 |
20 | BuildRequires: flex | |
d07398df MB |
21 | BuildRequires: gettext-devel |
22 | BuildRequires: gnome-common >= 2.20.0 | |
23 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
9b81769a MB |
24 | BuildRequires: gstreamer-devel >= 0.10.0 |
25 | BuildRequires: gtk+2-devel >= 2:2.20.0 | |
275380a9 | 26 | BuildRequires: intltool >= 0.35.5 |
9b81769a | 27 | BuildRequires: libgnome-keyring-devel >= 2.28.0 |
09b1ed73 | 28 | BuildRequires: libjpeg-devel |
9b81769a | 29 | BuildRequires: libopenraw-devel >= 0.0.8 |
7fc3dff0 | 30 | BuildRequires: libpng-devel |
9b81769a | 31 | BuildRequires: libsoup-gnome-devel >= 2.26.0 |
09b1ed73 | 32 | BuildRequires: libtiff-devel |
ada83f8c | 33 | BuildRequires: libtool |
9b81769a | 34 | BuildRequires: libunique-devel >= 1.1.2 |
d07398df MB |
35 | BuildRequires: pkgconfig |
36 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
cb070309 | 37 | BuildRequires: rpmbuild(macros) >= 1.311 |
5fbcd719 | 38 | BuildRequires: scrollkeeper |
cc758081 | 39 | BuildRequires: sed >= 4.0 |
ca9819ba | 40 | BuildRequires: tar >= 1:1.22 |
d07398df | 41 | BuildRequires: xorg-lib-libXxf86vm-devel |
ca9819ba | 42 | BuildRequires: xz >= 1:4.999.7 |
3ea5e0b2 | 43 | Requires(post,postun): desktop-file-utils |
2e2c53c2 AF |
44 | Requires(post,postun): gtk-update-icon-cache |
45 | Requires(post,postun): hicolor-icon-theme | |
ed3cbca6 | 46 | Requires(post,postun): scrollkeeper |
157f6652 | 47 | Requires(post,preun): GConf2 |
9b81769a | 48 | Requires: gtk+2 >= 2:2.20.0 |
5b6ddccb | 49 | Requires: hicolor-icon-theme |
f9c39d53 | 50 | # sr@Latn vs. sr@latin |
51 | Conflicts: glibc-misc < 6:2.7 | |
7fc3dff0 JB |
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
53 | ||
3a8800a3 GS |
54 | %description |
55 | gThumb lets you browse your hard disk, showing you thumbnails of image | |
56 | files. It also lets you view single files (including GIF animations), | |
57 | add comments to images, organize images in catalogs, print images, | |
58 | view slideshows, set your desktop background, and more. | |
59 | ||
bb16ce35 JR |
60 | %description -l pl.UTF-8 |
61 | gThumb pozwala na przeglądanie twardego dysku z pokazywaniem | |
62 | miniaturek plików z obrazkami. Pozwala także oglądać pojedyncze pliki | |
63 | (w tym animacje GIF), dodawać komentarze do obrazków, układać obrazki | |
64 | w katalogi, drukować obrazki, oglądać slajdy, ustawiać tło biurka itd. | |
7fc3dff0 | 65 | |
9b81769a MB |
66 | %package devel |
67 | Summary: gThumb development files | |
68 | Summary(pl.UTF-8): Pliki programistyczne gThumb | |
69 | Group: X11/Development/Libraries | |
70 | Requires: gtk+2-devel >= 2:2.20.0 | |
71 | ||
72 | %description devel | |
73 | This package provides header files for developing gThumb extensions. | |
74 | ||
75 | %description devel -l pl.UTF-8 | |
76 | Ten pakiet dostarcza pliki nagłówkowe potrzebne do rozwijania | |
77 | rozszerzeń gThumb. | |
78 | ||
3a8800a3 GS |
79 | %prep |
80 | %setup -q | |
81 | ||
d07398df MB |
82 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS |
83 | mv -f po/sr@{Latn,latin}.po | |
84 | ||
3a8800a3 | 85 | %build |
5b6ddccb | 86 | %{__gnome_doc_common} |
ad0279de | 87 | %{__intltoolize} |
db119e4a | 88 | %{__libtoolize} |
9b81769a | 89 | %{__aclocal} -I m4 |
db119e4a | 90 | %{__autoheader} |
91 | %{__automake} | |
92 | %{__autoconf} | |
631d1b2e | 93 | %configure \ |
d354c6dc | 94 | --disable-scrollkeeper \ |
9b81769a MB |
95 | --disable-schemas-install \ |
96 | --disable-silent-rules \ | |
97 | --enable-openraw | |
3a8800a3 GS |
98 | %{__make} |
99 | ||
100 | %install | |
101 | rm -rf $RPM_BUILD_ROOT | |
b4176fef | 102 | |
ac5ba020 | 103 | %{__make} install \ |
f9fe5d23 | 104 | DESTDIR=$RPM_BUILD_ROOT |
631d1b2e | 105 | |
9b81769a | 106 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/*.{a,la} |
ed3cbca6 | 107 | |
d07398df | 108 | %find_lang %{name} --with-gnome --with-omf --all-name |
7fc3dff0 | 109 | |
3a8800a3 GS |
110 | %clean |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | ||
631d1b2e | 113 | %post |
3ea5e0b2 | 114 | %gconf_schema_install gthumb.schemas |
ca102025 | 115 | %gconf_schema_install gthumb_change_date.schemas |
9b81769a | 116 | %gconf_schema_install gthumb-comments.schemas |
ca102025 | 117 | %gconf_schema_install gthumb_contact_sheet.schemas |
118 | %gconf_schema_install gthumb-facebook.schemas | |
119 | %gconf_schema_install gthumb-file-manager.schemas | |
9b81769a MB |
120 | %gconf_schema_install gthumb-gstreamer.schemas |
121 | %gconf_schema_install gthumb-image-viewer.schemas | |
122 | %gconf_schema_install gthumb-importer.schemas | |
123 | %gconf_schema_install gthumb-picasaweb.schemas | |
124 | %gconf_schema_install gthumb-pixbuf-savers.schemas | |
125 | %gconf_schema_install gthumb-slideshow.schemas | |
126 | %gconf_schema_install gthumb_convert_format.schemas | |
127 | %gconf_schema_install gthumb_crop_options.schemas | |
128 | %gconf_schema_install gthumb_image_print.schemas | |
129 | %gconf_schema_install gthumb_photo_importer.schemas | |
130 | %gconf_schema_install gthumb_rename_series.schemas | |
131 | %gconf_schema_install gthumb_resize_images.schemas | |
132 | %gconf_schema_install gthumb_resize_options.schemas | |
ca102025 | 133 | %gconf_schema_install gthumb_rotate_options.schemas |
9b81769a | 134 | %gconf_schema_install gthumb_webalbums.schemas |
3ea5e0b2 | 135 | %scrollkeeper_update_post |
136 | %update_desktop_database_post | |
cb070309 | 137 | %update_icon_cache hicolor |
1a17489c | 138 | |
3ea5e0b2 | 139 | %preun |
140 | %gconf_schema_uninstall gthumb.schemas | |
ca102025 | 141 | %gconf_schema_uninstall gthumb_change_date.schemas |
9b81769a | 142 | %gconf_schema_uninstall gthumb-comments.schemas |
ca102025 | 143 | %gconf_schema_uninstall gthumb_contact_sheet.schemas |
144 | %gconf_schema_uninstall gthumb-facebook.schemas | |
145 | %gconf_schema_uninstall gthumb-file-manager.schemas | |
9b81769a MB |
146 | %gconf_schema_uninstall gthumb-gstreamer.schemas |
147 | %gconf_schema_uninstall gthumb-image-viewer.schemas | |
148 | %gconf_schema_uninstall gthumb-importer.schemas | |
149 | %gconf_schema_uninstall gthumb-picasaweb.schemas | |
150 | %gconf_schema_uninstall gthumb-pixbuf-savers.schemas | |
151 | %gconf_schema_uninstall gthumb-slideshow.schemas | |
152 | %gconf_schema_uninstall gthumb_convert_format.schemas | |
153 | %gconf_schema_uninstall gthumb_crop_options.schemas | |
154 | %gconf_schema_uninstall gthumb_image_print.schemas | |
155 | %gconf_schema_uninstall gthumb_photo_importer.schemas | |
156 | %gconf_schema_uninstall gthumb_rename_series.schemas | |
157 | %gconf_schema_uninstall gthumb_resize_images.schemas | |
158 | %gconf_schema_uninstall gthumb_resize_options.schemas | |
ca102025 | 159 | %gconf_schema_uninstall gthumb_rotate_options.schemas |
9b81769a | 160 | %gconf_schema_uninstall gthumb_webalbums.schemas |
631d1b2e | 161 | |
ed3cbca6 | 162 | %postun |
3ea5e0b2 | 163 | %scrollkeeper_update_postun |
164 | %update_desktop_database_postun | |
cb070309 | 165 | %update_icon_cache hicolor |
ac5ba020 | 166 | |
7fc3dff0 | 167 | %files -f %{name}.lang |
3a8800a3 | 168 | %defattr(644,root,root,755) |
a9f5f352 | 169 | %doc AUTHORS ChangeLog NEWS README |
a16a5867 | 170 | %attr(755,root,root) %{_bindir}/* |
ed3cbca6 | 171 | %dir %{_libdir}/%{name} |
9b81769a MB |
172 | %dir %{_libdir}/%{name}/extensions |
173 | %attr(755,root,root) %{_libdir}/%{name}/extensions/*.so | |
174 | %{_libdir}/%{name}/extensions/*.extension | |
a16a5867 | 175 | %{_datadir}/%{name} |
d07398df | 176 | %{_sysconfdir}/gconf/schemas/gthumb.schemas |
ca102025 | 177 | %{_sysconfdir}/gconf/schemas/gthumb_change_date.schemas |
178 | %{_sysconfdir}/gconf/schemas/gthumb_contact_sheet.schemas | |
9b81769a | 179 | %{_sysconfdir}/gconf/schemas/gthumb-comments.schemas |
ca102025 | 180 | %{_sysconfdir}/gconf/schemas/gthumb-facebook.schemas |
181 | %{_sysconfdir}/gconf/schemas/gthumb-file-manager.schemas | |
9b81769a MB |
182 | %{_sysconfdir}/gconf/schemas/gthumb-gstreamer.schemas |
183 | %{_sysconfdir}/gconf/schemas/gthumb-image-viewer.schemas | |
184 | %{_sysconfdir}/gconf/schemas/gthumb-importer.schemas | |
185 | %{_sysconfdir}/gconf/schemas/gthumb-picasaweb.schemas | |
186 | %{_sysconfdir}/gconf/schemas/gthumb-pixbuf-savers.schemas | |
187 | %{_sysconfdir}/gconf/schemas/gthumb-slideshow.schemas | |
188 | %{_sysconfdir}/gconf/schemas/gthumb_convert_format.schemas | |
189 | %{_sysconfdir}/gconf/schemas/gthumb_crop_options.schemas | |
190 | %{_sysconfdir}/gconf/schemas/gthumb_image_print.schemas | |
191 | %{_sysconfdir}/gconf/schemas/gthumb_photo_importer.schemas | |
192 | %{_sysconfdir}/gconf/schemas/gthumb_rename_series.schemas | |
193 | %{_sysconfdir}/gconf/schemas/gthumb_resize_images.schemas | |
194 | %{_sysconfdir}/gconf/schemas/gthumb_resize_options.schemas | |
ca102025 | 195 | %{_sysconfdir}/gconf/schemas/gthumb_rotate_options.schemas |
9b81769a | 196 | %{_sysconfdir}/gconf/schemas/gthumb_webalbums.schemas |
5b6ddccb | 197 | %{_iconsdir}/hicolor/*/apps/*.png |
9b81769a MB |
198 | %{_iconsdir}/hicolor/*/apps/*.svg |
199 | %{_desktopdir}/gthumb.desktop | |
200 | %{_desktopdir}/gthumb-import.desktop | |
201 | ||
202 | %files devel | |
203 | %defattr(644,root,root,755) | |
204 | %{_aclocaldir}/gthumb.m4 | |
205 | %{_includedir}/gthumb-* | |
206 | %{_pkgconfigdir}/gthumb-*.pc |