Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
libgravatar
libgravatar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgravatar.spec of Package libgravatar
# # spec file for package libgravatar # # 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/ # %bcond_without lang Name: libgravatar Version: 17.12.3 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Library to download and display gravatars License: GPL-2.0-only AND LGPL-2.1-or-later Group: System/Libraries Url: http://www.kde.org Source0: %{name}-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: kconfig-devel BuildRequires: kf5-filesystem BuildRequires: ki18n-devel BuildRequires: kwidgetsaddons-devel BuildRequires: pimcommon-devel >= %{_kapp_version} BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Network) >= 5.6.0 BuildRequires: pkgconfig(Qt5Test) >= 5.6.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.6.0 # It can only build on the same platforms as Qt Webengine ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64 %if %{with lang} Recommends: %{name}-lang %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains the debug categories for the libgravatar library. %if %{with lang} %lang_package %endif %prep %setup -q %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %if %{with lang} %find_lang %{name} --with-man --all-name %endif %package -n libKF5Gravatar5 Summary: Libgravatar library for kdepim License: LGPL-2.1-or-later Group: System/Libraries Requires: %{name} %description -n libKF5Gravatar5 libgravatar adds support for downloading and displaying gravatars in applications. %post -n libKF5Gravatar5 -p /sbin/ldconfig %postun -n libKF5Gravatar5 -p /sbin/ldconfig %package devel Summary: Development package for libgravatar License: LGPL-2.1-or-later Group: Development/Libraries/KDE Requires: libKF5Gravatar5 = %{version} %description devel The development package for the libgravatar library %files devel %defattr(-,root,root) %doc COPYING* %{_kf5_cmakedir}/KF5Gravatar/ %{_kf5_includedir}/Gravatar/ %{_kf5_includedir}/gravatar/ %{_kf5_includedir}/gravatar_version.h %{_kf5_libdir}/libKF5Gravatar.so %{_kf5_mkspecsdir}/qt_Gravatar.pri %files %defattr(-,root,root) %doc COPYING* %config %{_kf5_configdir}/libgravatar.categories %config %{_kf5_configdir}/libgravatar.renamecategories %files -n libKF5Gravatar5 %defattr(-,root,root) %doc COPYING* %{_libdir}/libKF5Gravatar.so.* %if %{with lang} %files lang -f %{name}.lang %doc COPYING* %endif %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