Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
kde3-gwenview
kde3-gwenview.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kde3-gwenview.spec of Package kde3-gwenview
# # spec file for package kde3-gwenview (Version 1.4.2) # # Copyright (c) 2009 SUSE LINUX Products 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: kde3-gwenview %define _mandir /opt/kde3/share/man BuildRequires: kdelibs3-devel libexiv2-devel libkipi0-devel %if %suse_version < 1230 BuildRequires: libpng14-compat-devel %else %if %suse_version > 1230 BuildRequires: libpng16-compat-devel %else BuildRequires: libpng15-compat-devel %endif %endif Url: http://gwenview.sourceforge.net/home/ License: GPL-2.0-or-later Group: Productivity/Graphics/Viewers Summary: Simple Image Viewer for KDE Version: 1.4.2 Release: 132 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: gwenview-%{version}.tar.bz2 Source1: gwenview-i18n-%version.tar.bz2 #Patch: 1_3_BRANCH.diff Patch1: gwenview-media.diff Patch2: no-icontextright.diff Patch3: gwenview-gimp.diff Patch4: exiv2-018.diff Patch5: gwenview-libpng-14.patch Patch6: gwenview-1.4.2-alt-libpng15.patch Patch7: gwenview-exiv2-anyerror.patch Patch8: gwenview-libexiv-2.8.patch Recommends: kde3-kipi-plugins Recommends: kde3-gwenview-lang = %{version} Provides: gwenview = 1.4.2 Obsoletes: gwenview < 1.4.2 %description Gwenview is a simple image viewer for KDE. It features a folder tree window and a file list window, providing easy navigation of your file hierarchy. %lang_package %prep %setup -q -b 1 -n gwenview-%{version} %patch -P 1 -p1 %patch -P 2 %patch -P 3 %patch -P 4 %if %suse_version < 1230 %patch -P 5 %else %patch -P 6 -p2 %endif %if ( %suse_version >= 1550 || 0%{?sle_version} >= 150500 ) && %suse_version < 1699 %patch -P 7 -p1 %endif %if %suse_version > 1600 %patch -P 8 -p1 %endif cd src #%patch cd .. . /etc/opt/kde3/common_options update_admin cd ../gwenview-i18n-%version update_admin %build . /etc/opt/kde3/common_options %if %suse_version > 1600 export CXXFLAGS="-std=c++11" %endif %if %suse_version >= 1550 || 0%{?sle_version} >= 150500 # it's because -fno-exception causes build error kde_cv_prog_cxx_fno_exceptions=no \ %endif ./configure $configkde \ --enable-kipi \ --disable-final make %{?jobs:-j %jobs} cd ../gwenview-i18n-%version ./configure $configkde make %install . /etc/opt/kde3/common_options make DESTDIR=${RPM_BUILD_ROOT} $INSTALL_TARGET cd ../gwenview-i18n-%version make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET cd - %suse_update_desktop_file gwenview RasterGraphics Viewer kde_post_install %find_lang gwenview --all-name %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files lang -f gwenview.lang %defattr(-,root,root) %dir /opt/kde3/share/locale/fa %dir /opt/kde3/share/locale/fa/LC_MESSAGES %dir /opt/kde3/share/locale/fo %dir /opt/kde3/share/locale/fo/LC_MESSAGES %dir /opt/kde3/share/locale/nso %dir /opt/kde3/share/locale/nso/LC_MESSAGES %dir /opt/kde3/share/locale/ven %dir /opt/kde3/share/locale/ven/LC_MESSAGES %dir /opt/kde3/share/locale/az %dir /opt/kde3/share/locale/az/LC_MESSAGES %dir /opt/kde3/share/locale/cy %dir /opt/kde3/share/locale/cy/LC_MESSAGES %dir /opt/kde3/share/locale/ms %dir /opt/kde3/share/locale/ms/LC_MESSAGES %dir /opt/kde3/share/locale/rw %dir /opt/kde3/share/locale/rw/LC_MESSAGES %dir /opt/kde3/share/locale/xh %dir /opt/kde3/share/locale/xh/LC_MESSAGES %dir /opt/kde3/share/locale/zu %dir /opt/kde3/share/locale/zu/LC_MESSAGES %files %defattr(-,root,root) /opt/kde3/bin/gwenview /opt/kde3/share/applications/kde/gwenview.desktop /opt/kde3/share/apps/* /opt/kde3/share/icons/* /opt/kde3/share/config.kcfg/fileoperationconfig.kcfg /opt/kde3/share/config.kcfg/fileviewconfig.kcfg /opt/kde3/share/config.kcfg/fullscreenconfig.kcfg /opt/kde3/share/config.kcfg/gvdirpartconfig.kcfg /opt/kde3/share/config.kcfg/imageviewconfig.kcfg /opt/kde3/share/config.kcfg/miscconfig.kcfg /opt/kde3/share/config.kcfg/slideshowconfig.kcfg /opt/kde3/%_lib/kde3/* /opt/kde3/%_lib/libgwenviewcore.* /opt/kde3/%_lib/libkdeinit_gwenview.* /opt/kde3/share/services/* %_mandir/man*/*
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