]>
Commit | Line | Data |
---|---|---|
1 | Summary: An image viewer and browser for GNOME | |
2 | Summary(pl.UTF-8): Przeglądarka obrazków dla GNOME | |
3 | Name: gthumb | |
4 | Version: 2.14.2 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Graphics | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gthumb/2.14/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 449b5487436192835f74972a367d9155 | |
10 | URL: http://gthumb.sourceforge.net/ | |
11 | BuildRequires: GConf2-devel >= 2.20.0 | |
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 | |
18 | BuildRequires: docbook-dtd412-xml | |
19 | BuildRequires: exiv2-devel >= 0.18 | |
20 | BuildRequires: flex | |
21 | BuildRequires: gettext-devel | |
22 | BuildRequires: gnome-common >= 2.20.0 | |
23 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
24 | BuildRequires: gstreamer-devel >= 0.10.0 | |
25 | BuildRequires: gtk+2-devel >= 2:2.20.0 | |
26 | BuildRequires: intltool >= 0.35.5 | |
27 | BuildRequires: libgnome-keyring-devel >= 2.28.0 | |
28 | BuildRequires: libjpeg-devel | |
29 | BuildRequires: libopenraw-devel >= 0.0.8 | |
30 | BuildRequires: libpng-devel | |
31 | BuildRequires: libsoup-gnome-devel >= 2.26.0 | |
32 | BuildRequires: libtiff-devel | |
33 | BuildRequires: libtool | |
34 | BuildRequires: libunique-devel >= 1.1.2 | |
35 | BuildRequires: pkgconfig | |
36 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
37 | BuildRequires: rpmbuild(macros) >= 1.311 | |
38 | BuildRequires: scrollkeeper | |
39 | BuildRequires: sed >= 4.0 | |
40 | BuildRequires: tar >= 1:1.22 | |
41 | BuildRequires: xorg-lib-libXxf86vm-devel | |
42 | BuildRequires: xz >= 1:4.999.7 | |
43 | Requires(post,postun): desktop-file-utils | |
44 | Requires(post,postun): gtk-update-icon-cache | |
45 | Requires(post,postun): hicolor-icon-theme | |
46 | Requires(post,postun): scrollkeeper | |
47 | Requires(post,preun): GConf2 | |
48 | Requires: gtk+2 >= 2:2.20.0 | |
49 | Requires: hicolor-icon-theme | |
50 | # sr@Latn vs. sr@latin | |
51 | Conflicts: glibc-misc < 6:2.7 | |
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
53 | ||
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 | ||
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. | |
65 | ||
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 | ||
79 | %prep | |
80 | %setup -q | |
81 | ||
82 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS | |
83 | mv -f po/sr@{Latn,latin}.po | |
84 | ||
85 | %build | |
86 | %{__gnome_doc_common} | |
87 | %{__intltoolize} | |
88 | %{__libtoolize} | |
89 | %{__aclocal} -I m4 | |
90 | %{__autoheader} | |
91 | %{__automake} | |
92 | %{__autoconf} | |
93 | %configure \ | |
94 | --disable-scrollkeeper \ | |
95 | --disable-schemas-install \ | |
96 | --disable-silent-rules \ | |
97 | --enable-openraw | |
98 | %{__make} | |
99 | ||
100 | %install | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %{__make} install \ | |
104 | DESTDIR=$RPM_BUILD_ROOT | |
105 | ||
106 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/*.{a,la} | |
107 | ||
108 | %find_lang %{name} --with-gnome --with-omf --all-name | |
109 | ||
110 | %clean | |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | ||
113 | %post | |
114 | %gconf_schema_install gthumb.schemas | |
115 | %gconf_schema_install gthumb_change_date.schemas | |
116 | %gconf_schema_install gthumb-comments.schemas | |
117 | %gconf_schema_install gthumb_contact_sheet.schemas | |
118 | %gconf_schema_install gthumb-facebook.schemas | |
119 | %gconf_schema_install gthumb-file-manager.schemas | |
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 | |
133 | %gconf_schema_install gthumb_rotate_options.schemas | |
134 | %gconf_schema_install gthumb_webalbums.schemas | |
135 | %scrollkeeper_update_post | |
136 | %update_desktop_database_post | |
137 | %update_icon_cache hicolor | |
138 | ||
139 | %preun | |
140 | %gconf_schema_uninstall gthumb.schemas | |
141 | %gconf_schema_uninstall gthumb_change_date.schemas | |
142 | %gconf_schema_uninstall gthumb-comments.schemas | |
143 | %gconf_schema_uninstall gthumb_contact_sheet.schemas | |
144 | %gconf_schema_uninstall gthumb-facebook.schemas | |
145 | %gconf_schema_uninstall gthumb-file-manager.schemas | |
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 | |
159 | %gconf_schema_uninstall gthumb_rotate_options.schemas | |
160 | %gconf_schema_uninstall gthumb_webalbums.schemas | |
161 | ||
162 | %postun | |
163 | %scrollkeeper_update_postun | |
164 | %update_desktop_database_postun | |
165 | %update_icon_cache hicolor | |
166 | ||
167 | %files -f %{name}.lang | |
168 | %defattr(644,root,root,755) | |
169 | %doc AUTHORS ChangeLog NEWS README | |
170 | %attr(755,root,root) %{_bindir}/* | |
171 | %dir %{_libdir}/%{name} | |
172 | %dir %{_libdir}/%{name}/extensions | |
173 | %attr(755,root,root) %{_libdir}/%{name}/extensions/*.so | |
174 | %{_libdir}/%{name}/extensions/*.extension | |
175 | %{_datadir}/%{name} | |
176 | %{_sysconfdir}/gconf/schemas/gthumb.schemas | |
177 | %{_sysconfdir}/gconf/schemas/gthumb_change_date.schemas | |
178 | %{_sysconfdir}/gconf/schemas/gthumb_contact_sheet.schemas | |
179 | %{_sysconfdir}/gconf/schemas/gthumb-comments.schemas | |
180 | %{_sysconfdir}/gconf/schemas/gthumb-facebook.schemas | |
181 | %{_sysconfdir}/gconf/schemas/gthumb-file-manager.schemas | |
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 | |
195 | %{_sysconfdir}/gconf/schemas/gthumb_rotate_options.schemas | |
196 | %{_sysconfdir}/gconf/schemas/gthumb_webalbums.schemas | |
197 | %{_iconsdir}/hicolor/*/apps/*.png | |
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 |