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