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