Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
gthumb
gthumb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gthumb.spec of Package gthumb
# # spec file for package gthumb # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gthumb Version: 3.6.1 Release: 0 # FIXME: Add libchamplain BuildRequires once the map feature is considered stable. Summary: An Image Viewer and Browser for GNOME License: GPL-2.0-or-later Group: Productivity/Graphics/Viewers URL: https://wiki.gnome.org/Apps/gthumb # PATCH-FIX-UPSTREAM fix_double_free_dlg-contact-sheet_c.patch bsc#1113749 Patch0: fix_double_free_dlg-contact-sheet_c.patch Source: http://download.gnome.org/sources/gthumb/3.6/%{name}-%{version}.tar.xz BuildRequires: bison BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: gnome-doc-utils-devel BuildRequires: intltool >= 0.50.1 BuildRequires: itstool BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: pkgconfig BuildRequires: translation-update-upstream BuildRequires: pkgconfig(clutter-1.0) >= 1.12.0 BuildRequires: pkgconfig(clutter-gtk-1.0) >= 1.0.0 BuildRequires: pkgconfig(colord) >= 1.3 BuildRequires: pkgconfig(exiv2) >= 0.21 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.36.0 BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gstreamer-1.0) >= 1.0.0 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.16 BuildRequires: pkgconfig(json-glib-1.0) >= 0.15.0 BuildRequires: pkgconfig(lcms2) >= 2.6 BuildRequires: pkgconfig(libbrasero-burn3) >= 3.2.0 BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libraw) >= 0.14 BuildRequires: pkgconfig(librsvg-2.0) >= 2.34.0 BuildRequires: pkgconfig(libsecret-1) >= 0.11 BuildRequires: pkgconfig(libsoup-2.4) >= 2.42 BuildRequires: pkgconfig(libwebp) >= 0.2.0 BuildRequires: pkgconfig(zlib) Recommends: %{name}-lang %if 0%{?suse_version} < 1315 BuildRequires: pkgconfig(webkit2gtk-3.0) %else BuildRequires: pkgconfig(webkit2gtk-4.0) %endif %description gThumb lets you browse your hard disk, showing you thumbnails of image files. It also lets you view single files (including GIF animations), add comments to images, organize images in catalogs, print images, view slide shows, set your desktop background, and more. %package devel Summary: An Image Viewer and Browser for GNOME - Development Files Group: Development/Libraries/GNOME Requires: %{name} = %{version} %description devel gThumb lets you browse your hard disk, showing you thumbnails of image files. It also lets you view single files (including GIF animations), add comments to images, organize images in catalogs, print images, view slide shows, set your desktop background, and more. %lang_package %prep %autosetup -p1 translation-update-upstream %build %if 0%{?suse_version} == 1315 export CFLAGS="-fPIE %{optflags} -std=gnu99" export CXXFLAGS="%{optflags} -std=gnu99" export LDFLAGS="-pie" %else export CFLAGS="-fPIE %{optflags}" export CXXFLAGS="-fPIE %{optflags}" export LDFLAGS="-pie" %endif %configure\ --disable-static \ --enable-libraw make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot}%{_datadir} %files %license COPYING %doc AUTHORS NEWS README %doc %{_datadir}/help/C/%{name}/ %{_bindir}/gthumb %{_libdir}/gthumb/ %dir %{_datadir}/appdata/ %{_datadir}/appdata/org.gnome.gThumb.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/gthumb.png %{_datadir}/icons/hicolor/*/apps/gthumb.svg %{_datadir}/icons/hicolor/*/apps/gthumb-symbolic.svg %{_datadir}/gthumb/ %{_datadir}/glib-2.0/schemas/org.gnome.gthumb.*.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.gthumb.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.gthumb.gschema.xml %{_mandir}/man1/gthumb.1%{?ext_man} %files devel %doc ChangeLog MAINTAINERS %{_includedir}/gthumb-3.6/ %{_datadir}/aclocal/gthumb.m4 %{_libdir}/pkgconfig/*.pc %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor